WordPress.org

Support

Support » Plugins and Hacks » Advanced AJAX Page Loader » [Resolved] Just want to exclude homepage from ajax load

[Resolved] Just want to exclude homepage from ajax load

  • Hi,

    I have been using the plugin to great effect on my site, and have modified line 43 of the ajax-page-loader.js to exclude some page of my site from loading in ajax.

    Ex: if ( this.href.indexOf(AAPLhome) >= 0 etc….

    Now i need to exclude the homepage links from loading in ajax. I cant use the full relative path as that means all links will be excluded so I tried to target my links by adding a class and using the jquery hasClass selector. However this does not work.

    Ex: if ( this.hasClass(‘homelink)) etc….

    This gives the error this.hasClass is not a function. Can someone with a little more jquery experience please help me out to get this working?

    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Just want to exclude homepage from ajax load’ is closed to new replies.
Skip to toolbar