All in One SEO Pack
this.attr is not a function (1 post)

  1. htobon
    Posted 4 years ago #

    Hello Michael Torbert and collaborators,

    The following error is appearing in my firebug console since some time ago even after the last update (

    this.attr is not a function

    It would be great if you can fix it because at this moment is causing problem with a library named prettyPhoto. This library just show a set of images in a good style, but is a principal part of one of my webs.

    I hope you can take part of your time to analyze this issue.

    Thanks in advance.

    Since I'm not a PHP & WordPress expert, I just went to your plugin directory and edited the following file:
    and searched the following line:
    var href = this.attr('href');

    And I just put a false parameter to the "if" function where it is included:
    if(typeof jQuery == 'function')


    I know this is bad.. however with this change my web page is able to work.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic