WordPress.org

Forums

Foto
[resolved] remove rss feed (9 posts)

  1. lottiejam
    Member
    Posted 2 years ago #

    Hi love this theme but I'd like to remove the rss feed. I've left it blank but it still shows in my header. Any advice please?

    http://wordpress.org/extend/themes/foto/

  2. keesiemeijer
    moderator
    Posted 2 years ago #

  3. lottiejam
    Member
    Posted 2 years ago #

    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:(

  4. keesiemeijer
    moderator
    Posted 2 years ago #

    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 }
  5. lottiejam
    Member
    Posted 2 years ago #

    Hi there

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

  6. keesiemeijer
    moderator
    Posted 2 years ago #

    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.

  7. lottiejam
    Member
    Posted 2 years ago #

    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.

  8. Satrya
    Member
    Theme Author

    Posted 2 years ago #

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

  9. lottiejam
    Member
    Posted 2 years ago #

    solved thankyou!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags