Title: wrong title when using any shortcode
Last modified: April 20, 2020

---

# wrong title when using any shortcode

 *  Resolved [cemcnulty](https://wordpress.org/support/users/cemcnulty/)
 * (@cemcnulty)
 * [6 years ago](https://wordpress.org/support/topic/wrong-title-when-using-any-shortcode/)
 * I included the following shortcode into the content of the post and the title
   of the ID that this display-posts shortcode uses was used as the title for my
   post within the podcast feed.
 * As soon as I removed the shortcode it used the correct title.
 * `[display-posts id="8537" include_content="true" include_title="false"]`

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [cemcnulty](https://wordpress.org/support/users/cemcnulty/)
 * (@cemcnulty)
 * [6 years ago](https://wordpress.org/support/topic/wrong-title-when-using-any-shortcode/#post-12702964)
 * Looking into the code a bit it looks like the plugin is just using `the_title_rss()`
   so it’s hard to believe the bug exists within the plugin, but can anyone else
   verify? If you embed a shortcode that points directly to an id, does the title
   of the episode within the feed change to the id that the shortcode is pointing
   to?
 *  Thread Starter [cemcnulty](https://wordpress.org/support/users/cemcnulty/)
 * (@cemcnulty)
 * [6 years ago](https://wordpress.org/support/topic/wrong-title-when-using-any-shortcode/#post-12704158)
 * Problem is that when you get the content and the content has a shortcode that
   has a post ID – the global post id seems to be reset. Hoping to come up with 
   a PR to fix this issue somehow.
 *  [Eileen Violini](https://wordpress.org/support/users/itsjusteileen/)
 * (@itsjusteileen)
 * [6 years ago](https://wordpress.org/support/topic/wrong-title-when-using-any-shortcode/#post-12704200)
 * Hello [@cemcnulty](https://wordpress.org/support/users/cemcnulty/),
 * Sure thing, thanks for reporting that. You can submit PRs over at [https://github.com/TheCraigHewitt/Seriously-Simple-Podcasting](https://github.com/TheCraigHewitt/Seriously-Simple-Podcasting).
   I’ll start an issue there linking back here.
 * Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wrong title when using any shortcode’ is closed to new replies.

 * ![](https://ps.w.org/seriously-simple-podcasting/assets/icon-256x256.png?rev=
   970355)
 * [Seriously Simple Podcasting](https://wordpress.org/plugins/seriously-simple-podcasting/)
 * [Support Threads](https://wordpress.org/support/plugin/seriously-simple-podcasting/)
 * [Active Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seriously-simple-podcasting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seriously-simple-podcasting/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Eileen Violini](https://wordpress.org/support/users/itsjusteileen/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/wrong-title-when-using-any-shortcode/#post-12704200)
 * Status: resolved