Support » Theme: P2 » How to change "Recent Updates" text on home page?
2 years, 8 months ago
I am unsure how to change the text that reads “Recent Updates” at the top of the site homepage.
Automattic Happiness Engineer
It’s in index.php on line 24:
<?php _e( 'Recent Updates', 'p2' ); ?> <?php if ( p2_get_page_number() > 1 ) printf( __( 'Page %s', 'p2' ), p2_get_page_number() ); ?>
You can change this by creating child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:
Once your child them is set up, make a copy the file index.php from your parent theme and place it in your child theme, with the words “Recent Updates” replaced with whatever you like.