WordPress.org

Ready to get started?Download WordPress

Forums

Newsworthy
Title appearing twice in feed (2 posts)

  1. elieprz@gmail.com
    Member
    Posted 8 months ago #

    Hi all,

    I love your theme but I have a problem with the title appearing twice in my rss feed: blog.elieperez.net/feed, It really annoying.
    I've searched a lot about it on the web but it seems to be theme dependant.

    Can you please help me ?

  2. javiersalces
    Member
    Posted 2 weeks ago #

    Hi Elie,

    The developer gave me the solution yesterday :)

    This is a bug in the functions.php file.

    You can fix it immediately by adding just one line of code.

    Inside the title filter function, at line 83, just paste this code:

    if ( is_feed() ) return $old_title;

    That should be pasted just above this line:

    $site_name = get_bloginfo( 'name' );

    And that's it.

    You may have to force refresh your browser/reader to see the change.

    - Javier

Reply

You must log in to post.

About this Theme

About this Topic