Skip to content

Instantly share code, notes, and snippets.

@philiparthurmoore
Created January 29, 2013 15:37
Show Gist options
  • Save philiparthurmoore/4665165 to your computer and use it in GitHub Desktop.
Save philiparthurmoore/4665165 to your computer and use it in GitHub Desktop.
Run an ack for 'fallback_cb' to gather information on how menus are being used in public WordPress.com themes. See: http://make.wordpress.org/core/2013/01/29/menus-office-hours-recap-jan-28/
fauna/header.php:51: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'fauna_page_menu' ) ); ?>
spectrum/header.php:51: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'spectrum_page_menu' ) ); ?>
next-saturday/header.php:41: <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'fallback_cb' => '' ) ); ?>
ocean-mist/header.php:32: <?php wp_nav_menu( array( 'container' => false, 'menu_class' => 'pagetabs', 'theme_location' => 'primary', 'fallback_cb' => 'oceanmist_page_menu' ) ); ?>
neo-sapien-05/top-menu.php:4:<?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'neosapien_page_menu' ) ); ?>
daydream/header.php:106: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'daydream_page_menu' ) ); ?>
freshy/header.php:43: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_class' => 'menu custom-menu primary', 'fallback_cb' => 'freshy_page_menu' ) ); ?>
tarski/header.php:48: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'tarski_page_menu' ) ); ?>
chaostheory/header.php:56: <?php wp_nav_menu( array( 'container' => 'div', 'container_id' => 'globalnav', 'theme_location' => 'primary', 'menu_id' => 'menu', 'fallback_cb' => 'chaostheory_globalnav' ) ); ?>
simpla/footer.php:3:<?php wp_nav_menu( array( 'container_id' => 'secondary', 'container_class' => 'nav', 'theme_location' => 'secondary', 'fallback_cb' => false ) ); ?>
simpla/header.php:23: <?php wp_nav_menu( array( 'container_id' => 'nav', 'container_class' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => false ) ); ?>
springloaded/header.php:35:<?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'navigation', 'fallback_cb' => 'springloaded_page_menu' ) ); ?>
academica/footer.php:11: <?php wp_nav_menu( array( 'container' => false, 'depth' => 1, 'theme_location' => 'footer', 'fallback_cb' => false ) ); ?>
clean-home/header.php:32: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'cleanhome_page_menu' ) ); ?>
extinct/cutline/header.php:21: <?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'cutline_page_menu' ) ); ?>
skeptical/header.php:55: <?php wp_nav_menu( array( 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fl', 'theme_location' => 'primary', 'fallback_cb' => 'skeptical_page_menu' ) ); ?>
iceburgg/header.php:33: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'iceburgg_page_menu' ) ); ?>
dev/hero/header.php:48: <?php $navcheck = wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'menu_class' => 'nav' ,'fallback_cb' => '', 'echo' => false ) ); ?>
light/header.php:29: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_class' => 'navigation menu', 'fallback_cb' => 'light_page_menu' ) ); ?>
under-the-influence/header.php:176: <?php wp_nav_menu( array( 'container' => '', 'theme_location' => 'primary', 'fallback_cb' => 'uti_page_menu' ) ); ?>
koi/header.php:29: <?php wp_nav_menu( array( 'theme_location' => 'primary', 'fallback_cb' => 'koi_page_menu' ) ); ?>
shaan/footer.php:17: 'fallback_cb' => '__return_false',
neutra/header.php:31: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'neutra_page_menu' ) ); ?>
comet/header.php:35: 'fallback_cb' => '__return_false'
comet/header.php:65: 'fallback_cb' => '__return_false'
andreas09/header.php:40: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'andreas09_page_menu' ) ); ?>
my-life/footer.php:28: <?php wp_nav_menu( array( 'theme_location' => 'subsidiary', 'depth' => '1', 'fallback_cb' => false ) ); ?>
my-life/header.php:54: <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'fallback_cb' => false ) ); ?>
digg3/header.php:24: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'digg3_page_menu' ) ); ?>
manifest/header.php:43: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'depth' => 2, 'fallback_cb' => 'manifest_page_menu' ) ); ?>
unsleepable/header.php:40: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'menu', 'fallback_cb' => 'unsleepable_page_menu' ) ); ?>
bueno/header.php:64: <?php wp_nav_menu( 'fallback_cb=bueno_page_menu&theme_location=primary' ); ?>
mistylook/header.php:17: <?php wp_nav_menu( 'theme_location=primary&container_class=menu&fallback_cb=mistylook_menu_fallback' ); ?>
rounded/header.php:38: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'rounded_page_menu' ) ); ?>
sight/header.php:67: <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'depth' => '1', 'fallback_cb' => false ) ); ?>
dark-wood/header.php:34: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'darkwood_page_menu' ) ); ?>
fadtastic/header.php:36: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'fadtastic_page_menu' ) ); ?>
regulus/header.php:79: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'nav', 'fallback_cb' => 'regulus_page_menu' ) ); ?>
ambiru/header.php:25: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'ambiru_page_menu' ) ); ?>
andreas04/header.php:24: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'andreas04_page_menu' ) ); ?>
monotone/header.php:35: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'menu', 'fallback_cb' => 'monotone_page_menu' ) ); ?>
enterprise/header.php:55: <?php wp_nav_menu( 'theme_location=secondary&fallback_cb=enterprise_secondary_cat_menu' ); ?>
connections/header.php:31: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'topnav', 'fallback_cb' => 'connections_page_menu' ) ); ?>
emire/header.php:25: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'emire_page_menu' ) ); ?>
pool/header.php:25: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'pool_page_menu' ) ); ?>
inove/header.php:69: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'menus', 'fallback_cb' => 'inove_page_menu' ) ); ?>
greenery-10/header.php:23: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'greenery_page_menu' ) ); ?>
redoable-lite/header.php:53: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'alt_menu', 'menu_class' => 'redo-nav', 'fallback_cb' => 'redo_page_menu' ) ); ?>
vigilance/header.php:36: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'vigilance_page_menu' ) ); ?>
pink-touch-2/header.php:45: <?php wp_nav_menu( array( 'theme_location' => 'primary', 'fallback_cb' => '', 'container_id' => 'nav-menu' ) ); ?>
p2/header.php:41: 'fallback_cb' => '__return_false',
steira/header.php:37: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'navigation', 'fallback_cb' => 'steira_page_menu' ) ); ?>
duotone/header.php:32: 'fallback_cb' => 'duotone_page_menu'
motion/header.php:31: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'motion_page_menu' ) ); ?>
monochrome/header.php:34: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'menu', 'fallback_cb' => 'monochrome_page_menu' ) ); ?>
depo-masthead/header.php:103: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'depomasthead_page_menu' ) ); ?>
titan/header.php:57: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_id' => 'nav', 'menu_class' => 'wrapper', 'fallback_cb' => 'titan_page_menu' ) ); ?>
albeo/header.php:34: <?php wp_nav_menu( array( 'container' => false, 'menu_class' => 'custom-menu', 'theme_location' => 'primary', 'fallback_cb' => 'albeo_page_menu', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
blix/header.php:32: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'blix_page_menu' ) ); ?>
paperpunch/header.php:48: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'fallback_cb' => 'paperpunch_page_menu' ) ); ?>
imbalance2/header.php:94: <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'container_class' => 'menu', 'fallback_cb' => '__return_false' ) ); ?>
nuntius/footer.php:12: <?php wp_nav_menu( array( 'theme_location' => 'footer-menu', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-footer-items', 'depth' => 1, 'fallback_cb' => '' ) ); ?>
nuntius/header.php:38: <?php wp_nav_menu( array( 'theme_location' => 'secondary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-secondary-items', 'fallback_cb' => '' ) ); ?>
blaskan/footer.php:9: <?php wp_nav_menu( array( 'theme_location' => 'footer', 'depth' => 1, 'fallback_cb' => false, 'container' => false ) ); ?>
contempt/header.php:27:<?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'pagebar', 'theme_location' => 'primary', 'fallback_cb' => 'contempt_page_menu' ) ); ?>
garland/header.php:28: <?php wp_nav_menu( array( 'container' => false, 'theme_location' => 'primary', 'menu_class' => 'links primary-links', 'fallback_cb' => 'garland_page_menu' ) ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment