{"id":2835,"date":"2012-06-30T12:38:27","date_gmt":"2012-06-30T16:38:27","guid":{"rendered":"http:\/\/judykat.com\/ken-judy\/?p=2835"},"modified":"2014-07-20T13:43:44","modified_gmt":"2014-07-20T17:43:44","slug":"removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php","status":"publish","type":"post","link":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/","title":{"rendered":"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php"},"content":{"rendered":"<p>I&#8217;ve come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment:<\/p>\n<pre class=\"start-line:721 tab-size:2 lang:php decode:true \" title=\"sharedaddy (jetpack sharing) facebook sharing\" >\tpublic function display_header() {\r\n\t\tif ( $this-&amp;gt;share_type == 'share' ) {\r\n\t\t\t\/\/ Set the open graph description, otherwise Facebook may pick up some random text from the page\r\n\t\t\tglobal $post;\r\n\t\t\t\r\n\t\t\tif ( $post &amp;amp;&amp;amp; $post-&amp;gt;ID &amp;gt; 0 )\r\n\t\t\t\techo '&amp;lt;meta property=\"og:description\" content=\"'.esc_attr( apply_filters( 'sharing_post_title', $post-&amp;gt;post_title, $post-&amp;gt;ID, $this-&amp;gt;id ) ).'\" \/&amp;gt;';\r\n\t\t}\r\n\t}<\/pre>\n<p><a href=\"http:\/\/plugins.trac.wordpress.org\/browser\/jetpack\/trunk\/modules\/sharedaddy\/sharing-sources.php\" title=\"source in wordpress trak\">Source in wordpress trak.<\/a><\/p>\n<p>Problem is I&#8217;d rather define my og tags or rely on a plugin focused on doing this well. <\/p>\n<p><a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-facebook-open-graph-protocol\/\">There are several plugins to do open graph tag insertion<\/a> that do a better job. You may want to roll your own directly into your theme or using one of the general SEO plugins.<\/p>\n<p>So, I want to remove these extraneous tags. Online tips suggest I go into each plugin and comment out the php code inserting these tags. That&#8217;s a direct option but I hate modifying plugins. I don&#8217;t want to maintain these hacks through updates.<\/p>\n<p>So, I solved with javascript. The approach is a hack. It requires that sharedaddy and other plugins insert their og:description tags before the tags I want to preserve and that I start my desired facebook tags with an fb:admins tag.<\/p>\n<pre class=\"lang:js decode:true tab-size:2\" title=\"Removing sharedaddy og:description\" >function removeExtraOpenGraphMetaTags()\r\n{\r\n\t\/\/assumes extra og tags occur before an fb:admins\r\n\tvar first_og_tag = jQuery(\"meta[property]\").first();\r\n        \/\/if the first meta tag with a property attribute is fb:admins - do nothing\r\n\tif (jQuery(\"meta[property]\").first().attr('property') != 'fb:admins') \r\n\t{\r\n\t\t\/\/remove all subsequent og tags until fb:admins\r\n\t\tvar removed_tags = first_og_tag.nextUntil(\"meta[property='fb:admins']\", \"meta[property*='og:']\").remove();\r\n\t\tif (removed_tags) { first_og_tag.remove(); }\r\n\t}\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in &hellip; <a href=\"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":2535,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[30],"tags":[719,87,860,112,861,96],"class_list":["post-2835","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-development","tag-facebook","tag-javascript","tag-opengraph","tag-seo","tag-sharedaddy","tag-wordpress"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"I&#039;ve come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Ken Judy\"\/>\n\t<meta name=\"keywords\" content=\"facebook,javascript,opengraph,seo,sharedaddy,wordpress,software development\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ken  Judy | Building AI Solutions That Work and Coaching Leaders Through Change\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Removing sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy\" \/>\n\t\t<meta property=\"og:description\" content=\"I&#039;ve come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-06-30T16:38:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-07-20T17:43:44+00:00\" \/>\n\t\t<meta property=\"article:author\" content=\"kenjudy\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Removing sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I&#039;ve come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@kenjudy\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#article\",\"name\":\"Removing sharedaddy\\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy\",\"headline\":\"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php\",\"author\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/author\\\/ken\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/wp-content\\\/uploads\\\/2011\\\/04\\\/existential-joy-of-agile-practice.011.png\",\"width\":1024,\"height\":768,\"caption\":\"Darts Missing Board\"},\"datePublished\":\"2012-06-30T12:38:27-04:00\",\"dateModified\":\"2014-07-20T13:43:44-04:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#webpage\"},\"articleSection\":\"software development, Facebook, javascript, opengraph, seo, sharedaddy, wordpress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/judykat.com\\\/ken-judy\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/category\\\/software-development\\\/#listItem\",\"name\":\"software development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/category\\\/software-development\\\/#listItem\",\"position\":2,\"name\":\"software development\",\"item\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/category\\\/software-development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#listItem\",\"name\":\"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#listItem\",\"position\":3,\"name\":\"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/category\\\/software-development\\\/#listItem\",\"name\":\"software development\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/#person\",\"name\":\"Ken Judy\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0afc45b1325360e0cc414a2f6a0f1e85cd1a41dfff008d3172b91fba8fac3de8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Ken Judy\"},\"sameAs\":[\"kenjudy\",\"kenjudy\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/author\\\/ken\\\/#author\",\"url\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/author\\\/ken\\\/\",\"name\":\"Ken Judy\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0afc45b1325360e0cc414a2f6a0f1e85cd1a41dfff008d3172b91fba8fac3de8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Ken Judy\"},\"sameAs\":[\"kenjudy\",\"kenjudy\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#webpage\",\"url\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/\",\"name\":\"Removing sharedaddy\\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy\",\"description\":\"I've come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/author\\\/ken\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/author\\\/ken\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/wp-content\\\/uploads\\\/2011\\\/04\\\/existential-joy-of-agile-practice.011.png\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#mainImage\",\"width\":1024,\"height\":768,\"caption\":\"Darts Missing Board\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\\\/#mainImage\"},\"datePublished\":\"2012-06-30T12:38:27-04:00\",\"dateModified\":\"2014-07-20T13:43:44-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/#website\",\"url\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/\",\"name\":\"Ken  Judy\",\"description\":\"Building AI Solutions That Work and Coaching Leaders Through Change\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/judykat.com\\\/ken-judy\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Removing sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy","description":"I've come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public","canonical_url":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/","robots":"max-image-preview:large","keywords":"facebook,javascript,opengraph,seo,sharedaddy,wordpress,software development","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#article","name":"Removing sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy","headline":"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php","author":{"@id":"https:\/\/judykat.com\/ken-judy\/author\/ken\/#author"},"publisher":{"@id":"https:\/\/judykat.com\/ken-judy\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/judykat.com\/ken-judy\/wp-content\/uploads\/2011\/04\/existential-joy-of-agile-practice.011.png","width":1024,"height":768,"caption":"Darts Missing Board"},"datePublished":"2012-06-30T12:38:27-04:00","dateModified":"2014-07-20T13:43:44-04:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#webpage"},"isPartOf":{"@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#webpage"},"articleSection":"software development, Facebook, javascript, opengraph, seo, sharedaddy, wordpress"},{"@type":"BreadcrumbList","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/judykat.com\/ken-judy#listItem","position":1,"name":"Home","item":"https:\/\/judykat.com\/ken-judy","nextItem":{"@type":"ListItem","@id":"https:\/\/judykat.com\/ken-judy\/category\/software-development\/#listItem","name":"software development"}},{"@type":"ListItem","@id":"https:\/\/judykat.com\/ken-judy\/category\/software-development\/#listItem","position":2,"name":"software development","item":"https:\/\/judykat.com\/ken-judy\/category\/software-development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#listItem","name":"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php"},"previousItem":{"@type":"ListItem","@id":"https:\/\/judykat.com\/ken-judy#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#listItem","position":3,"name":"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php","previousItem":{"@type":"ListItem","@id":"https:\/\/judykat.com\/ken-judy\/category\/software-development\/#listItem","name":"software development"}}]},{"@type":"Person","@id":"https:\/\/judykat.com\/ken-judy\/#person","name":"Ken Judy","image":{"@type":"ImageObject","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/0afc45b1325360e0cc414a2f6a0f1e85cd1a41dfff008d3172b91fba8fac3de8?s=96&d=mm&r=g","width":96,"height":96,"caption":"Ken Judy"},"sameAs":["kenjudy","kenjudy"]},{"@type":"Person","@id":"https:\/\/judykat.com\/ken-judy\/author\/ken\/#author","url":"https:\/\/judykat.com\/ken-judy\/author\/ken\/","name":"Ken Judy","image":{"@type":"ImageObject","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0afc45b1325360e0cc414a2f6a0f1e85cd1a41dfff008d3172b91fba8fac3de8?s=96&d=mm&r=g","width":96,"height":96,"caption":"Ken Judy"},"sameAs":["kenjudy","kenjudy"]},{"@type":"WebPage","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#webpage","url":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/","name":"Removing sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy","description":"I've come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/judykat.com\/ken-judy\/#website"},"breadcrumb":{"@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#breadcrumblist"},"author":{"@id":"https:\/\/judykat.com\/ken-judy\/author\/ken\/#author"},"creator":{"@id":"https:\/\/judykat.com\/ken-judy\/author\/ken\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/judykat.com\/ken-judy\/wp-content\/uploads\/2011\/04\/existential-joy-of-agile-practice.011.png","@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#mainImage","width":1024,"height":768,"caption":"Darts Missing Board"},"primaryImageOfPage":{"@id":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/#mainImage"},"datePublished":"2012-06-30T12:38:27-04:00","dateModified":"2014-07-20T13:43:44-04:00"},{"@type":"WebSite","@id":"https:\/\/judykat.com\/ken-judy\/#website","url":"https:\/\/judykat.com\/ken-judy\/","name":"Ken  Judy","description":"Building AI Solutions That Work and Coaching Leaders Through Change","inLanguage":"en-US","publisher":{"@id":"https:\/\/judykat.com\/ken-judy\/#person"}}]},"og:locale":"en_US","og:site_name":"Ken  Judy | Building AI Solutions That Work and Coaching Leaders Through Change","og:type":"article","og:title":"Removing sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy","og:description":"I've come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public","og:url":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/","article:published_time":"2012-06-30T16:38:27+00:00","article:modified_time":"2014-07-20T17:43:44+00:00","article:author":"kenjudy","twitter:card":"summary","twitter:title":"Removing sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php | Ken Judy","twitter:description":"I've come across a problem where multiple plugins insert facebook opengraph meta tags into the header of my posts without letting me turn that behavior on or off. They all assume that no one explicitly puts open graph tags in their blog. This includes sharedaddy (jetpack sharing). It does so with the following comment: public","twitter:creator":"@kenjudy"},"aioseo_meta_data":{"post_id":"2835","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 05:19:30","updated":"2025-06-04 06:20:43","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/judykat.com\/ken-judy\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/judykat.com\/ken-judy\/category\/software-development\/\" title=\"software development\">software development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRemoving sharedaddy\u2019s (jetbacks sharing) extra og:description without hacking php\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/judykat.com\/ken-judy"},{"label":"software development","link":"https:\/\/judykat.com\/ken-judy\/category\/software-development\/"},{"label":"Removing sharedaddy&#8217;s (jetbacks sharing) extra og:description without hacking php","link":"https:\/\/judykat.com\/ken-judy\/removing-sharedaddys-jetbacks-sharing-extra-ogdescription-hacking-php\/"}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/judykat.com\/ken-judy\/wp-content\/uploads\/2011\/04\/existential-joy-of-agile-practice.011.png","_links":{"self":[{"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/posts\/2835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/comments?post=2835"}],"version-history":[{"count":1,"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/posts\/2835\/revisions"}],"predecessor-version":[{"id":3285,"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/posts\/2835\/revisions\/3285"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/media\/2535"}],"wp:attachment":[{"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/media?parent=2835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/categories?post=2835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judykat.com\/ken-judy\/wp-json\/wp\/v2\/tags?post=2835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}