Ajaxify WordPress Site(AWS)
[resolved] Shortcodes? (6 posts)

  1. poco06
    Posted 3 years ago #

    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


  2. manishkrag
    Plugin Author

    Posted 3 years ago #

    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:

  3. poco06
    Posted 3 years ago #

    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.

  4. poco06
    Posted 3 years ago #

    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.

  5. manishkrag
    Plugin Author

    Posted 3 years ago #


    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');
  6. poco06
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ajaxify WordPress Site(AWS)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.