Rockstar WP – Theming

  • When designing a theme in PS, use different layers for different WP elements (e.g logo, page, featured_blog, featured, homecontent, footer, header etc)
  • Flow: design mockup -> transform to HTML -> add WP functionality
  • To show the boxes you can temporarily use a 1px red border
  • Quote: Finally because our <div> element has position:relative, we can now use  absolute positioning inside and set right:0px for the menu and it will be aligned to the right. This is great for a WordPress theme because as the person creates new pages the menu will extend, and this way it will stay right aligned.

Rockstar WP – A start

Setup a WP site:

  • Set permalink to/%category%/%postname%/   (make sure rewrite_mod is enabled in Apache)
  • Choose a spam filter. Akismet is free for personal use, but minimal 5,-/m for business use
  • Install sitemap plugin: The Sitemap plugin automatically creates an XML sitemap prepared to Google’s specification and then contacts the Google servers every time you create a new post or change the sitemap.