WordPress.org

Ready to get started?Download WordPress

Forums

ELI's Related Posts Footer Links and Widget
[resolved] Post links and widget not appearing at al (4 posts)

  1. jflopezd
    Member
    Posted 2 years ago #

    Currently no links are appearing and the widget, which does show up in the widgets menu, does not show anything next to single posts either. I am using the latest versions of WordPress and the plugin (as of 3.12.12).

    Here is my site: http://psychtalkradio.com

    Here is my list of plugins:

    Akismet

    Version 2.5.5 | By Automattic |

    Blubrry PowerPress

    Version 3.0 | By Blubrry |

    ELI's Related Posts Footer Links and Widget

    Version 1.2.02.26 | By Eli Scheetz | | FAQ | Support | Donate

    Google Calendar Events

    Version 0.7.2 | By Ross Hanney |

    Image Widget

    Version 3.3.1 | By Modern Tribe, Inc. |

    Jetpack by WordPress.com

    Version 1.2.2 | By Automattic |

    NextGEN Gallery

    Version 1.9.3 | By Alex Rabe | | Overview | Get help | Contribute | Donate

    Official StatCounter Plugin

    Version 1.6.3 | By Aodhan Cullen |

    Widgets on Pages

    Version 0.0.11 | By Todd Halfpenny |

    WordPress SEO

    Version 1.1.5 | By Joost de Valk |

    WP-PageNavi

    Version 2.82 | By Lester 'GaMerZ' Chan & scribu |

    http://wordpress.org/extend/plugins/spostarbust/

  2. Eli
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for letting me know. I just released an update that I think will fix this issue for you. Please try the new version and let me know if it works for you.

    Aloha, Eli

  3. jflopezd
    Member
    Posted 2 years ago #

    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!

  4. Eli
    Member
    Plugin Author

    Posted 2 years ago #

    if you make a loop like while ( have_posts() ) I think you should have wp_reset_query() after the loop so that any code that follows can use the same loop. I think that is what went wrong. I'm glad you figured it out.

    Could you please vote "works" at the bottom right of this page

    Thanks, Eli

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic