• Hello,

    First off, thanks for this amazing plugin – the only one that works well with qTranslate-X.

    I’ve noticed a bug with “Turn off descriptions for excerpts” plugin option. The help tooltip for this option says:

    By default FV Simpler SEO will show meta description when post excerpt is called in the theme and it’s not filled in.

    In my case post excerpt is filled in and is called in theme template via the_excerpt() but the plugin still forces displaying of meta description.

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter Nazar Hotsa

    (@bugnumber9)

    I checked the code and found this function:

    
      function description_for_excerpt( $excerpt ) {
        global $post;
        if( $description = get_post_meta( $post->ID, '_aioseop_description', true ) ) {
          if( strlen($description) > 0 ) {
            return $description;
          }
        }
        return $excerpt;
      }
    

    So it’s checking if meta description is filled in, and if it is – it returns meta description. Looks like the check if excerpt is filled is missing.

Viewing 1 replies (of 1 total)
  • The topic ‘“Turn off descriptions for excerpts” works erratically’ is closed to new replies.