Yoast SEO remove og description and twitter description on certain page

0 votes
how can i remove the og description and twitter description tag for a certain page with the yoast-seo plugin?
Feb 10 in Others by Kichu
• 19,040 points
77 views

1 answer to this question.

0 votes
 try this out it wil help 
add_filter("wpseo_opengraph_desc", "remove_yoast_og");
add_filter("wpseo_twitter_description", "remove_yoast_og");
function remove_yoast_og($description) {
    if (is_page(1093)) {
        return false;
    }

    return $description;
}
answered Feb 11 by narikkadan
• 10,840 points

Related Questions In Others

0 votes
1 answer

Yoast Seo breadcrumbs: How to add custom text to category and tag name

use this code  add_filter('wpseo_breadcrumb_single_link', 'filter_breadcrumbs_for_h1', 10, 2); function filter_breadcrumbs_for_h1($link_output, ...READ MORE

answered Feb 12 in Others by narikkadan
• 10,840 points
63 views
0 votes
0 answers

Yoast SEO/Facebook OG: Image not displaying after fb url change

i recently changed the name of my ...READ MORE

Feb 14 in Others by Kichu
• 19,040 points
59 views
0 votes
1 answer

datatable remove column on export to pdf and excel

When we are using jquery datatable for ...READ MORE

answered Feb 17 in Others by gaurav
• 13,560 points
715 views
0 votes
1 answer

SEO META TAG og:description vs description

your at a wrong assumption actually this ...READ MORE

answered Feb 20 in Others by narikkadan
• 10,840 points
37 views
0 votes
1 answer

Simple question regarding PHP, Wordpress & Yoast SEO

the way the search engine displays your ...READ MORE

answered Feb 14 in Others by narikkadan
• 10,840 points
33 views
0 votes
1 answer

Wordpress seo silo category/term-tree for sidebar

function children_sidebar_shortcode( $atts ) { ...READ MORE

answered Feb 26 in Others by narikkadan
• 10,840 points
110 views
0 votes
1 answer

How to Remove canonical tag added by Yoast SEO plugin

first  Log in to your WordPress website ...READ MORE

answered Feb 28 in Others by narikkadan
• 10,840 points
91 views
0 votes
1 answer

adding meta keyword in wordpress using yoast seo plugin.

You can use Advance Custom Fields plugin ...READ MORE

answered Feb 28 in Others by narikkadan
• 10,840 points
42 views
0 votes
1 answer

Yoast SEO - remove og:description and twitter:description

add_filter("wpseo_opengraph_desc", "remove_yoast_og"); add_filter("wpseo_twitter_description", "remove_yoast_og"); function remove_yoast_og($description) { ...READ MORE

answered Feb 27 in Others by narikkadan
• 10,840 points
94 views
0 votes
1 answer

Enabling SEO Optimizer in Magento 1.7 returns 404 error page on frontend links

Modified Magento's stock .htaccess to fit my ...READ MORE

answered Feb 10 in Others by narikkadan
• 10,840 points
97 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP