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 … Check the whole post »

Posted by dr michael in Easy Coding for Wordpress, Twenty Eleven, WordPress | 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 by Michael (aka alchymyth) in Tips & Tricks, Twenty Fourteen, WordPress | Tagged , | Leave a comment

78 | A Real ‘Full Width Page’ Template for Twenty Fourteen

g+

To create a real full width page – with no sidebars whatsoever – in your WordPress site while using a child theme of the default theme Twenty Fourteen, program this page template file with the file name real-full-width.php (important as … Check the whole post »

Posted by Michael (aka alchymyth) in Easy Coding for Wordpress, Twenty Fourteen, WordPress | Tagged , , , | 5 Responses

77 | Featured Image in Header of Archive Pages in Twenty Eleven

g+

To show the ‘featured image’ of the top post as header image in an archive page in the Twenty Eleven theme, edit header.php in the child theme; change this section: to:

Posted by Michael (aka alchymyth) in Easy Coding for Wordpress, Twenty Eleven, WordPress | Tagged , , , | Leave a comment

76 | Alphabetize Category Posts Using ‘pre_get_posts’ Action

g+

Occasionally you want to have a different sort order in some of the category archives, for example, you want to output the posts of a specific category in alphabetical order. Instead of having to create a category template for each … Check the whole post »

Posted by Michael (aka alchymyth) in Easy Coding for Wordpress, Tips & Tricks, WordPress | Tagged , , , , , , , | Leave a comment