gtsiokos
Forum Replies Created
-
Forum: Plugins
In reply to: [Groups] WP_User_Query by GroupHi jdufell,
You can use this
$is_a_member = false; require_once( ABSPATH . 'wp-includes/pluggable.php' ); if ( $group = Groups_Group::read_by_name( 'Foobar' ) ) { $is_a_member = Groups_User_Group::read( get_current_user_id() , $group->group_id ); }
found in documentation examples, of course you have to modify it to check with each one of the users in your array.
Cheers
Forum: Plugins
In reply to: [Groups] Display a message on front end instead of "page does not exist"?Hi J,
Check Groups 404 Redirect plugin, you can even use your custom page to redirect restricted users to.
Cheers
Forum: Plugins
In reply to: [Groups] Get All Users with CapabilityHi JakePT,
Try using `$group = new Groups_Groups( $group_id );
$users = $group->users;`You can also find other useful examples in https://docs.itthinx.com/document/groups/api/examples/
Cheers
Forum: Plugins
In reply to: [Groups] Groups & Role syncHi bulewold,
Have a look in the documentation page https://docs.itthinx.com/document/groups/api/examples/
There is an example on how to add a user to a group and also a link to Users Auto Group on github.
Cheers
Forum: Plugins
In reply to: [Groups] Resetting page permissions not workingi’m asking you this because i tried with https://www.ads-software.com/plugins/duplicate-post/ and didn’t notice any issues.
Which one are you using?Cheers
Forum: Plugins
In reply to: [Groups] Resetting page permissions not workingHi,
Are you using a plugin to duplicate the page or you are doing it manually?
Cheers
Forum: Plugins
In reply to: [Affiliates] How the shortcodes work?Hi hq-pier,
I noticed also your other post here.
Your other pages ie contact page is working ok?
Did you just in case changed the permalink settings of your site?
Do you by any chance use a plugin for manipulating user permissions and/or restrictions to pages or something similar?
If it’s possible share a link to your site here?Kind regards,
GeorgeForum: Plugins
In reply to: [Affiliates] affiliate link on fbHi,
Can you give an example of screwing up?Kind regards,
GeorgeForum: Plugins
In reply to: [Affiliates] New update conflicts with WordfenceHi tonymharris,
Can you enable logging and share the contents of debug.log when you activate Affiliates plugin?
Cheers
Forum: Themes and Templates
In reply to: [Highwind] Changing the "Continue reading…" text in HighwindYou should put it after the closing
}
and before the closing?>
Forum: Themes and Templates
In reply to: [Highwind] Changing the "Continue reading…" text in HighwindHi pukkascott.
The solution is here
or simply use thisadd_filter( 'the_content_more_link', 'modify_read_more_link' ); function modify_read_more_link() { return '<a class="more-link" href="' . get_permalink() . '">Your Read More Link Text</a>'; }