add_menu( array( 'id' => 'Response', 'title' => 'Response Options', 'href' => admin_url('themes.php?page=response') ) ); } add_action( 'admin_bar_menu', 'response_admin_link', 113 ); /** * Custom markup for gallery posts in main blog index. */ function response_custom_gallery_post_format( $content ) { global $options, $themeslug, $post; $root = get_template_directory_uri(); ob_start();?> get($themeslug.'_post_formats') == '1') : ?>