If you add the following to your functions.php file
add_filter('wp_nav_menu_items', 'do_shortcode');
then you can add a ‘custom link’ item to a menu, such as secondary menu, and add the shortcode to the ‘navigation label’ field of the custom link.
Related Posts:
- How can I define a custom template for woocommerce [products] shortcode? [closed]
- Shortcode with product catgory counter
- wc_get_product in a none woocommerce page
- Show only sidebar if widgets have content on the current page
- shortcode to display woocommerce cart total
- WordPress keeps moving my widgets to other widget areas
- Products Shortcode is Displaying Single Product Page Price for all Products [closed]
- How can I custom order the product display?
- the_widget() – filter only one instance
- Woocommerce Shortcode custom orderby not working
- Change The Woocommerce Product Categories Dropdown Widget Placeholder Text
- Override static method in WC_Shortcodes class (shortcode) [closed]
- Unable to pull in custom product attribute in shortcode [closed]
- Adding author option to [products] woocommerce shortcode
- Trying to style Woocommerce sidebar Cart Widget [closed]
- Pass class to Woocommerce shortcode [relative_products] [closed]
- how do i remove a woo-commerce widget?
- Create a shortcode for native WooCommerce search form [closed]
- How can i access woocommerce order variables inside shortcode?
- Display vendor phone number on single product page
- Adding additional text under the price via product page
- Filter by Price filter button not working
- porto theme pagination on woocommerce not working
- I want to show always 4 category boxes everytime in woocommerce
- Two types of product categories on shop page
- Collapsible product categories on sidebar?
- How to use products shortcode in taxonomy-product_cat with multiple columns?
- Why isn’t working WooCommerce session inside shortcode?
- How to display products in sidebar in 2 columns?
- Shortcodes in billing fields doesn’t work
- Integration widget Mondial Relay Js
- woocommerce Shortcodes – Change display between mobile and Desktop
- How to check which shortcode is using my template?
- If YITH Wishlist page is set to the WooCommerce my-account endpoint, the endpoints stop working all together. Any solution?
- Creating a shortcode with a variable (Woocommerce)?
- How to Manage Multiple WordPress Websites from one dashboard (WooCommerce)
- Trying to insert a div ID link into Woocommerce shortcode Pagination
- how should i get products based on tags in woocommerce
- Where to put my code: plugin or functions.php?
- Woocommerce add extra field to variation product
- single-product.php template not working for single products [closed]
- How to execute a javascript function just before saving a woocommerce post or a post?
- WooCommerce Description and Short Description tags removal
- Woocommerce 2.5.5 get billing email from order instance
- Woocommerce products are not displayed on front-end . No products were found matching your selection [closed]
- Shipping Location based on IP (Geolocation)
- How to set a minimum length for username in Woocommerce? [closed]
- woocommerce featured products and categories
- woocommerce “publish “”product”” webhook
- Creating woocommerce product using WordPress REST API
- Add content to the last slide of each product
- Remove add to cart icon/view product button woocommerce
- Expired session error (admin) when I try to make a call to WooCommerce api [closed]
- How to increase execution time out limit in WordPress dashboard?
- Woocommerce. Max weight per order based on shipping class
- Make order notes field at woocommerce checkout only viewable on front end by Admin level user role [closed]
- How to apply these filters
- get_the_post_thumbnail_url does not return anything if image size is set
- Display SKU for each Single product title in group product!
- How can I add a so i can show sale price under normal price
- WooCommerce checkout page price break down table hook
- How can I compel alphanumeric entries for username textbox on woocommerce registration form
- Help me to intergrate product database to WordPress
- Create a Woocommerce product widget with category filter
- Using the WordPress and WooCommerce REST APIs in the same Node app
- Change Woocommerce Product Categories Widget ‘Title’ based on Product Category
- Display list of only specific tags on product
- Change the “Register” headline in Woocommerce
- How to display customer mobile number in woocommerce customers page
- Get all categories inside a Product Tag archive page
- Woocommerce – Hide shipping at all, if only certain product or products with certain shipping class is in the cart
- Running JavaScript after using WooCommerce Filter Plugin
- Include stock information in WooCommerce order confirmation email
- Add custom field address_3 before city in user profile
- How to upload very large JPGs to Media Library for WooCommerce digital download prints
- use vendor address instead of store main address for shipping and taxes calculation
- where does $checkout in form-checkout.php woocommerce come from? [closed]
- How to trace errors in debug.log for WooCommerce 3.0?
- Auto set Woocommerce product ID as SKU on save
- Send a different “thank you” email based on payment method
- Delete product image using WooCommerce API?
- Empty Cart on just mobile and Microsoft edge browser
- Possible to have multiple Authorize.net accounts on the same site?
- WP All import sale price 0 [closed]
- WooCommerce database upgrade behaviour
- How to neutralize a parent theme php template?
- creating number of database entries based on users numerical input
- Import download attachment from woocommerce product
- Add an extra column to /my-account/subscriptions/ WooCommerce page
- Understanding WooCommerce Build-In Geolocation/ Geo_IP classes
- Same WooComerce shop for different WP sites?
- Woocommerce 404 after chang default language
- When creating a new order (on the dashboard) how can I get the ID of the selected customer
- Setup WooCommerce to properly handle inventory with variable product?
- Why does have_comments return false but get_comments return array of commemts?
- WooCommerce: I Need to hide my page title/header (including menu) from all the WooCommerce related product pages, such as category and keyword pages
- How to get the attributes based on dependency in woocommerce?
- Woocommerce composite and bundle products
- I need help with CPT for a food delivery business
- Woocommerce admin order email customize – remove product short description