Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 82367

Move Product Archive Title

$
0
0

Replies: 0

For my Product Archive template, I’m trying to ‘unhook’ the page title or archive title to move it (along w/ the breadcrumbs and archive description) to a full page-width section above the products loop.

I was able to use:

remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 );
remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10);

to unhook those functions and add them back inside a custom function that does this, but I cannot figure out how to move the title w/ them. When I use the woocommerce_page_title filter to return false, the title goes away, but since I can’t seem to find what hook that filter is tied to ANYWHERE, I’m kind of stuck. When I add the genesis_do_post_title back in, it gives me the title of the first item pulled in the loop… is there any way to reposition the archive title much like w/ default genesis pages on a woocommerce template page?


Viewing all articles
Browse latest Browse all 82367

Trending Articles