Shortcode doesn't work on Pages, but works in Posts
-
Hey all,
Upgraded to latest wordpress (wordpress 3 of this writing) from wpmu, and I’ve found that my shortcode works fine in posts (including any custom posts created via more fields plugin) but not in pages at all. I’ve done a search on shortcodes not working and found no reason why this would be.
Any ideas?
I’m using a simple shortcode for testing, which works on posts but not on pages. It is reproduced below from my functions.php file:
function hello() { return "hello"; } add_shortcode('hw', 'hello');
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcode doesn't work on Pages, but works in Posts’ is closed to new replies.