
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency
Recently I had to add some custom javascript/jquery code to a JetSmartFilter select filter in order to have a map show the relevant pins/markers. Since there is absolutely 0 documentation on how to add your own code I spent a few hours and I finally managed to get it right. Here is a working snippet.
function myCode() {
alert('content rendered');
}
jQuery(document).on('jet-filter-content-rendered', function() {
myCode();
});
That’s it! Let me know if it worked or if you had any problems in the comments.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency
Let’s talk about your project and how it aligns with your business strategy.
You can also email us at contact@wordpresstoday.agency