• With the first image I added, the caption worked fine.

    the second post to contain a captioned image didn’t fare as well.

    <div class="single">
    
    		  <?php if (strlen($videocode) > 1 && $videolocation == 'In the middle column') {
    
                if ($videocode && $AE->parseUrl($videocode)) {
                    $AE->setParam('wmode','transparent');
                    $AE->setParam('autoplay','false');
                    $AE->setHeight(370);
                    $AE->setWidth(570);
                    echo'<div class="zoomVideo">';
                    echo $AE->getEmbedCode();
                    echo'</div>';
                    }
                } ?>
    
           		  <h1><?php the_title(); ?></h1>
    
              	  <div class="entry">
    			  <?php include "includes/display_metadata.php"; ?>
    
     			  <?php the_content(); ?>
    
    		  	  </div>
    
    		  	  <br clear=all>
    		  	  <div style="clear:both"></div>
    
              	<?php wp_link_pages(array('before' => '<p class="pages"><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    
            </div><!-- end .single -->
    
            <div class="cleaner">&nbsp;</div>

    Everything else on the site works fine, including galleries, video embeds, etc. I can’t find an open tag or anything. It’s interesting to note that the breakage seems to be placing an auto-generated excerpt from the content into the header.

    I did see a support ticket from 7 days ago where wordpress folk are saying something is up with captions, but not sure if this is related.

Viewing 1 replies (of 1 total)
  • Thread Starter karmatiger

    (@karmatiger)

    I’ve tracked the problem to this line in the header:

    <meta name="description" content="<?php the_excerpt_rss(); ?>" />

    The excerpt of the content plunks itself in there for some reason.

Viewing 1 replies (of 1 total)
  • The topic ‘Caption breaks page’ is closed to new replies.