Support » Plugin: Ajaxify WordPress Site(AWS) » Shortcodes?

  • Resolved poco06


    I’ve tried your plugin and it’s working fine except on 1 point for me : sometimes, shortcodes are not managed correctly. I have for example googlemap shortcode : it’s OK when you arrive in the page directly with your browser, but if you try to get it with an internal link via Ajaxify, nothing is displayed.
    I’ve also got some issues with slider shortcodes the same way.
    Is there anything to do on this?
    Many thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author manishkrag


    Yes, because here in this short code data are coming due to some js files, now when you are going to the page which having those shortcodes you have to reload those js files again
    for ref:

    My js events are not calling after loading the page using AJAX

    Hello manishkrag,
    Thanks for your answer.
    Can you be a little more precise on how I can reload the needed js files?
    I have visited the link you mentionned but thses are specific examples and I don’t know how to cope with mines.

    Hello manishkrag,
    Sorry to push you again. Do you have some info concerning how I can reload the js file (what type of command should I use and where should I place it).
    Many thanks.

    Plugin Author manishkrag



    Whatever the link I have provided you above is explaining all, let say you want to reload a js file after ajax, then folow the below:
    a) Open file ajaxify.js
    b) Search for “$body.removeClass(‘loading’);”
    c) Paste the below code just before this line

    scriptNode = document.createElement('script');
    scriptNode.setAttribute('src', rootUrl + 'YOUR JS FILE PATH');

    Hi manishkrag,
    Thanks for the info. I’ve tried it and did not see any improvement. Concerning google plugin for example, I have the same .js files that are loaded with or witout ajaxify, but when I use ajaxify, the map is not shown.
    Is there something else to check?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcodes?’ is closed to new replies.