WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
%%excerpt%% (5 posts)

  1. stathis_k91
    Member
    Posted 1 year ago #

    Hi,
    the %%excerpt%% tag doesn't make a description for custom post types,for Greek language, it appears like ???????????

    Thanks
    Stathis

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. paulsanduleac
    Member
    Posted 1 year ago #

    On Yoast SEO 1.2.8.7, WP 3.4.2 same for content in russian. But only for auto-generated excerpts, if I write it manually it works ok.

  3. stathis_k91
    Member
    Posted 1 year ago #

    I need it for auto-generated excerpts, i have the description empty until the developer fix the bug.

  4. okito
    Member
    Posted 1 year ago #

    You must edit wpseo-functions.php.
    Change this :
    utf8_encode( substr( strip_shortcodes( strip_tags( utf8_decode( $r->post_content ) ) ), 0, 155 ) ),
    to :
    wp_html_excerpt( strip_shortcodes( $r->post_content ), 155 ),

  5. stathis_k91
    Member
    Posted 1 year ago #

    Thanks okito,

    the description work now

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic