• Hi,

    If I enable AJPL some pieces of code are not executed :
    – other elements of all templates the loop for alone post load (or “pages” which I name “sections” when paginated.
    – plugin TOC+ (adapted) element of the templates.

    How to now and define which element are Ajax generated.

    AJPL seems to load and replace div id=”content”

    If I uses AJPL I need to load whole id=”main” with AJPL (theme twentythirteen modified and widely enhanced) because it begins and ends with complementary divs and adds into header and footer of the post depending of the analyse of the content of the post.

    There are several reasons, particularly the fact that the “Table of content” widget is set into “tertiary” which parent is “main” then I have the architecture :

    Main {
    – my div (a lot of new elements depending of the content)
    – primary {
    – content
    }

    – secondary
    – tertiary with elements (widgets) updated with content
    – another div with others widgets
    }

    I have some ideas about how to optimize and not to load the whole “main”, but only the elements to Ajax update in one shot, but…

    Thanks

    Trebly

    https://www.ads-software.com/plugins/advanced-ajax-page-loader/

  • The topic ‘Plugin TOC and elements of the theme not executed’ is closed to new replies.