How to Localize “Related Posts” in WordPress
Today, I’m tackling another question from the WPlaybook community. This time, we’ll change the “Related Posts” title that appears at the bottom of WordPress posts. (In the Kadence theme, it’s called “Similar Posts.”) Many users struggle because it’s in English and there’s no option to change it easily. Let’s find out how to change it! 🙂
WordPress Related Posts, Similar Posts
WordPress has a section at the bottom of posts that recommends other articles from the same category. Depending on the theme, this section is named differently: for example, GeneratePress uses the name “Related Posts,” while the Kadence theme used in the ALL100 theme calls it “Similar Posts.”
How to Enable WordPress Related Posts
To enable WordPress Related Posts, go to the Customizer and find the Single Post Layout section. There, activate the toggle option labeled “Show Related Posts?” to turn it on.
How to Change the Cadence Theme Similar Posts Title
The default title for related posts in the Cadence theme I use is “Similar Posts.” Your theme might use “Related Posts.” Here’s how to change that text to whatever you want (in this case, “View Related Posts”).
How to use plugins to make changes
There’s a handy plugin called SayWhat that lets you replace specific text on your WordPress site. If you prefer an easy no-code option, give it a try!
Using a Code Snippet
Personally, I prefer not to install plugins just for simple text changes. Instead, I use code snippets—specifically, with the WPCode plugin (which has a free version). Most people can use the free version just fine.
The process is simple: create a PHP snippet and set it to run everywhere. If you don’t know how to use WPCode snippets, check out my detailed guide on implementing WordPress post copy functionality, which explains it step-by-step.

The PHP code you inserted looks like this
function custom_related_posts_title($html) {
$html = '<h2 class="entry-related-title">' . esc_html__('Related Posts', 'kadence') . '</h2>';
return $html;
}
add_filter('kadence_single_post_similar_posts_title', 'custom_related_posts_title');
- The code provided is specifically for users of the Cadence theme. If you are using a different theme, replace all instances of
'kadence'in the code with your theme’s slug. For example, if you use GeneratePress, change it to'generatepress'.
Result of the Change
After creating and activating your code snippet, you’ll see that the “Similar Posts” section below your post changes to your desired text like ‘Related Posts’, just like in this post.
In Conclusion
Today, we learned how to change the related posts title using WPCode. WPCode is a powerful plugin that lets you easily add, edit, or remove various custom code snippets—not just for renaming related posts, but for many other functions as well.
If you haven’t yet, I strongly recommend reading the tutorial I wrote on implementing post-copy functionality using code snippets, which also uses WPCode. It’s a great resource to get more familiar with this tool!


