I am trying to use pjax in wordpress . but whenever I try to click the link which fetches the content via ajax call , nothing happens and page loads normally, firebug console show 301 aborted error . Any one can help ?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Display product ACF field value in Woocommerce tra
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
if you are using ajax in wordpress then make the action in function.php file of your theam , like below example
Hope it will Help :)