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

Woocommerce Product Archives(Shop Page) – Custom Toolbar

$
0
0

Replies: 0

So I created a custom toolbar intended to replace the default toolbar in product archive(Shop page) contains Filter, Sorting View, and Pagination, it simply didn’t meet the requirements I needed for my project.

I created the custom toolbar using Elementor and by going to Theme panel > My Library > Add New, and currently, the shortcode for it is [oceanwp_library id="798"].

I don’t know what’s the hook if there is any in order to replace the toolbar only in the product archive(Shop page). Otherwise, what is the other method to change it?

add_action( '??????????', 'change_product_archives_toolbar' );
function change_product_archives_toolbar() {
  echo do_shortcode( '[oceanwp_library id="798"]' );
}

Viewing all articles
Browse latest Browse all 59525

Trending Articles