shortcode.js | Replace Wordpress-style shortcodes with anything | Content Management System library
kandi X-RAY | shortcode.js Summary
kandi X-RAY | shortcode.js Summary
Replace Wordpress-style shortcodes with anything. No dependencies required.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shortcode.js
shortcode.js Key Features
shortcode.js Examples and Code Snippets
Community Discussions
Trending Discussions on shortcode.js
QUESTION
I have code on my page that contains a div. In this div, I want to put the results of a WooCommerce shortcode such as [products category="slug-of-category"]
when I click a link on the same page. A list of categories (empty links) is to the left of the div. When I click one of these, I want to make an Ajax call to replace the original results in the div with the same shortcode but with the selected category.
ANSWER
Answered 2019-Jun-27 at 18:54Reworking my answer to hopefully explain better and still help.
Also I didn't address your first question about show_product_list
not firing on click.
I don't see anything in the code you provided that is telling it to fire on click.
Have you tried:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shortcode.js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page