[resolved] Site Title appears twice in Feed. How can I change it so it displays only once? (12 posts)

  1. lilacsun
    Posted 3 years ago #


    For some reason, the Site Title is displaying twice in the Feed.


    Site Title | Site Title
    Site Description

    What do I change so the Site Title displays only once in the Feed?

    Thanks so much.

  2. lilacsun
    Posted 3 years ago #

    Hello again,

    I was able to change it so the Site Title displays only once in the Feed.

    I went to:

    I found this line:
    <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>

    And I changed it to this:
    <title><?php bloginfo_rss('name'); ?></title>

    The Site Title is now displaying only once.

  3. paulwpxp
    Font hero
    Posted 3 years ago #


    It's wrong to edit WP core file.

  4. lilacsun
    Posted 3 years ago #

    Could you please tell me the correct way to fix this?

  5. paulwpxp
    Font hero
    Posted 3 years ago #


    The default <title> output by WP for feed is not the cause of double site name that you see, it's the function in your theme that filters wp_title() without the if-not-feed check, on top of that it doesn't aware of the way WP outputs feed's <title>.

    I would just keep this topic open to let the author of the theme see the issue.

  6. alex27
    Theme Author

    Posted 3 years ago #

    Noted :) I'll remember to fix this in the next update.

  7. lilacsun
    Posted 3 years ago #

    Great. Thank you.

  8. Avantart
    Posted 3 years ago #



    you are so clever to tell us not to edit core files and to blame the author of the theme! Blame WP! Because this problem occurs with TwentyTwelve for example!

    Please tell me which author I have to contact? ;=)

    better: please tell me how to fix that without editing core files!

  9. esmi
    Forum Moderator
    Posted 3 years ago #

    @Avantart: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem - despite any similarity in symptoms - is likely to be completely different.

  10. Atul Kumar Pandey
    Posted 3 years ago #

    WordPress is still under development...

    I was also the same problem that feed titles are repeating two times. Finally i get it fixed in just some simple ways...

    Follow the link here a complete explanation about fixing Double Feed Title in WordPress...


    I hope the solution get fixed by this.

  11. paulwpxp
    Font hero
    Posted 3 years ago #


    Please do not advice users to edit any of WP core files.

    See how to filter wp_title() and not doubling it in feed.

  12. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    @paulwpxp, Thank you for highlighting that.

    @atulkumarpandey, For this reason I've now removed the other occurrences of your advice regarding editing the core files.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.