83 | Exclude Pages from Default Menu in Twenty Eleven

g+

If you are not using the custom menu, the theme uses `wp_page_menu()` as a fallback.

As always, start by creating a child theme of Twenty Eleven; http://codex.wordpress.org/Child_Themes

To exclude pages from the default menu, edit functions.php in the child theme and add something like:

//exclude pages from default menu//
function twentyelevenchild_page_menu_args( $args ) {
		$args['exclude'] = '17,38';
	return $args;
}
add_filter( 'wp_page_menu_args', 'twentyelevenchild_page_menu_args' );

The numbers refer to the page IDs of the pages you want to exclude.

Posted in Easy Coding for Wordpress, Twenty Eleven, WordPress | Tagged , , , , | Leave a comment

82 | Button Sofa in Peach Pink Silk

g+

Fresh out of my miniature furniture workshop – a gorgeous vintage style button sofa for dolls. Upholstered with peach pink dupioni silk, curved back, soft chunky arm rests, buttoned back. Size (appr.): overall width: 40cm / 16in seat height: 13cm … Check the whole post »

Posted in Craft and Design | Tagged , , , , , , , , , | Leave a comment

81 | Injecting Multiple adsense Ads into a WordPress Loop

g+

The versatile code injects for instance adsense ad codes several times into the posts of an index or archive page, starting with a pre-set post, and then repeated in regular intervals (up to a set limit of ads per page). … Check the whole post »

Posted in Tips & Tricks, Twenty Fourteen, WordPress | Tagged , | Leave a comment