- This topic has 5 replies, 2 voices, and was last updated 4 years, 6 months ago by
Skandha.
-
AuthorPosts
-
March 18, 2019 at 10:00 am #168141
patrickm
ParticipantHow can I change the name of the blog page? It’s now called ‘archives’.
March 19, 2019 at 12:28 am #168180Skandha
ParticipantHello Patrick,
For that you will need to create a child theme a do a little bit of customization. Let me know if you are familiar with child theme customization so that I can guide you!Kind Regards,
SkandhaMarch 19, 2019 at 3:17 am #168201patrickm
ParticipantHi, Yes that’s no problem for me.
March 19, 2019 at 3:37 am #168203Skandha
ParticipantSo at first you will need to create a child theme. For that you can use our Generate Child Theme Plugin. Install and Activate the plugin.
Then Go to => Dashboard => Generate Child Theme => Select Parent Theme as Simple Persona Pro and fill other fields and then click on Generate.
This will create and activate the child theme.Now, Go to => Child Theme Folder => functions.php and add the following Code.
function simple_persona_header_title( $before = '', $after = '' ) { if ( is_front_page() ) { echo $before . wp_kses_post( get_theme_mod( 'simple_persona_header_media_title', esc_html__( 'Header Media', 'simple-persona-pro' ) ) ) . $after; } elseif ( is_singular() ) { the_title( $before, $after ); } elseif ( is_404() ) { echo $before . esc_html__( 'Nothing Found', 'simple-persona-pro' ) . $after; } elseif ( is_search() ) { /* translators: %s: search query. */ echo $before . sprintf( esc_html__( 'Search Results for: %s', 'simple-persona-pro' ), '<span>' . get_search_query() . '</span>' ) . $after; } else { echo $before . 'Blog' . $after; } }
Replace
Blog
with the title you want to have.
Let me know if this works out!
Kind Regards,
SkandhaMarch 23, 2019 at 5:03 am #168528patrickm
Participantawesome – thanks a lot!
March 25, 2019 at 2:02 am #168617Skandha
ParticipantGlad that it worked out. Let me know if you have anymore issues.
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Blog page show's Archive’ is closed to new replies.