Tagged: x
-
AuthorPosts
-
December 12, 2016 at 8:09 pm #1290757
Christina rParticipantHI
I want to use a specific menu for the Woo product pages, the specific product pages. Is this possible? I tried adding this code in the functions of child but to no avail. I pulled it from another thread :
// =============================================================================
// Sets Custom Menu For WooCommerce Shop
// =============================================================================add_filter( ‘wp_nav_menu_args’, ‘custom_blog_menu’ );
function custom_blog_menu( $args ) {
if ( x_is_shop() ) {
$args[‘theme_location’] = ‘primary’;
$args[‘menu’] = ‘Launch’;
}
return $args;
}Thanks for help,
Christina
MoreParsMoreFun.comDecember 13, 2016 at 1:03 am #1290895
RupokMemberHi Christina,
Thanks for writing in! Here is a working example – https://community.theme.co/forums/topic/post-content-text-overlapping-sidebar-ethos-shop-menu/#post-139267
Cheers!
December 13, 2016 at 8:30 am #1291341
Christina rParticipantThank you – worked perfectly!
Christina
December 13, 2016 at 9:30 am #1291408
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1290757 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
