Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #168141
    patrickm
    Participant

    How can I change the name of the blog page? It’s now called ‘archives’.

    #168180
    Skandha
    Keymaster

    Hello 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,
    Skandha

    #168201
    patrickm
    Participant

    Hi, Yes that’s no problem for me.

    #168203
    Skandha
    Keymaster

    So 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,
    Skandha

    #168528
    patrickm
    Participant

    awesome – thanks a lot!

    #168617
    Skandha
    Keymaster

    Glad that it worked out. Let me know if you have anymore issues.

    Kind Regards,
    Skandha

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Blog page show's Archive’ is closed to new replies.