Title appearing twice in feed (2 posts)

  1. elieprz@gmail.com
    Posted 2 years 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
    Posted 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic