Support » Plugin: Yoast SEO » %%excerpt%%

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

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

    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 ),

    Thanks okito,

    the description work now

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘%%excerpt%%’ is closed to new replies.