• Hi, did anybody used the Ajaxify WordPress Site plugin to ajaxify the theme successfully?

    The main issue i have is that the page content of the home page is made of two containers, one is the container carousel slide for the slider area and the second one is the container for the main-wrapper.

    This plugin doesn’t allow ajaxifying two containers. Is there a way to merge the above under one container? Or better yet (as i assume the merge will create another set of new problems) is there another way to ajaxify the page content? What i want is that the header and footer would not refresh when the user switch between the different pages.

    Many thanks for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Wrap it all in a new container ??

    <div id="my_container"> <!-- create a new div and name it something descriptive -->
    <div id="my_cool_carousel"> <!-- this is just example of existing carousel -->
        ...carousel stuff...
    </div> <!-- end carousel -->
    <div id="my_awesome_content">  <!-- this is just example of existing content -->
        ...some content...
    </div> <!-- end content -->
    
    </div> <!-- end of new container -->

    So you really just need to create a new <div> and tell the plugin to AJAXify it. You may also have to style the div a little bit to get things to fit and work correctly BUT the problem most users will run into with any AJAX plugin is that inline JavaScript and sometimes other scripts may not work correctly without hacking the code a little and adding what is known as a callback function to get existing plugins and scripts to work.

    If everything works out of the gate then that’s even better ??

    Thread Starter omriran

    (@omriran)

    Hi Keith, thanks for the quick replay.

    I also thought about this option but could not locate the file I need to edit.

    But as you said I wonder if it will create more problems…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ajaxify the page content’ is closed to new replies.