WordPress.org

Ready to get started?Download WordPress

Forums

Advanced AJAX Page Loader
[resolved] Key off $siteurl rather than $home in php file (3 posts)

  1. euphoriuhh
    Member
    Posted 2 years ago #

    Hey Dean! Just came across an improvement. The php file is currently using the 'home' option to locate the files in the plugin directory. You probably want to use the 'siteurl' option instead, as the 'home' is the browser url and can be changed from the actual file location.

    I JUST launched my site so I changed 'home' to be the root production url and not the development dir anymore, the plugin stopped working and I tracked it down to that issue. Changed the php to use siteurl instead and all is well again.

    Check it out if youd like! http://whatthefestival.com . It is working great right now, we will see how it performs under a much higher load when we actually announce it in the morning. I have still noticed a few random Back button issues but I'm not too worried about it. and yes, I believe I've made all the changes in the latest version.

    I will be sending you a donation for all your hard work and your great plugin next week. Thanks again!

    - Matt D

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

  2. Dean Williams
    Member
    Plugin Author

    Posted 2 years ago #

    Hey! Thanks, I will change this now ready for a release tonight.

    I have already done some improvements to this area of the code today, changed all paths so it uses the WordPress plugins_url() function instead of a hard coded path which could be changed by the user.

    And also now the loading image doesn't need to have dimensions defined (that was stupid) AND it now successfully gets pre-loaded and kept in browser memory (I load it into a hidden area on the page).

    this and the # link fixes :p

  3. Dean Williams
    Member
    Plugin Author

    Posted 2 years ago #

    Release now has these recommendations implemented, thanks for the heads up ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic