Tagged: shortcode
Shortcode for this plugin doesnt work. Do you know why?
[bp-user-badges slug=’author’]Hi,
Thank you fro using the plugin.
When listing for member type/roles, you will need to specify the context.If you are trying to fetch it for author role, it should be
[bp-user-badges slug='author' context='role' ]
Regards
BrajeshThank you for your quick reply. It worked. However, the template doesn’t fit the theme I’m using: BuddyBoss. As far as I know, they have an integration.
https://www.buddyboss.com/integrations/buddypress-user-badges/Hi,
Thank you for confirming.Yes, the plugin is compatible with BuddyBoss platform. It seems we added the shortcode recently without testing with the platform. Please allow me 24 hours to push an update to make the shortcode compatible with BuddyBoss platform.
Thank you
BrajeshShortcode again doesn’t work…
Update: the reason again it’s because your documentation is misleading. at one point, you say use : slug=’author’ at another poing, slug=”author”. The correct one is with “.
Still not compatible with buddyboss. This is review I get from my members page: https://ibb.co/RQB9Hvy
Your shortcode makes it like this: https://ibb.co/9pXzW6C- This reply was modified 4 years, 3 months ago by Nazlıgül Çınaroğlu.
Hi,
1. Please upgrade to 1.1.8 and it has proper support for BuddyBoss theme
2. slug=”author” is incorrect. It seems WordPress has encoded the quotes. We do not use this encoded quotes. You should use either plain quote(single or double) or no quote at all.
Please link me to the page where you found that encoded entity. I had removed it from our plugin documentation page a few weeks ago.
Thank you
BrajeshI See,
It seems you are referring to this lineslug:- It is required. It is the slug of the badge. For Role/Member types based badge, It is the role name e.g “administrator” or the member type name.
Please see the example below that. We haven’t used any encoded quotes in any of the example and if this sentence has caused issue, I am updating it.
Regards
Brajesh
You must be logged in to reply to this topic.