get($themeslug.'_rsslink'); if ($my_feed) { echo ''; } else { feed_links(); } } remove_action( 'wp_head', 'feed_links', 2); // Display the links to the general feeds: Post and Comment Feed add_action('wp_head', 'business_feed_links'); /** * Add link to theme options in Admin bar. */ function business_admin_link() { global $wp_admin_bar; $wp_admin_bar->add_menu( array( 'id' => 'Business', 'title' => 'Business lite Options', 'href' => admin_url('themes.php?page=business') ) ); } add_action( 'admin_bar_menu', 'business_admin_link', 113 ); /** * Custom markup for gallery posts in main blog index. */ function business_custom_gallery_post_format( $content ) { global $options, $themeslug, $post; $root = get_template_directory_uri(); ob_start(); if ( has_post_thumbnail() && $featured_images == '1' && !is_single()) { echo '