Community Forums › Forums › General Discussion › HELP! I just edited the header.php and site is not working!!!!
Tagged: header.php
This topic contains 21 replies, has 3 voices, and was last updated by benconnor 3 months, 2 weeks ago.
-
AuthorPosts
-
February 8, 2013 at 12:29 am #18873
Hi Anitac,
Thanks for the info on being sure to put the actual URL of the image rather than the image post.
Will do when I can actually figure out where to put it.
I understand that the plugin has worked for you, but it isn’t working for me and I can’t figure out why.
Am I right in thinking that there isn’t a way, or you don’t know anyway to alter the facebook graph API?
Do you know what it means when your Easy Facebook Share Thumbnails debug says this:
More Than One OG URL Specified:
Object at URL ‘http://benconnormusic.com’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: http://benconnormusic.com, http://benconnormusic.com/.Any help would be much appreciated
Cheers,
Ben
February 8, 2013 at 1:55 am #18878Eureka!!!!!
Problem solved.
All I had to do was enter the following code into the function.php:
add_filter('jetpack_enable_opengraph','__return_false', 99 );Jetpack was to blame.
The website’s post has all the answers
Cheers,
Ben
February 8, 2013 at 1:55 am #18879Eureka!!!!!
Problem solved.
All I had to do was enter the following code into the function.php:
add_filter('jetpack_enable_opengraph','__return_false', 99 );Jetpack was to blame.
The website’s post has all the answers
Cheers,
February 8, 2013 at 1:56 am #18880Oops here’s the website:
February 8, 2013 at 2:55 am #18888February 8, 2013 at 3:47 am #18901Um…
Actually, may not be resolved.
Where as the FB ‘like’ button works, the share button is doing strange things.
May be that it will just a take a bit of time to correct itself.
What I’m actually thinking is that the jetpack open graph tags are required for it to do it’s thing properly and there is another plugin generating open graph tags that I have to locate.
I do not have the wordpress SEO plugin enabled (as mentioned in the article) so it must be another one.
I’ll try deactivating a few of them tomorrow.Let me know if you have any ideas.
Cheers,
Ben
February 8, 2013 at 3:59 am #18903OKay,
I’ve figured it out.
Nine hours of stuffing around – the price you pay for ignorance (or stupidity – take your pick)
I had an FB like button plugin as well as the publicise share buttons from jetpack active – i guy told me to activate a whole lot of plugins when I set up the site. I shouldn’t have listened!
I just switched off the FB like button and the share buttons work fine.
Cheers,
Ben
-
AuthorPosts
You must be logged in to reply to this topic.