Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #167818
    beltan
    Participant

    I have created a page named “recipes” and designed that through Settings > Reading as the Posts page. When I view this page it shows the posts, which are individual recipes, however, the page title which sits across the Header Image says “Archive” not “Recipes” which is the actual page title. Why and how do I fix it?

    Also, it shows the posts in a grid layout which is fine, but above that, it has heading “Recent Posts”, how do I customise that text?

    Screenshot included: https://snag.gy/Fz7oVt.jpg

    #167825
    Skandha
    Participant

    @beltan: Hello there,
    To edit the Archives text you will need create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization so that I can guide you, otherwise I suggest you to hire a customizer.

    To customize the Recent Posts text
    Go to => Appearance => Customize => Theme Options => Homepage/Frontpage Settings => Recent Posts Heading => Edit the text and publish.

    Let me know if this helps you out!
    Kind Regards,
    Skandha

    #167827
    beltan
    Participant

    Yes I am familiar with child theme creation and customisation. If you can advise code needed to change the Archives text, i can put it into a child theme. THank you.

    #167829
    Skandha
    Participant

    @beltan: First you will need to create a child theme. If you do not know how to create a child theme you can Generate Child Theme Plugin. Install and Activate the plugin.
    Go to => Dashboard => Generate Child Theme => Select Parent Theme as Foodie World Pro and fill other fields and Click Generate.
    This will generate and active the child theme.

    Now, Go to => Child Theme Folder => functions.php and add the following Code.

    function foodie_world_header_title() {
    	if ( is_front_page() ) {
    		echo wp_kses_post( get_theme_mod( 'foodie_world_header_media_title' ) );
    	} elseif ( is_singular() ) {
    		the_title();
    	} elseif ( is_404() ) {
    		esc_html_e( 'Oops! That page can’t be found.', 'foodie-world-pro' );
    	} elseif ( is_search() ) {
    		/* translators: %s: search query. */
    		printf( esc_html__( 'Search Results for: %s', 'foodie-world-pro' ), '<span>' . get_search_query() . '</span>' );
    	} elseif( class_exists( 'WooCommerce' ) && is_woocommerce() ) {
    		woocommerce_page_title();
    	} else {
    		echo 'Recipes';
    	}
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #167834
    beltan
    Participant

    Ok completed that and it has worked without issue.

    Thank you.

    #167837
    Skandha
    Participant

    @beltan: Hello there, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/foodie-world/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Posts page displays title "Archive"’ is closed to new replies.