Support » Plugin: All in One SEO Pack » auto generated description issue

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Peter Baylies



    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.

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘auto generated description issue’ is closed to new replies.