badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

theburgernerd

Forum Replies Created

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • Hi,

    I wanted to update this thread in case anyone else was having the same issues as I was. A plugin I had called “Infinite Scroll” was causing the Uncaught Reference Error.

    Hi,

    In regards to what I posted above. I kept doing some digging and figured out the Syntax Error was being caused by an issue with the jQuery version I was using so I was able to update it and resolve that issue. However, the Uncaught ReferenceError: jQuery is not defined (index):793 still remains…but now the line is actually showing up as 658, not 793. But it still does look like it’s in reference to the Category Widget.

    Thanks again,

    Trevor

    in reply to: How to change h1 & h2 header on pages and posts #9550

    Hi,

    Sounds great! I look forward to the update. Is there an eta for the update? If it will be awhile before it’s released, do you currently have a work around solution?

    I was also wondering if you are going to include a patch for the Google authorship issues that you recently helped me fix (https://www.themehorse.com/support-forum/topic/error-missing-required-field-updated-google-webmaster/). Basically I’m wondering if I will have to manually re-patch the content.php again or if it will be included.

    Thanks for getting back to me,

    Trevor

    Hi Theme Horse Gang,

    For some reason, the errors are only showing up on my homepage now and not posts or pages. I’m thinking now maybe it was a server issue causing it. I’m hosted by Bluehost which had an update and big crash yesterday…and now that they’re up and running again my post and page errors are gone.

    However, here are the two errors remaining that persistently show up on my Homepage.


    Uncaught ReferenceError: jQuery is not defined (index):793

    Uncaught SyntaxError: Unexpected token < ?v=1.11.0

    Line 793 looks like it is in reference to the drop down category widget in my right sidebar which is just the standard one from WordPress. Here’s what pops up when I click on line 793. Which seems odd to me because it doesn’t appear as an error on my pages or posts but only on my homepage.

    <script>
    /* <![CDATA[ */
    var dropdown = document.getElementById(“cat”);
    function onCatChange() {
    if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
    location.href = “http://www.theburgernerd.com/?cat=”+dropdown.options%5Bdropdown.selectedIndex%5D.value;
    }
    }
    dropdown.onchange = onCatChange;
    /* ]]> */
    </script>

    And in regards to the Uncaught SyntaxError: Unexpected token < ?v=1.11.0 , I’m not sure what’s causing it. These sort of things are a bit above my head. Would it have something to do with my server or the delivery of my homepage code? Here’s my homepage if you wanted to inspect it directly http://www.theburgernerd.com

    My thanks in advance for your help.

    Trevor

    Thanks so much Sanjip for posting the code and each line where the change had to be made. It worked perfectly. Just finished live testing it on Google Webmaster and it cleared up every issue.

    Thanks again and have a great weekend.

    Kind Regards,

    Trevor

    Just tried the above with a live test, crashed the site.

    What would be ideal is if Theme Horse updated the Clean Retina Pro to include a fix for everyone, since these things are now a “necessity” for Google and all your clients are subject to this. You guys are the programmers and know your own code inside and out, the customers don’t. If it’s as easy as adding or replacing a few lines, then it should take very little effort on your part to do this for everyone or at least provide a lot more detailed instruction. I really like using the theme and have no issues with continuing to do so (and continuing to pay for it), but only if the theme can stay relevant to the times. I’ve already started looking at other premium theme options and will cancel my account if you are unable to provide a reasonable fix to this problem.

    Hi Rabin,

    Thank you for getting back to me. I’ve seen that link before, in fact I’ve seen a lot of info about it, but where I get stumped is which part of the code do I edit. Before posting for help, I searched that content php and couldn’t figure out where to edit or add such a code because the write up is different than the example given in the link you provided as well as all the other articles I read. Plus within that content file, do I add, edit, or replace the code in each section (ie. page, archives, single post, loop?). If you could give me a bit more to work with than simply directing me to someone else’s help forum then I would certainly appreciate it.

    Right now my game plan would be to do the following (but since my knowledge is very limited, I don’t want to experiment much for fear of crashing my website). This is the current code:

    </h2><!– .entry-title –>

    <div class=”entry-meta”>
    <span class=”by-author”><?php _e( ‘By’, ‘cleanretina’ ); ?> “><?php the_author(); ?></span>
    <span class=”date”>” title=”<?php echo esc_attr( get_the_time() ); ?>”><?php the_time( get_option( ‘date_format’ ) ); ?></span>

    Would I then change every relevant section of the content php to?:

    </h2><!– .entry-title –>

    <div class=”entry-meta”>
    <span class=”vcard author”>
    <span class=”fn”><?php _e( ‘By’, ‘cleanretina’ ); ?> “><?php the_author(); ?></span>
    <span class=”post_date date updated”>” title=”<?php echo esc_attr( get_the_time() ); ?>”><?php the_time( get_option( ‘date_format’ ) ); ?></span>

    Lastly, I noticed the “loop for page” doesn’t have anything like the above.

    Thanks,

    Trevor

    Also wanted to add that “Error: Missing required hCard “author” also appears as an error in Google’s structure data testing tool.

    Hi Carol and Sanjip,

    I was wondering if either of you could share the solution to that problem. I’m using Clean Retina Pro and can’t figure out how to fix the “Error: Missing required field “updated”

    My thanks in advance.

Viewing 9 posts - 16 through 24 (of 24 total)