-
AuthorPosts
-
August 9, 2014 at 4:22 pm #302019
Hello Support
i’m trying to solve the following issue ( and have searched the forum for similar threads )
Ajax Portfolio
Using shortcodes like [zoomsounds id=”Jingle and Ident”] etc.
Thank you for your help and have a great weekend.
Regards
Daniel- This topic was modified 10 years, 3 months ago by SonicCube.
August 10, 2014 at 3:24 am #302109Hi Daniel!
You should be able to render shortcodes in the AJAX Preview text – http://screencast.com/t/wTXKb6L0KR8
Regards,
JosueAugust 10, 2014 at 11:23 am #302211Hello Josue
Thankx for your reply.
Unfortunately it does not work. At least not the Shortcodes i’ve tested.Please see the screenshots with the Ajax content text field plus it’s settings, and the rendered result from that :
August 11, 2014 at 6:58 am #302415Hey!
Have you checked if those shortcodes work outside of the portfolio preview, on a normal page/post?
Best regards,
JosueAugust 11, 2014 at 10:45 am #302455Hello Jsoue
well, off course i did check the shortcodes and they work flawless except in the Ajax Portfolio entry.
check here : http://www.sonicmediadesign.com/portfolio-item/sport-und-action/
- This reply was modified 10 years, 3 months ago by SonicCube.
August 13, 2014 at 2:51 am #303527Hi!
I’m not sure what plugin you are using but i tried with this one and it worked in the Ajax preview – http://screencast.com/t/NFn7la9Flm
Regards,
JosueAugust 13, 2014 at 9:20 am #303685Dear Josue
i appreciate your support, but this is getting nowhere. I explain my issue again, and would be very thankful if we can sort it out asap as it’s business critical from my side.
1. I have a plugin called Zoomsounds which i use troughout my website. It works perfect except in the Ajax Portfolio. Working Example
2. The Ajax Portfolio renders only the raw Shortcode as seen here :
Could you please let me know, if there is a way to solve that, as the shortcode does work everywhere else.
Thanks so much for your feedback Josue.
Regards
Daniel
August 13, 2014 at 9:32 am #303687Hi Daniel,
I understand, but the problem is that fixing third-party plugins issues with the theme is beyond the support scope we can offer. Have you tried contacting the plugin author for more info about this?
Best regards,
JosueAugust 13, 2014 at 11:32 am #303727Hello Josue
i’ve had contacted the Plugin Developer allready. He says, that as the plugin is working flawless on blogs and any other pages in the theme, it must be an issue with the Ajax Portfolio and not with the plugin.
Best Regards
Daniel
August 13, 2014 at 3:57 pm #303895Hello Josue
sorry, i investigated another 2-3 Hours and i can tell you, the Ajax Portfolio has a serious problem with rendering different shortcodes, even WordPress built in ones like the AUDIO tag.
The Ajax content does also “bleed” outside the Ajax Render Frame if more then one Shortcode has been placed, you cann see this on the bottom of the page.I have set up a testpage for you / support to check and analyze this here : http://www.sonicmediadesign.com/4254-2/
Structure of the Testsite :
- Page with directly placed shortcodes on top and Ajax Portfolio Grid on the lower part.
- Abolutely identical content on the page and in the Ajax section.
- 2 Ajax Portfolio Entries, one with the same content as on the page, and one with only a default wordpress Audio inserted.
This is a serious issue for me, as my site is about 80% audio and sound portfolio.
Thanks for your support.
Regards
Daniel
- This reply was modified 10 years, 3 months ago by SonicCube.
August 15, 2014 at 10:43 am #304796Hi!
Unfortunately you can’t easily use third party plugin shortcodes which require/load javascript with the ajax preview feature. The main reason is that ajax requires some special code to load and bind the javascript code of the shorrtcode to the ajax content. This is not a bug of the theme but simple how ajax and event bindings work. We use an ajax callback function (called $.avia_utilities.avia_ajax_call located in wp-content/themes/enfold/js/avia.js) to load and bind our slideshow, shortcodes, etc. js code after the ajax call. You might be able to add the Zoopmplayer code to this function but that’s something which is beyond the scope of our support forum. You can try to contact the plugin developer – maybe he can tell you which functions can be used with the avia_ajax_call callback function – you just need to insert the javascript code below this code in wp-content/themes/enfold/js/avia.js:
$.avia_utilities.avia_ajax_call = function(container) { if(typeof container == 'undefined'){ container = 'body';};
If the plugin author can’t help you please hire a freelancer who should be able to help you with the implementation. Alternatively just use the standard portfolio and don’t try to load the Zoopmplayer shortcode with ajax…
Best regards,
PeterAugust 15, 2014 at 2:05 pm #304911Hello Peter
Thanks for your help. I understand the issue with the Zoomplayer, but also other Shortcodes do not work, like WordPress own js Audioplayer.
Try to add a Audiofile into the Ajax Portfolio. And check also what happens if you add 2 shortcodes, the content will bleed outside the Portfolio Area to the bottom of the page.Regards
Daniel
-
AuthorPosts
- The topic ‘Plugin Shortcodes in Ajax Portfolio’ is closed to new replies.