• Resolved Webdev

    (@tnwebdev)


    Hello,

    Mistakenly changed the title of the shop page by products (the title that appears in the “title” code? ) and I can not find or I modified it, an idea on the matter?

    ?Explainer image: https://postimg.cc/V5JbHNsG

    My Greetings

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Webdev

    (@tnwebdev)

    No ideas on the matter? Thanks

    Saif

    (@babylon1999)

    Hello @tnwebdev,

    It’s me again! ??</img>

    The #1 title can be changed by updating the page title from All Pages > Shop, as for the title in the tab then this is usually changed with an SEO plugin.


    Link to image: https://d.pr/i/ATSO56

    Here’s a guide from RankMath that explains it all: https://rankmath.com/blog/change-woocommerce-shop-page-title/

    Let us know if you need more help with this!

    Thread Starter Webdev

    (@tnwebdev)

    Hello, thank you again for your cooperation.

    I have already modified the title of the page and its slug in All Pages > Shop, and everything went well on the FrontOffice side except for the title of the page that is displayed in the source code “title tag”!

    For the moment, I am not using any SEO plugin.

    My greetings.

    Thread Starter Webdev

    (@tnwebdev)

    Hello,

    Finally I used this piece of code in the function page of my theme :

    function wp_head_wpaction0() {if ( is_shop() ) { ?>
    <title>Custom title</title>
    <?php }}
    add_action( 'wp_head', 'wp_head_wpaction0', 0 );
    

    Even if at first I didn’t need any code to change it.
    The main thing is that now the title in the source code matches the rest of the titles.

    Thanks very much

    Hi @tnwebdev

    Awesome, glad to know it’s working fine now. If you have any new questions, please create a new ticket.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Edit shop page title’ is closed to new replies.