Forum Replies Created

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

    (@jflopezd)

    Eli,

    I updated to version 1.2.03.03 of your plugin with no luck. However, I figured out that the links and widget only failed to appear with my current modified theme. Various other themes I tried, even the original version of my Equilibrium theme, worked.

    Happily, I found the exact code snippet that was causing trouble. I had put this in my header:

    <?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <meta property="og:description" content="<?php the_excerpt_rss(); ?>" />
    <meta name="description" content="<?php the_excerpt_rss(); ?>" />
    <?php endwhile; endif; elseif(is_home()) : ?>
    <meta property="og:description" content="<?php bloginfo('description'); ?>" />
    
    <?php endif; ?>
    
    		<?php wp_head(); ?>
    
    	</head>

    Now that I removed it, the links and widget work as advertised. I don’t know much about php, but I’m guessing you call is_single() in a way that conflicts with putting this code in the header. Luckily I don’t need it because I now have an SEO plugin that handles descriptions. I hope this information is useful!

Viewing 1 replies (of 1 total)