{"id":7854,"date":"2025-11-03T18:23:12","date_gmt":"2025-11-03T16:23:12","guid":{"rendered":"https:\/\/mummila.net\/kommentit\/?p=7854"},"modified":"2025-11-03T18:23:28","modified_gmt":"2025-11-03T16:23:28","slug":"custom-template-in-feed-output","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2025\/11\/03\/custom-template-in-feed-output\/","title":{"rendered":"Custom template in feed output"},"content":{"rendered":"<p>I\u2019ve been using a custom template, which I\u2019ve hooked in via the <code>vlp_get_template<\/code> filter in my theme, to format previews in the blog\u2019s RSS feed to my liking.<\/p>\n<p>With 2.2.8 this seems to be outright prevented:<\/p>\n<p>\u201cFix: Only output link in RSS feed\u201d<\/p>\n<p>Indeed, there\u2019s now a branching upon <code>is_feed()<\/code> in <code>VLP_Link::output()<\/code> before <code>VLP_Template_Manager::get_template()<\/code> is called, so my filter is never applied.<\/p>\n<p>Would it be possible to have a filter for the feed case too? I see there\u2019s been someone with <a href=\"https:\/\/wordpress.org\/support\/topic\/rss-support-4\/\">a problem with their RSS feeds<\/a>, but having just the link in the feed is a bit too simplistic for my use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With 2.2.8 this seems to be outright prevented. Would it be possible to have a filter for the feed case too? Having just the link is a bit too simple.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1097],"tags":[2115,2965],"class_list":["post-7854","post","type-post","status-publish","format-standard","hentry","category-keskustelupalstat","tag-rss","tag-wordpress","sijainti-wordpress-support-forums"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/7854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=7854"}],"version-history":[{"count":1,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/7854\/revisions"}],"predecessor-version":[{"id":7855,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/7854\/revisions\/7855"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=7854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=7854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=7854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}