WordPress SEO by Yoast
Page doesn't load content (1 post)

  1. mvanboordt
    Posted 2 years ago #


    I use the SEO plugin and it works great.
    For some reason I can't find some of my pages are depending on the plugin. If I update the plugin or diable the plugin the pages don't load their content.

    I can't figure out why.
    Here are the facts:
    - Current version of plugin:
    - Update to: 1.4.7 (not done yet)
    - WP-version: 3.5.1
    - Permalinks set to PostName

    The content of the page contains a title, an image and some content.
    The image is set to the top of the page and holds a ceirtain style element.
    This is the code of the page. As far as I can see nothing special:

    Template Name: Algemene pagina
    <?php get_header(); ?>
        <div id="content_algemeen">
    		<div class="content-img">
    		  <?php  preg_match_all("/(<img[^>]*>)",get_the_content(),$matches,PREG_PATTERN_ORDER);
    		  for( $i=0; isset($matches[1]) && $i < count($matches[1]); $i++ ) {
    			echo $matches[1][$i];}?>
    		<div class="content-text">
    		<h2><?php the_title();?></h2>
    		  $postOutput = preg_replace('/<img[^>]+./','', ob_get_contents());
    		  echo $postOutput;
    <?php get_footer(); ?>

    Hope somebody has an idea.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress SEO by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic