Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

WooCommerce Page Title

Home / Forums / Virtue Theme / WooCommerce Page Title

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
August 21, 2018 at 10:53 pm

Hi

I have moved the woocommerce page title in one of my sites (link below) using some code I found here in the support forum:

function kt_custom_child_init() {
remove_action( ‘woocommerce_above_main_content’, ‘virtue_woocommerce_page_title_container’, 20 );
add_action( ‘woocommerce_before_main_content’, ‘kt_woocommerce_page_title_container_check’, 20 );
function kt_woocommerce_page_title_container_check() {
if(is_archive()) {
virtue_woocommerce_page_title_container();
}
}
}
add_action(‘init’, ‘kt_custom_child_init’);

I moved it because I would like the page title to sit beside the sidebar not above it. It worked great, however now the Order by: dropdown has dissapeared. I was hoping that the client didn’t notice but they did and they would like it back in the header there.

Would you be able to tell me how I can add it back in please?

Thanks Mel

  • The forum ‘Virtue Theme’ is closed to new topics and replies.