Ajax or Grid post in Avada theme not displaying!
Visual composer Grid Post not showing up or displaying
This is a quick fix to quite a specific problem. When you have ajax on your page, and it has stopped working when it previously was. The installation context is with namely, I believe wordpress version 4.5 , and Avada theme version 3.8.4
The below error appears in the chrome console:
Uncaught Error: Syntax error, unrecognized expression: [href^=#]
So what we need to do here is to hunt down the code which is calling this expression, which occurs in 3 files:
To solve for this grid post issue alone, modifying the 2nd file is adequate. Steps to tackle the issue:
- Change all the [href^=#] expressions to [href^=”#”]
- Save all 4 expressions found in the file and your posts should start showing up again!
- To see the results, remember to refresh your view with a clean internet browser cache so that the old js file is cleared.
Do leave a comment if this helps, or does not work. Do share other tips/work-arounds/suggestions too!
Simplify and gear up your business today.