WordPress.org

Ready to get started?Download WordPress

Forums

Ajaxify WordPress Site(AWS)
[resolved] Content double loads (5 posts)

  1. LSB Web Design
    Member
    Posted 1 year ago #

    Hi im using the AWS plugin but i was wondering if there is a way to prevent the content from loading twice. It seems to do a sort of double load.

    http://www.danceyrselfclean.com/tracks/arcade-fire-crucified-again

    http://wordpress.org/extend/plugins/ajaxify-wordpress-site/

  2. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Sorry for late reply follow the below:

    In ajaxify.js file line no: 130 below code present

    $content.html(contentHtml)
    .ajaxify()
    .css('text-align', '')
    .animate({opacity: 0, visibility: "visible"}).animate({opacity: 1},800);

    Replace this code by below:

    $content.html(contentHtml)
    .ajaxify()
    .css('text-align', '')
    .animate({opacity: 0, visibility: "visible"});

    I have checked your website looks great and as per me AWS will be great combination for your site, but in current scenario search will not work as ajax because search form TAG does not have proper ID.

    To make search to ajax search check the FAQ section 2nd Q/A.

    Thanks
    M(YTL)

  3. LSB Web Design
    Member
    Posted 1 year ago #

    Thanks for the reply. Sorry i haven’t responded to this sooner.

    I tried out the code but it didn’t seem to stop the content loading twice. You can see the plugin live on another site I’m working on.

    http://www.theampersandcreative.co.uk/

    Any further assistance would be appreciated.

  4. LSB Web Design
    Member
    Posted 1 year ago #

    I tweaked the coed and figured it out. Just needed to change 0 to 1

  5. manishkrag
    Member
    Plugin Author

    Posted 1 year ago #

    Great :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags