WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[Plugin: Yet Another Related Posts Plugin] Numbered list before each post like default template (2 posts)

  1. AdamTro
    Member
    Posted 3 years ago #

    I like the look of the default template when the "Automatically display related posts?" box is checked. Although I needed to add the related_posts(); tag to my single.php file to better position where the Related Posts list appears on my pages.

    The default template would display the posts like this:

    1. Post 1
    2. Post 2
    3. Post 3

    and so on. Notice the 1, 2, 3 before each post.

    By turning off the "Automatically display related posts?" (to use the related_posts(); tag) the Related posts are now displayed like this:

    Post 1
    Post 2
    Post 3

    How do I get the numbered list to show up in front of each post line like before?

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    Hmm, it's odd that things are looking different when you choose "automatic display" vs. using the code, related_posts(). That shouldn't be the case. :(

    You should be able to get more control of exactly what code is created, though, using a YARPP template:

    http://mitcho.com/blog/projects/yarpp-3-templates/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic