Featured image hooks into art_pagination
-
At the end of my index where the “Next page” links usually go, the featured image from the last post shows up before the links. I do use a plugin called WP-PageNavi for a different style of displaying the “Next Page” link, however the problem occurs even with it turned off, so it’s not where the problem lies.
I recently changed the way posts are displayed slightly, pulling the featured image right below the post title so I don’t have to add it in every post. For this I just added the first line of the following code in wrappers.php:
<?php the_post_thumbnail(); ?> <div class="art-postcontent"> <!-- article-content --> <?php echo $content; ?> <!-- /article-content -->
Not the worlds biggest problem I figured when I noticed it happened, turns out it was, since I can’t figure out how to fix it. I also planned on leaving the Disqus plug-in for comments, but in the regular comments the featured image of the post is pulled 3 times in the comments section.
So question, is there a better way to add the featured image below the title then what I’ve done?
btw the theme is made with artisteer.
- The topic ‘Featured image hooks into art_pagination’ is closed to new replies.