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

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Download is Just A Click Away!

Membership Retention Checklist Download

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