Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I should maybe clarify a little more… I’ve got a page template that does the following:

    <?php get_header(); ?>
    
            <div id="content">
                    <div>
                    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                    <h1 class="alt"><?php the_title(); ?></h1>
                    <?php the_content(); ?>
    
                    <?php endwhile; endif; ?>
                    </div>
    
                    <p class="top"><a href="/the-route/">Back to map</a></p>                        
    
            </div> <!--/content-->
    
    <?php get_footer(); ?>

    All the short codes that I include in the page content do not get included in the_content(), but instead are all slapped in at the end of that first </div>

    If I put: [flickr-gallery mode=”tag” tags=”Vassar” tag_mode=”all”] into my templated page, the gallery gets added to the bottom.

    If I do <?php echo do_shortcode(‘[flickr-gallery mode=”tag” tags=”Vassar” tag_mode=”all”]’)?> then the text up to the gallery is printed, then the gallery, but then rest of the template/page content isn’t displayed!

Viewing 2 replies - 1 through 2 (of 2 total)