Skip to content

Make {@post_excerpt} work the same way the_excerpt does. #3672

@m9n

Description

@m9n

Currently, there's no way with Pods shortcodes, to show a list of post excerpts, unless the user has explicitly set excepts for the posts.

WordPress calculates excerpts as follows (as far as I can tell):

  1. Get the excerpt field from the database,
  2. or, if that's not there, grab the text before the tag in the post content,
  3. or, if that's not there, grab a limited amount of text from the post content, based on a sane character/word count.

It would be really good (possibly even expected, by many) if the magic tag {@post_excerpt} worked in the same way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementEnhancements to features that already exist, but are not major additions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions