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

    (@keesiemeijer)

    Thread Starter lottiejam

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

    Moderator keesiemeijer

    (@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 }

    Thread Starter lottiejam

    (@lottiejam)

    Hi there

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

    Moderator keesiemeijer

    (@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.

    Thread Starter lottiejam

    (@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 Ga Satrya

    (@satrya)

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

    Thread Starter lottiejam

    (@lottiejam)

    solved thankyou!

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