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

  1. Frank Goossens
    Posted 3 years 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?


  2. Peter Baylies
    Plugin Contributor

    Posted 3 years ago #


    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. Frank Goossens
    Posted 3 years 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

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic