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:(
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 }
Hi there
tried this and it cause the full page not to display. Hence the forum request!!:)
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.
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.
Hi,
Do you still need help? Sorry, I just see your thread this morning 😉