Quick tip: How to create a custom related post section with wordpress

There are many plug-ins to which help you create a related post area but you can add a related post to your theme without using a plug in which will give your site a break from loading too slow.

Open a blank document or txt pad then insert the following code below.

Now save file as related.php

Note: To call the related post function please insert the code below into your single.php file.

You should now have a related post section.

Joe Granados the author

Joe Granados is the owner of WebDevTuts. He is also a web designer & developer who loves to design and develop websites. If you're looking for him you can find him via @webdevtuts
    • Marcell says:

      They list can usually be style by wrapping it in an unorderlist or orderlist tags then styling it from there. hope that helps 🙂

Leave a Reply