• Resolved cemcnulty

    (@cemcnulty)


    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

    (@cemcnulty)

    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

    (@cemcnulty)

    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.

    Hello @cemcnulty,

    Sure thing, thanks for reporting that. You can submit PRs over at 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.