• Resolved shirazdrum

    (@shirazdrum)


    Hi there,

    jQuery is only loading on front page not other pages.

    Uncaught ReferenceError: jQuery is not defined

    For two files, backtotop.js and tinynav.js

    Thanks again for sharing your work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • M

    (@metacomcreative)

    Do you have a link to a public facing example that we can take a look at?

    Hi shirazdrum,

    Thanks for reporting the bug. Actually we already found it and submitted the version update with the fix just yesterday. The fixed updated version will be out soon with in the week.

    Anyways thanks again for reporting the bug.

    Regards,
    Rabin

    Thread Starter shirazdrum

    (@shirazdrum)

    @ryan: thanks for the help but this was directed towards the developer of the theme so he could fix it for others.

    @team Horse (developer),

    Enqueqe the WordPress jQuery before the tinynav.js and backtotop.js scripts

    on line 53 of functions.php in the library directory, add it like so:

    wp_enqueue_script( 'jquery', ATTITUDE_JS_URL. '/jquery.js' );

    or load it earlier any other way.

    Thread Starter shirazdrum

    (@shirazdrum)

    @rabin Shrestha

    That’s great, keep up the good work, it’s refreshing to see a well coded theme :))

    Thanks, Chris

    Thread Starter shirazdrum

    (@shirazdrum)

    Also if I may make a few suggestions:

    Incorporate Meta Boxes into the theme for title tag rewrite, meta keywords, meta descriptions, and indexing options and separate the H1 tags from site title and have them pull the page title instead to avoid duplicates.

    Also inlining or combining your small JS files such as the two mentioned above and comment-reply.min.js will improve the performance significantly.

    Loading both Google fonts in one link will reduce the load by one more request and also protects against blocking on older browsers which only have 2 connections open per domain at a time.

    Do it like so:

    href="https://fonts.googleapis.com/css?family=Droid+Sans

    Overall , It’s a great theme and I gave it five stars. I’ll send you a few bucks for beer and aspirin money shortly:)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug report, attitude theme’ is closed to new replies.