WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
[resolved] auto generated description issue (3 posts)

  1. futtta
    Member
    Posted 1 year ago #

    I'm the author of a plugin (wp youtube lyte) that parses the_content for specific strings (links, actually) that are subsequently replaced. The plugin comes with a code to make sure that the_excerpt does not contain those strings.

    The problem; AIOSEO does not use the_excerpt to generate the description, but does it's own parsing of $post->post_content. Do (or can) you provide a hook somewhere in AIOSEO for me to filter out the strings (that are of no use in there) or do you see any other way to handle this in a proper way?

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  2. Peter Baylies
    Member
    Plugin Author

    Posted 1 year ago #

    futtta,

    Actually, AIOSEO will use the post excerpt if a manual excerpt is present; there are also filters you can use for this, I'd suggest hooking into the aioseop_description filter, and there's also an aioseop_description_override filter that runs a bit later in the process, but you shouldn't need that.

  3. futtta
    Member
    Posted 1 year ago #

    well, $post->post_excerpt is not the same as the_excerpt(), but the aioseop_description-filter is just what the doctor ordered. thanks for the excellent support!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic