The Astra theme is one of the most installed WordPress themes and it is so because of its many virtues and possible customizations, but there is always something else we can improve.
Today we are going to see some customizations that we can do in the text or “Read More” button of the blog file template in Astra.
Customize the “Read More” text
This I think would be the first thing we would want to customize, and nothing is easier, if you have Astra Pro.
Just open the WordPress customizer and in the customization section of Blog > Blog/Archive, change the text to the one you prefer.

In the meantime, you can select whether you prefer to display it as linked text or as a button.
But what if I don’t have Astra Pro, if you only have the free version, in this case the trick would be to add the following function to the functions.php file of the Astra child theme.
//Change the «read more» text
function astra_post_read_more() { return __( 'Keep reading ....', 'astra' ); } add_filter( 'astra_post_read_more', 'astra_post_read_more' );
Code language: JavaScript (javascript)
As you can imagine, you just have to change the “Keep reading …” for the text you like.
Do not show “Read more”.
If, on the other hand, you prefer that the “Read more” is never shown in the blog archives there are two ways to achieve this.
Create manual excerpts
A curious method that I discovered almost by chance is to create manual excerpts, because in that case Astra – for some strange reason – does not show the “Read more”.

So, if you are used to create manual extracts (something I always recommend and do), that’s it, you don’t have to do any more, Astra will not show the “Read more” even if they are activated and/or customized.
Remove them globally with a code
Now, if you prefer that they are never shown, even if you don’t use extracts, then nothing is faster and more effective than adding the following code to the functions.php file of the Astra child theme:
//Remove «read more» globally
function wphelp_remove_read_more() { return __( '', 'astra' ); } add_filter( 'astra_post_read_more', 'wphelp_remove_read_more' );
Code language: JavaScript (javascript)
Save the changes and that’s it, you won’t see “Read more” anymore
Always show “Read More”
In addition to what we have already seen, there are times when the Astra theme does not show the “Read more”. For example, if your post has a shortcode block, code or pre-formatted text, it will not be shown.
And also, as we have seen before, if you create a manual extract.
Now, do you always want to show “Read more”, even in the above situations? Even if you have created a manual extract or there are code blocks, etc.?
The solution is to add this code to the functions.php file of the child theme:
/* "Read more" everywhere in Astra */
add_action(
'after_setup_theme',
function () {
// Remove "Read more" added by Astra
remove_filter('excerpt_more', 'astra_post_link', 1);
// Add "Read more" in all entries
add_filter(
'the_excerpt',
function ($content) {
return $content . astra_post_link();
},
99
);
// Remove "..." added by astra
add_filter(
'astra_post_link',
function ($value) {
return str_replace("…", "", $value);
}
);
}
);
Code language: PHP (php)
You save the changes and that’s it, “Read more” is always visible.
And that’s it for today. You already know a little bit more about how to customize Astra to your liking, even if you don’t have the Pro version.
Read this post in Spanish: Cómo personalizar, forzar o quitar el enlace de «Leer más» en el tema Astra
Hi Betty,
Any reason why I can’t get it to work? This is what I am using. Did everything to T, but no luck. I am using the free Astra theme with Ultimate Addons for Gutenberg.
//Change the «read more» text
function astra_post_read_more() { return __( ‘Leer Mas’, ‘astra’ ); } add_filter( ‘astra_post_read_more’, ‘astra_post_read_more’ );
Would appreciate some help.
Thank you.
Solved it, no worries.
Thank you so much! Exactly what I needed!
You’re welcome 🙂
That is the solution for my problem because Astra support didn’t solve that even they login to my page. (I use the Pro version).
And I have another problem-for now I need to use the UAG blocks blog. Why? Because when I switch on blog edited in Astra settings archive page is o.k., posts pages are o.k. too. But if select any tag then the results showing in the window is wider and go over the sidebar and that is very frustrating.
That is started after the WordPress upgrade and never solved. I try everything but no help.
And third-I has reviews on my page. But in UAG blocks in the review schema, one parameter missing. Google simply does not accept that as rich results.
Yes, Astra support promised to solve that but they close the ticket after a while and that is that.