Title: Adding Simple Chapters
Last modified: August 22, 2016

---

# Adding Simple Chapters

 *  [nilsonline](https://wordpress.org/support/users/nilsonline/)
 * (@nilsonline)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/adding-simple-chapters/)
 * I need some help implementing simple chapters. I need to add a `<atom:link>` 
   to a file with [simple-chapter](http://podlove.org/simple-chapters/) information
   inside the `<feed>` (Atom) or `<channel>` (RSS 2.0) element of the feed.
 * [https://wordpress.org/plugins/podpress/](https://wordpress.org/plugins/podpress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/adding-simple-chapters/#post-5401178)
 * Hello Nils,
 * I have read the Simple Chapter description and one quick solution for putting
   the Simple Chapters link to the `<feed>` and `<channel>` section of the feeds
   of your blog could be this:
 *     ```
       <?php
       /*
       Plugin Name: Add Simple Chapters Link
       Plugin URI:
       Description: adds the Simple Chapters link to the RSS and ATOM Feeds of the blog
       Author: ntm
       Version: 1.0
       Author URI: http://profiles.wordpress.org/users/ntm
       */
   
       add_action('rss2_head', 'add_simple_chapters_link_to_the_rss2_feeds');
       function add_simple_chapters_link_to_the_rss2_feeds() {
       	echo "\t".'<atom:link rel="http://podlove.org/simple-chapters" href="http://podlove.org/examples/chapters.psc" />'."\n";
       }
   
       add_action('atom_head', 'add_simple_chapters_link_to_the_atom_feeds');
       function add_simple_chapters_link_to_the_atom_feeds() {
       	echo "\t".'<link rel="http://podlove.org/simple-chapters" href="http://podlove.org/examples/chapters.psc" />'."\n";
       }
       ?>
       ```
   
 * Put this code into a .php file. Alter the examplary URL of Simple Chapters file
   to the URL of your .psc-file. Upload the file to the /wp-content/plugins folder
   or better to an new sub folder of that folder like /wp-content/plugins/add_simple_chapters_link/
   add_simple_chapters_link.php . Afterwards open the [plugins screen](http://codex.wordpress.org/Plugins_Screen)
   in the administration section of your blog and activate this new little plugin(
   which should be in the plugins list under the name “Add Simple Chapters Link”).
   If you do not like the result you may deactivate the plugin.
 * Regards,
    Tim

Viewing 1 replies (of 1 total)

The topic ‘Adding Simple Chapters’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/podpress_f79938.svg)
 * [podPress](https://wordpress.org/plugins/podpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/podpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/podpress/)
 * [Active Topics](https://wordpress.org/support/plugin/podpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/podpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/podpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ntm](https://wordpress.org/support/users/ntm/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/adding-simple-chapters/#post-5401178)
 * Status: not resolved