Tommy Rufai
Tommy Rufai

Reputation: 21

Shortcodes show up as text on page

For some reason, some of the shortcodes of some of my plugins show up as text on my pages. Could somebody please provide me with possible reasons why this is happening. The main plugins which are causing problems are:

https://wordpress.org/plugins/users-ultra/

wordpress.org/support/plugin/front-end-pm

I have also used the plugins individually, deactivated all of my other plugins one by one and they still show up as text. Any help would be greatly apreciated.

Thanks

Upvotes: 2

Views: 11157

Answers (6)

Jonathan
Jonathan

Reputation: 4689

It will just display as text if the shortcode is not correct. For example, in the Tag Groups plugin, the premium shortcodes will not display anything.

Upvotes: 0

M. Willis
M. Willis

Reputation: 1

@Kristofer is correct if you're looking for a template-based solution, except it needs to be

echo do_shortcode('[shortcode]');

not just

do_shortcode('[shortcode]');

Upvotes: 0

TK811
TK811

Reputation: 1

Cut the shortcode from the "Visual/HTML" tab and pasted in "Text" section then updated Post.

Upvotes: 0

Kristófer
Kristófer

Reputation: 95

This should help you:

do_shortcode('[shortcode]');

Put this in your theme file where you want the widget/what ever it is you want to do to appear.

Upvotes: 1

Kieran Holmes
Kieran Holmes

Reputation: 13

Make sure you are editing in the text tab, and not HTML.

You can go to the HTML Tab and see if its wrapping your shortcodes in

tags, as this has caused problems for me in the past.

Upvotes: 0

Amine Horseman
Amine Horseman

Reputation: 274

I've tested the two plugins in wordpress 4.0 and it works fine.

Did you try to update your wordpress version?

If the problem persists, try to switch to the Twenty Eleven theme to see if it's not a theme-specific problems

Upvotes: 0

Related Questions