Extra OG meta info + lots of code for image in header

This topic has 13 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp

  • Avatar: Jimbo
    Jimbo
    Participant
    March 12, 2015 at 01:27

    Hi,

    On my home page header I have additional OG (Open Graph) meta links and I can’t work out where they are coming from, this also includes a default image for Facebook … I have not added this. I don’t have wordpress seo social option enabled.

    Please look at the home page using view source through a web browser.

    Can this be removed?

    Also I have rel link (shortcut icon?) for a png image which has a lot of random code / text just under the viewport code, what is this as it seems a lot of code in the header.

    Website in private content

    Look forward to your reply.

    Please, contact administrator
    for this information.
    12 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 12, 2015 at 12:51

    Hello,

    Could you please show a screen shot of the issue you’re talking about?

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Jimbo
    Jimbo
    Participant
    March 12, 2015 at 14:27

    Eva,

    I would rather not as some info is confidential which I would rather keep in private.

    Quite simply all you need to do is view source code in IE or firefiox and you will see the code at the top in the <head> section.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    March 12, 2015 at 15:34

    Hello,

    Do you want to remove meta name, title?
    Could you please specify what exactly you want to hide?

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Jimbo
    Jimbo
    Participant
    March 12, 2015 at 15:44

    Eva there is og meta info and a Facebook image link that leads to a 404 error page.

    Also why so much text for the shortcut icon ?

    shortcut icon

    And og meta info in header, I have put image link in private content

    Please, contact administrator
    for this information.
    Avatar: Jimbo
    Jimbo
    Participant
    March 13, 2015 at 15:46

    Still no reply to this topic.

    Guys I feel like you are ignoring my topics now?

    Avatar: Jimbo
    Jimbo
    Participant
    March 13, 2015 at 23:45

    it appears that opengraph is being loaded through the doc type, maybe this is from the demo data?

    can you confirm if it is being loaded via this:

    <!DOCTYPE html>
    <html lang=”en-GB” xmlns:og=”http://opengraphprotocol.org/schema/&#8221; xmlns:fb=”http://www.facebook.com/2008/fbml”&gt;

    I would like to remove this as I can add the opengraph via wordpress SEO by Yoast if required.

    As previously mentioned the data included from this opengraph data points to a non valid facebook image which also brings up an 404 error page as the file does not exist in the uploads root folder.

    Many thanks

    Avatar: Jimbo
    Jimbo
    Participant
    March 15, 2015 at 15:44

    To add further to this, the open graph data is being added to the doc type for sure.

    W3C Validation also pulls this up and says it should not be included with the doc type, please see image included.

    I would like to remove this from the header / doc type please.

    facebook open graph data

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 16, 2015 at 14:19

    Hello,

    I don’t see any additional code for shortcut icon.

    If you want to change Facebook Open Graph Meta Data you need to edit woopress/framework/theme-functions.php (lines 1305 – 1370).

    Regards,
    Olga Barlow

    Avatar: Jimbo
    Jimbo
    Participant
    March 16, 2015 at 19:51

    Ok, can it be removed totally?

    I noticed the website went down earlier on.

    Can the doc type with open graph data be removed as W3C validation advised it should not be there.

    Can I comment it out or add filter not to display it?

    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 17, 2015 at 16:33

    Hello,

    If you don’t plan to use this function you can comment out it.

    Regards,
    Olga Barlow

    Avatar: Jimbo
    Jimbo
    Participant
    March 17, 2015 at 17:47

    Ok thanks Olga

    Avatar: Eva
    Eva Kemp
    Support staff
    March 17, 2015 at 21:13

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 13 results - 1 through 13 (of 13 total)

The issue related to '‘Extra OG meta info + lots of code for image in header’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.