Support » Plugin: Yet Another Related Posts Plugin (YARPP) » Related Posts text not showing above thumbnails

  • For some reason, my related posts are missing the text entered in the plugin settings. If I “inspect element” using Chrome, I can see the title in html as: <h3>You may also like:</h3>, but it isn’t visible on the page. I removed the !Important tags from the style.css file for the plugin, but can’t seem to get the h3 text to render. h3 is defined elsewhere in the style guide.

    Any ideas where I should go to fix this? I was trying to find the location of the h3 piece of html to change it to a new heading style, but couldn’t find it anywhere.

    https://wordpress.org/plugins/yet-another-related-posts-plugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jeffparker

    (@jeffparker)

    That h3 tag can be found in the “Display options” panel on the YARPP “Settings” page in WordPress.

    What is your URL?

    The website is http://blog.teamschools.org. It is set to appear only on posts. I set the text in the display settings, but it isn’t showing up on the pages. When I inspect the element, I can see the tag above in the html, but it isn’t rendering on the page. I’m interested in finding where the text and h3 tag is stored so I can modify it outside of WordPress settings.

    Plugin Author jeffparker

    (@jeffparker)

    Your theme seems to have a special h3 setting that is placing the subhead “You may also like:” at the very top of your site.

    Changing the h3 for the thumbnail display is not as easy as for list display. You’ll need to edit the file yet-another-related-posts-plugin/includes/template_thumbnails.php and change the h3 to another tag.

    Alternatively, you can add the following to your theme’s CSS file:

    .yarpp-related h3 {
    	position: relative !important;
    	background-image: none !important;
    	color: #000 !important;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Related Posts text not showing above thumbnails’ is closed to new replies.