seo meta description issue in google search

- 1 answer


This is my first time to use Yoast SEO plugin in my website, I'm trying to add meta description to every pages and every post in my website.

When I search it on google, seems like the meta description does not show at all, instead google take the content from the website page as the meta description.

When I looked at the page source, there is a content that I set in Yoast SEO as my meta description

this is my website

I already change tag in my page to be like this to match with the SEO

<title><?php if ( is_category() ) {
    echo 'Category Archive for &quot;'; single_cat_title(); echo '&quot; | '; bloginfo( 'name' );
} elseif ( is_tag() ) {
    echo 'Tag Archive for &quot;'; single_tag_title(); echo '&quot; | '; bloginfo( 'name' );
} elseif ( is_archive() ) {
    wp_title(''); echo ' Archive | '; bloginfo( 'name' );
} elseif ( is_search() ) {
    echo 'Search for &quot;'.wp_specialchars($s).'&quot; | '; bloginfo( 'name' );
} elseif ( is_home() || is_front_page() ) {
    bloginfo( 'name' ); echo ' | '; bloginfo( 'description' );
}  elseif ( is_404() ) {
    echo 'Error 404 Not Found | '; bloginfo( 'name' );
} elseif ( is_single() ) {
} else {
    echo wp_title( ' | ', false, right ); bloginfo( 'name' );
} ?>

Is there any reference that can explain/help me to make the meta description work?

Is there any settings that I need to change from the plugin section?

I also have a question for meta description template from the plugin page, do I just leave it blank or should I add some variables?




This is expected behavior. It's best to think of the meta description as a default or a fallback in the absence of more relevant page content. Google is most concerned with delivering content that is of most relevance to a user's specific search and will always use the actual page content when it can to show users what to expect if they visit the page. The old model, of displaying the meta description in search results, is a relic from a time when the web was catalogued more like a massive directory. There's ample info on this but I recommend checking out Matt Cutts' videos for related info.