Divi: Change the Read more text on your blog module

 

So if you have been blogging for a while, you might have noticed that not everyone understands the meaning of the text ‘Read more’ in your blog post snippets. Some people think it refers to other snippets or other pages even. This is why I decided to change the text.

For some reason the developers of Divi have not yet come up with the possibility to change the text in the blog post module, so you have to get some code into the theme options of Divi.

Thank goodness this has become easy as well and it should not be a problem for you at all if you know how the Divi theme works. So just follow the steps below and you will be fine.

Step 1

Go to Divi  – theme options in your WordPress dashboard

Step 2

Paste the code below in the black box next to this text: 

Add code to the < body > (good for tracking codes such as google analytics)

<script>
jQuery(document).on(‘ready ajaxComplete’, function () {
//Replace read more link text
$(“.et_pb_post a.more-link”).html(function () {
return $(this).html().replace(‘read more’, ‘View full post’);
});
//Replace blog pagination text
$(“.et_pb_ajax_pagination_container .pagination a, .archive .pagination a, .search .pagination a”).html(function () {
return $(this).html().replace(‘«’, ”).replace(‘»’, ”).replace(‘Older Entries’, ‘Older Posts’).replace(‘Next Entries’, ‘Newer Posts’);
});
});
</script>

 

Step 3

If you don’t like my suggestion to change the ‘Read more’ text into ‘ View full post’, than change it into something you do like. 

Just change the text between the quotes.

So changeable by your are:

‘View full post’

‘Older Posts’

‘Newer Posts’

 

Step 4

If you are satisfied, click on  the green button ‘Save changes’ (it is all the way down on the page) and check out your blog page to see the changes.

If this was helpful to you, would you do me the honor to share this post with your friends? And ofcourse if you have any questions, let me know below this post.

Have a great day!

Linda de Pagter

Linda de Pagter

Digital Nomad, Web designer

Leave me a comment below

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Are we connected on social media yet?

Start building your website today

Recent Comments

    Pin It on Pinterest

    Share This