Do you want to display related posts by same author in WordPress? Normally, you can use any related posts plugin to show similar articles on your website. However if you run a multi-author WordPress website, then your users may want to read other content from the same author. In this article, we will show you how to display related posts by same author in WordPress.
Method 1: Display Related Posts by Author in WordPress Using Plugin
This method is easier and is recommended for all users.
First thing you need to do is install and activate the Similar Posts plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit Settings Β» Similar Posts page to configure plugin settings.
The settings page is divided into different tabs, and you will land on the General tab by default. You can review the options and change them to match your requirements.
On this page, you need to scroll down to the bottom and select βYesβ next to βMatch the current postβs authorβ option. You can uncheck other matching options to make sure that the plugin only fetches posts by author.
Next, you need to switch to the βPlacementβ tab and activate βOutput after postβ option. You can also edit output template by editing the text in the βParametersβ box.
Donβt forget to click on the βSave Settingsβ button to store your changes.
You can now visit any single post on your website, and youβll see related posts by the same author after the post content.
Method 2: Manually Display Related Posts by Same Author in WordPress
This method requires you to add code to your WordPress theme files. If you havenβt done this before, then check out our guide on how to copy and paste code in WordPress.
You will need to add the following code to your themeβs functions.php file or in a site-specific plugin.
You can now visit any single post on your website, and youβll see related posts by the same author below the content.
We hope this article helped you learn how to easily display related posts by same author in WordPress. You may also want to see our ultimate list of the most wanted WordPress tips, tricks, and hacks for beginners.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.