No results found. Try again with different words?

Search must be at least 3 characters.

How to Modify Read Time Text on Blog and Single Post Page?

Sidebar Image

Did not find a solution? We are here to help you succeed.

In the Astra Pro v2.5.1, we have added two new filters to update the Read Time text – specific to Minute & Minutes of reading text for Blog & Single post page.

You can use the below filters to modify the Read Time strings –

For updating the Singular Read Time –

add_filter( 'astra_post_minute_of_reading_text', 'ast_post_minute_of_reading_text_function' );
function ast_post_minute_of_reading_text_function() {
    return __( 'Singular reading time...', 'astra-addon' );
}

For updating the Plural Read Time –

add_filter( 'astra_post_minutes_of_reading_text', 'ast_post_minutes_of_reading_text_function' );
function ast_post_minutes_of_reading_text_function() {
    return __( 'Plural reading time...', 'astra-addon' );
}

You can refer this doc on How to Add Custom PHP Code?

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Astra is Free. Now & Forever.

We believe creating beautiful websites should not be expensive. That's why Astra is free for everyone. Get started for free and extend with affordable packages.

Download is Just A Click Away!

Download Checklist

REWIND

YEAR IN REVIEW

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form