WPwatercooler #105: Simple Modifications for any WordPress Theme

On this episode of WPwatercooler: Se Reed, Jason Tucker, Steve Zehngut, and Suzette Franck are joined by special guests Russel Aaron and Natalie MacLees. We may or may not discuss some simple modifications that can be done on any WordPress theme. We may talk about best practices using child themes to the simplest modifications that anyone can do on any WordPress theme.


 

Using Underscores as Your Starter Theme : WPMayor

Here are some resources you should check, start out your week by learning more about this very useful theme:

Here are some features of Underscores:

  • A just right amount of lean, well-commented, modern, HTML5 templates.
  • A helpful 404 template.
  • A sample custom header implementation in inc/custom-header.php that can be activated by uncommenting one line in functions.php and adding the code snippet found the comments of inc/custom-header.php to your header.php template.
  • Custom template tags in inc/template-tags that keep your templates clean and neat and prevent code duplication.
  • Sample theme options in /inc/theme-options/ that can be activated by uncommenting one line in functions.php.
  • Some small tweaks in /inc/tweaks.php that can improve your theming experience. They can be activated by uncommenting one line in functions.php.
  • Keyboard navigation for image attachment templates. The script can be found in js/keyboard-navigation.js. It’s enqueued in functions.php.
  • A script at js/small-menu.js that makes your menu a toggled dropdown on small screens (like your phone), ready for CSS artistry. It’s enqueued in functions.php.
  • 5 sample CSS layouts in /layouts: Two sidebars on the left, two sidebars on the right, a sidebar on either side of your content, and two-column layouts with sidebars on either side.
  • Smartly organized starter CSS in style.css that will help you to quickly get your design off the ground.
  • The GPL license in license.txt. :) Use it to make something cool.

Read Full article at Using Underscores as Your Starter Theme : WPMayor.


 

Theme Sense: a Common Sense Approach to Theme Development | Code Poet

What is “Theme Sense”? Theme Sense is an intuitive understanding of WordPress themes: the relationship between the files that make up a theme, and how those files fit in with WordPress. Theme Sense is what you’ll have at the end of this article.

Theme Sense is not about memorizing code

Let’s think about mathematics and “number sense” for a second. If you teach a kid just to memorize arithmetic facts on flashcards, without explaining why the answers are what they are, that kid may struggle when they encounter a fact they haven’t memorized. For example, demonstrating 5+2 = 7 using blocks helps the kid “see” how numbers work. They can then use this knowledge to help solve any problem they run into in the future, even if they haven’t memorized the answer.

Theme Sense works the same way. It’s important to focus on the larger picture of what you’re trying to achieve, instead of memorizing specific bits of code.

Read full article at Theme Sense: a Common Sense Approach to Theme Development | Code Poet.


 

Our Top 30 List of Free WordPress Themes From 2012 – WPHub

Today I’d like to share with you 30 of the best free designs that have been released so far in 2012. There’s been some good free WordPress themes released over the last two and a half months including blog templates, magazine templates and portfolio designs.

via Our Top 30 List of Free WordPress Themes From 2012 – WPHub.


 

WordPress Body Class 101: Tips and Tricks for Theme Designers

What is WordPress Body Class?

Body Class (body_class) is a WordPress function that gives the body element different classes, so theme authors can style their sites effectively with CSS. HTML body tag is present in mostly your header.php file which loads on every page. When coding a theme, you can attach the body_class function to your body element like so:

<body <?php body_class($class); ?>>

By adding this little element, you give yourself the flexibility of easily modifying the look of each page by using CSS. Depending on the type of page being loaded, WordPress automatically adds the appropriate class. For example, if you are on an archive page, WordPress will automatically add archive class to the body element if you choose to use it. It does that for just about every page…

via WordPress Body Class 101: Tips and Tricks for Theme Designers.