Support » Plugins » Customizing WordPress Related Posts in Sidebar

  • Archit


    I want to embed the Related Posts code in my blog’s sidebar but the links in my sidebar are in <li> tags. How do I customize the related posts code (<?php wp_related_posts(); ?>) to do that?

    Example of what I want:

    <h3>Related Posts</h3>
    <li>Related Post 1</li>
    <li>Related Post 2</li>
  • The topic ‘Customizing WordPress Related Posts in Sidebar’ is closed to new replies.