Forum Replies Created
-
AuthorPosts
-
I had this same issue (my dynamic_avia folder is writable). As far as I can tell the problem is that the Masonry Grid shortcode depends on the javascript function avia_portfolio_preview, which is located in the file portfolio.js. That file is only enqueued when using the Portfolio shortcode, not the Masonry Grid shortcode. The thread Victoria linked earlier is not related since the compiled file is not generated because the .js file is not enqueued.
I worked around this by add this to my functions.php to manually enqueue the file:
wp_enqueue_script( ‘avia-module-portfolio’ , AviaBuilder::$path[‘pluginUrlRoot’].’avia-shortcodes/portfolio/portfolio.js’ , array(‘avia-shortcodes’), false , TRUE);That feels a bit hacky though.
- This reply was modified 6 years, 8 months ago by Webbmekanikern.
Hi again,
This feels like a temporary solution, but it simply works. Thank you.
Will you please look into a more long term solution? On your description, it sounds like one of the shortcodes is echoing the output instead of returning it, I’ve seen that before elsewhere.
Regards,
IvarHI Ismael,
No worries – I think you’re usually very quick to respond.
Yes, we’ve disabled that editor for security reasons. I have now enabled debug mode via your
avia_builder_mode
action.Regards,
IvarHi Ismael,
Sorry for my late reply.
I tried your suggestion without success. I’ve added an account for you, see the credentials below.
Thanks you in advance.
Regards,
IvarHi Ismael,
Thank you for your reply.
I’m not entirely sure about what you mean. The mentioned section is in a Grid Row, see the image in the private content, and please read my question again so we are sure that you haven’t misunderstood anything.
Hi Vinay,
That’s very disappointing to hear. Thank you anyway.
Regards,
Ivar- This reply was modified 8 years, 10 months ago by Webbmekanikern.
Hey Andy!
I updated both WordPress and Enfold, and the problem does still exist. I’ve also added a color section to the example page, so you could see even better what I mean.
This is starting to get pretty urgent as I’ve got a deadline this Friday, so I’d really appreciate if you could investigate this further.
Thank you so far!
Regards,
IvarDecember 17, 2015 at 10:44 pm in reply to: Issues with custom post type and template builder #554682Absolutely – see private content. Thanks for your efforts.
If you watch the source code for the example page, you’ll see that some row wrappers are missing. And if you e.g. edit the template and add a color section, the example page will collapse completely.
In case you’d see another method that actually would work for this case, I would certainly not mind to change. As long as the possibilities are the same.
December 17, 2015 at 10:20 pm in reply to: Issues with custom post type and template builder #554663Hey Elliott!
Thank you for your answer, and sorry about the delay.
The posts are being fetched differently as they’re used as templates, i.e. post 1 and 2 use template A while post 3 uses template B.
I’d really appreciate to get this one solved. :-)
-
AuthorPosts