Home / Admin / Append a string to the Meta Description of each post
Duplicate Snippet

Embed Snippet on Your Site

Append a string to the Meta Description of each post

This snippet can be used to append a string to the Meta Description of each post

20+
Code Preview
php
<?php
add_filter( 'aioseo_description', 'aioseo_filter_description' );
function aioseo_filter_description( $description ) {
   if ( is_singular() ) {
      return $description . 'some additional description content here';
   }
   return $description;
}

Comments

Add a Comment