cryout_header_hook(); wp_head() causes bug affecting facebook opengraph

  • Author
  • #3543

    Hey there, I’d really like to know what the exact effect of those 3 lines found in the header.php is:

    wp_head(); ?>

    If I remove them, my whole page is messed up. I’d rather not do it, of course, but here’s the issue:

    I added some <meta> tags to the header file concerning Facebook’s OpenGraph (the usual ‘og:’ – tags). So I can implement a like button where I want to have it. If i do ‘like’ something now, nothing happens on facebook. I checked Facebook’s object debugger and it said that there were multiple values for ‘og:url’ specified. In fact, there was only one value specified, I’ve been looking everywhere, although the ‘og:url’ tag can only be located in the <head> – area.

    Whatever, i managed to ‘solve’ this problem by removing the three lines given above. The object debugger said that all was well. I guess that’s because the object debugger doesn’t look at the design and stuff.

    I’d be really happy if you could help me with this issue.


    Cryout Creations mastermind

    If you remove those lines, of course the whole site is going be messed up. Those two lines output about half of the site’s HTML code (including the <head> and header sections).

    I don’t know anything about Facebook’s OpenGraph, but I’ll document myself and see if I can come up with an answer.

    If you like our creations, help us share by rating them on
    Please check the available documentation and search the forums before starting a topic.

    Thanks for your effort! Let me know if you need help relating to OpenGraph.


    Finally figured out that those lines were not the actual problem. This thread can be closed!

    For those who wonder: I looked over the page as seen by the OpenGraph Crawler and found out that the og:url was two times implemented indeed.

    Cryout Creations mastermind

    Good to know!

    Before posting consider reading our short theme debugging instructions.
    Please read the FAQs: MantraNirvanaParabolaTempera
    Tutorials: custom menustranslating themeinstalling themecategory page with introdisabling comments Wordpress: child themescategories/posts
    Before making any modifications to your theme we strongly recommend using Child Themes.
Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘cryout_header_hook(); wp_head() causes bug affecting facebook opengraph’ is closed to new replies.