Support » Plugin: Seriously Simple Podcasting » Page title on podcast page always "Podcast"

  • Resolved augiem


    There doesn’t seem to be any way to set the page title on the main podcast list page generated by this plugin. The title is simply “Podcast”. The All in One SEO plugin isn’t able to rewrite this title either. I’ve looked through the database and the PHP files in the plugin and cannot find where this title is being set.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Hugh Lashbrooke


    You can follow the instructions int he third FAQ to customise your podcast page templates and override this title. That would be the easiest way of handling this.

    Thanks for the reply!

    I had looked at using that template, but it doesn’t contain the header which has the <title></title> tag in it. This is what I was referring to when I said Page Title, not the <h1></h1> field.

    The only way I can think of modifying the title for this page would be to find where the header is being generated by the theme and add some code to do a special case for the podcasting page and override it, but that seems a little bad to me. I suppose I could also rewrite the header with a function, but again, seems messy just for one page on the site.

    Can you tell me where in the code you set the <title> tag to Podcast? Its ugly but it would be easier for me to just go change that line. (Or if its in the database, I can change it there. I didn’t see it when I looked yesterday.)

    @augiem you don’t want to edit your database or the Podcast files because they will be updated the next time Hugh updates the plugin.

    Instead you can edit the page title using a filter for just that page. This requires you to write some code and place it into your functions.php file. This is the filter you’ll want to use:

    So you can write an if-then statement in your functions file that will check if the page is the Podcast archive, and if it is you can target just the title using the wp_title filter, and if you set your filter to run LAST it will catch the “podcast” in the <title> that Hugh’s plugin has put there and you can re-write it on the fly just before the <title> tag is sent out for rendering.

    Hope that helps 😀


    Thanks for the tip on the filters! I was thinking I was going to have to something like that to catch the page title, but it seemed an ugly solution. I guess that’s the way its done. Thanks!

    Unfortunately, I’ve already had to modify the plugin because I needed it to show the player widgets on the archive page instead of just in the podcast pages themselves and that was coded into the plugin to leave it out on the archive pages. (There also seems to be a bug detecting the WP version in the same area of code.)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page title on podcast page always "Podcast"’ is closed to new replies.