• Resolved khanate

    (@khanate)


    Hi there!

    I tried using
    `add_filter(‘woocommerce_show_page_title’,false);

    It DID remove the title, BUT with this :):

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /nfsmnt/hosting2_1/a/6/a67cc8f6-3045-439f-a8b1-667543cee54c/zemaraim.com/web/wp-includes/class-wp-hook.php on line 298

    Any other ways to turn it off?

    Cheers

Viewing 1 replies (of 1 total)
  • Thread Starter khanate

    (@khanate)

    Oh found it:

    function wc_hide_page_title()
    {
        if( !is_shop() ) // is_shop is the conditional tag
            return true;
    }
    add_filter( 'woocommerce_show_page_title', 'wc_hide_page_title' );
Viewing 1 replies (of 1 total)
  • The topic ‘Remove Shop Page title’ is closed to new replies.