WordPress.org

Support

Support » Themes and Templates » [Resolved] [Theme: Foto] remove rss feed

[Resolved] [Theme: Foto] remove rss feed

Viewing 8 replies - 1 through 8 (of 8 total)
  • keesiemeijer
    moderator

    @keesiemeijer

    lottiejam
    Member

    @lottiejam

    Thanks for this – I’ve added to functions as it will prove useful.My main problem is actually removing the rss icon from the header. Even if unpopulated it still displays and if I remove the code the full page doesn’t display:(

    keesiemeijer
    moderator

    @keesiemeijer

    Try removing this from header.php:

    if( of_get_option('foto_rss_custom') ) { ?>
    					<span class="feed"><a href="<?php echo esc_url( of_get_option('foto_rss_custom') ); ?>" title="<?php _e('Subscribe our rss feed', 'foto'); ?>"><?php _e('Rss Feed', 'foto'); ?></a></span>
    				<?php } else { ?>
    					<span class="feed"><a href="<?php echo get_feed_link( 'rss2' ); ?>" title="<?php _e('Subscribe our rss feed', 'foto'); ?>"><?php _e('Rss Feed', 'foto'); ?></a></span>
    				<?php }

    lottiejam
    Member

    @lottiejam

    Hi there

    tried this and it cause the full page not to display. Hence the forum request!!:)

    keesiemeijer
    moderator

    @keesiemeijer

    Can you paste and submit the full code of your edited header.php into a pastebin.com and post the link to it here? see the Forum Rules for posting code and using the pastebin.

    lottiejam
    Member

    @lottiejam

    Hi there, took out one php opening tag too many! Many thanks for your time and input. Good to step away from something and get some other input.

    Theme Author Satrya
    Participant

    @satrya

    Hi,
    Do you still need help? Sorry, I just see your thread this morning 😉

    lottiejam
    Member

    @lottiejam

    solved thankyou!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Theme: Foto] remove rss feed’ is closed to new replies.