Excluding a page with a certain name from wp_page_menu

How about using get_page_by_path(), then using the ID from the returned object in an exclude filter? add_filter(‘wp_page_menu_args’,’my_nav_exclude_pages’); function my_nav_exclude_pages( $args = array() ) { $homepage = get_page_by_path(‘my-page-slug’); $args[‘exclude’] = join( ‘,’, array( $args[‘exclude’], $homepage->ID ) ); return $args; }

wordpress htaccess is hijacking my .mp4 files

A missing mime type should not cause a 404 page but the AddType needs to be wrapped in <IfModule mod_mime.c> tags. <IfModule mod_mime.c> AddType video/mp4 .mp4 .m4v AddType video/mpeg .mpeg .mpg .mpe AddType video/asf .asf .asx .wax .wmv .wmx AddType video/avi .avi AddType video/quicktime .mov .qt AddType audio/ogg .ogg </IfModule> I’m running jw player on … Read more

Sitewide page on all the blogs in the network

Guess you’re looking for a post or page broadcaster that can help you push post or page creation and update to your multisite blogs. Give these plugins a try: ThreeWP Broadcast Multipost MU (dead link, mirror at the Internet Archive : Wayback Machine)

Override database config for WordPress multisite

Just came up with a solution to this issue posted here https://stackoverflow.com/questions/12958123/override-wp-siteurl-and-wp-home-for-wordpress-multisite/ Basically you do not copy the wp_site and wp_blogs tables to your development installs when pulling in a production database, and have pre-configured them locally for your development URLs. You then leverage a network-wide plugin to set the WP_SITEURL and WP_HOME values based … Read more