WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 weeks ago

Last modified 3 weeks ago

#43004 closed enhancement (wontfix)

Keep shortcodes in the RSS summary feed

Reported by: jpnl Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.1
Component: Feeds Keywords:
Focuses: Cc:

Description

WordPress keeps/processes shortcodes for the full text feed, but removes them from the automatic excerpt in the summary feed.

If you use a page builder theme, everything is wrapped inside a shortcode, so the summary feed is always empty.

I think the RSS feed should always contain the actual text that is also displayed when you visit the article. So shortcode output should also be included.

Change History (3)

This ticket was mentioned in Slack in #core by noisysocks. View the logs.


3 weeks ago

#2 @peterwilsoncc
3 weeks ago

  • Component changed from General to Feeds
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

This ticket was discussed in a triage session today.

It was decided to close the ticket as wontfix as excerpts do not support shortcodes in WordPress core and now that the block-editor is the preferred editor it's generally considered best not to expand shortcode support.

#3 @sabernhardt
3 weeks ago

When provided, custom (manual) excerpts would show up in a summary feed, already in WordPress 5.5. You can copy and paste exactly what you want the summary to be in those (even with a page builder theme/plugin).

There also might be a way to use the wp_trim_excerpt filter for automated fallbacks, though my testing is unsuccessful the way I tried it.

Last edited 3 weeks ago by sabernhardt (previous) (diff)
Note: See TracTickets for help on using tickets.