[Plugin: NextGEN Gallery] Shortcode breaks when I use the_content();
-
I am editing a page via Code view. The Exec-php plugin allows me to write php via the editor. My problem:
The shortcode
[nggallery id=1 template=v6b]
doesn’t get replaced like it should when I call<?php the_content(); ?>
later in the page within aget_posts
query loop. However, the shortcode works fine if I use<?php echo get_the_content(); ?>
in the loop instead.Am I missing some fundamental WP principle as to why the first function breaks NGG and the second works fine?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: NextGEN Gallery] Shortcode breaks when I use the_content();’ is closed to new replies.