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, 2022 in Others by Kichu
• 19,040 points
570 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, 2022 by narikkadan
• 63,600 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, 2022 in Others by narikkadan
• 63,600 points
718 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, 2022 in Others by Kichu
• 19,040 points
751 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, 2022 in Others by gaurav
• 23,260 points
4,217 views
0 votes
1 answer

SEO META TAG og:description vs description

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

answered Feb 20, 2022 in Others by narikkadan
• 63,600 points
748 views
0 votes
1 answer

Simple question regarding PHP, Wordpress & Yoast SEO

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

answered Feb 14, 2022 in Others by narikkadan
• 63,600 points
497 views
0 votes
1 answer

Wordpress seo silo category/term-tree for sidebar

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

answered Feb 26, 2022 in Others by narikkadan
• 63,600 points
795 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, 2022 in Others by narikkadan
• 63,600 points
1,104 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, 2022 in Others by narikkadan
• 63,600 points
1,607 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, 2022 in Others by narikkadan
• 63,600 points
1,785 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, 2022 in Others by narikkadan
• 63,600 points
600 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP