Support Forum
you want to remove the OG Tags from any forum page???
something like this should do the trick:
add_action('wp_head', 'sp_remove_seo_og', 1); function sp_remove_seo_og() { if (sp_is_forumpage()) remove_action( 'wpseo_head', array( $GLOBALS['wpseo_og'], 'opengraph' ), 30 ); }
added to your spFunctions.php file of your sp theme...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
you want to remove the OG Tags from any forum page???something like this should do the trick:
<br />
add_action('wp_head', 'sp_remove_seo_og', 1); function sp_remove_seo_og() { if (sp_is_forumpage()) remove_action( 'wpseo_head', array( $GLOBALS['wpseo_og'], 'opengraph' ), 30 ); }<br />
added to your spFunctions.php file of your sp theme...
That sounds interesting. Will try that tomorrow. Google still indexes my forum with no problems. Possibly add open graph and featured image support for sp? Add to the current seo plugin or add another. It's really needed for social sharing sp forum posts.
As it is now I would rather sites scrape sp title and description meta instead of the forum page default og tags.
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
you are seeing the OG tags with my code change? It removes them for me on forum pages...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
you are seeing the OG tags with my code change? It removes them for me on forum pages...
No I have not done the code change yet, will do that in the morning. Just wanted to add a screen grab to my article for Joost to see.
He could have helped with it. Instead he washed his hands of it and told me to hire a freelancer. Not good customer service especially after I sent him $89.
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
ah, okay... let us know...
frankly, never met the guy, but keep hearing the same thing over and over about him... word tends to get around...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
ah, okay... let us know...frankly, never met the guy, but keep hearing the same thing over and over about him... word tends to get around...
Thanks Steve, worked like a charm!
Maybe Joost De valk's success has went to his head. An old saying "too big for his britches" seems appropriate in this situation.
I sure am grateful for you guys friendly support.
Regards, Ed
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
I'm wondering if these share sites have this url cached in?
I dumped my cache on CloudFlare. But when trying to share this post they scraped the same thing. And i can not see any og meta data in the source code, other than the twitter data.
But this is what hootsuite scraped.
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
I would imagine they would... plus its a short url so likely cached too...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)