• Resolved shanDB

    (@shandb)


    Is there a way I can add additional text into the RSS feed?
    I use advanced custom fields to create the page layouts of my website. All the show notes for my podcast episode are done using a text field in ACF, and not the standard WordPress text editor. However my RSS feed is ignoring content that was added using ACF.

    I’m guessing there is a PHP file somewhere that generates the RSS feed that that I can modify? Where is it?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hello @shandb

    Yes, you can modify the template file that generates the RSS feed. This file is located in the templates directory, feed-podcast.php

    However, I would suggest that instead of modifying the core plugin file, you can rather create your own template file, as a copy of the plugin’s template file, and edit that.

    1. First, copy the /templates/feed-podcast.php from the plugin to a different location ideally in a child theme
    2. Then, use the ssp_feed_template_file filter, to tell WordPress to load your version of feed-podcast.php instead of the plugin version

    Once you have done this, you can edit your version of the feed-podcast.php file, to effect the changes you need, and your file won’t be overwritten when the plugin updates.

    Brian of London

    (@brianoflondon)

    I’ve created a file in my child theme and edited it, but the instructions here:

    “Then, use the ssp_feed_template_file filter, to tell WordPress to load your version of feed-podcast.php instead of the plugin version”

    Are not quite enough for me, can you flesh that step out?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Advanced custom fields in RSS feed’ is closed to new replies.