Custom template in feed output

3. marraskuuta 2025 klo 18.23
Sijainti: Keskustelupalstat: WordPress Support Forums
Avainsanat: RSS, WordPress

I’ve been using a custom template, which I’ve hooked in via the vlp_get_template filter in my theme, to format previews in the blog’s RSS feed to my liking.

With 2.2.8 this seems to be outright prevented:

“Fix: Only output link in RSS feed”

Indeed, there’s now a branching upon is_feed() in VLP_Link::output() before VLP_Template_Manager::get_template() is called, so my filter is never applied.

Would it be possible to have a filter for the feed case too? I see there’s been someone with a problem with their RSS feeds, but having just the link in the feed is a bit too simplistic for my use.

Vastaa viestiin sen kontekstissa (WordPress Support Forums)