-
AuthorPosts
-
February 8th, 2013 at 18:58 #3543Deepabysm
Hey there, I’d really like to know what the exact effect of those 3 lines found in the header.php is:
<?php
cryout_header_hook()
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.
Cheers.
February 14th, 2013 at 18:30 #3670ZedCryout Creations mastermindIf 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 WordPress.org.
Please check the available documentation and search the forums before starting a topic.February 16th, 2013 at 19:43 #3704DeepabysmThanks for your effort! Let me know if you need help relating to OpenGraph.
February 27th, 2013 at 00:51 #3874DeepabysmFinally 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.
February 28th, 2013 at 22:38 #3934KayCryout Creations mastermindGood to know!
Before posting consider reading our short theme debugging instructions.
Please read the FAQs: Mantra • Nirvana • Parabola • Tempera
Tutorials: custom menus • translating theme • installing theme • category page with intro • disabling comments Wordpress: child themes • categories/posts
Before making any modifications to your theme we strongly recommend using Child Themes. -
AuthorPosts
The topic ‘cryout_header_hook(); wp_head() causes bug affecting facebook opengraph’ is closed to new replies.