Over the last day or two I followed a conversation about the pros and cons of including theme adjustments in the functions.php of the theme or using a plugin to store the adjustments. So far I have only use the functions.php; however, I can see that using a plugin can have its benefits. One of my friends started to store his adjustments in a plugin. He progressed nicely but … [Read more...] about How to use remove_actions in a plugin
Posts in the Category Code Snippets
How to reposition the Primary Navigation in Magazine Pro
The Magazine Pro theme is a very nice and versatile theme from Studiopress. Studiopress is providing a wide array of very useful code snippets to change all sorts of things in their themes. In the functions.php of the Magazine Pro theme the primary navigation is being repositioned with the following code: In theory, it should be very easy to just swap out the hook … [Read more...] about How to reposition the Primary Navigation in Magazine Pro
How to use the darker site header in Altitude Pro by default
The Altitude Pro theme is a very popular and versatile Genesis child theme from Studiopress. Altitude Pro makes use of jQuery to change the appearance of the site header that contains page title and navigation menu. When you scroll down, the class .dark is added to the site header and removed when you get back to the top of the page. Here are two options to change this … [Read more...] about How to use the darker site header in Altitude Pro by default
Removing the post info from the Whitespace Pro front page
In a recent post I showed how to remove the post info from all posts and archive pages in Whitespace Pro. I received the question how to remove the post info only from the front page. In principal, you would need a pretty straight-forward if-statement to target only the front page of Whitespace Pro. But yet again, Whitespace Pro has a little surprise in stock for … [Read more...] about Removing the post info from the Whitespace Pro front page
Removing the post info from Whitespace Pro
In the Genesis Framework the post info can usually be removed by using this code snippet from http://my.studiopress.com/snippets/entry-header/ The Whitespace Pro theme, however, represents a little exception. The Whitespace Pro functions.php file is repositioning the entry meta with a priority of 7. This means that the usual code snippet cannot work. Luckily … [Read more...] about Removing the post info from Whitespace Pro