Reka Bentuk Tema BuddyPress Baru 25.08.09

  • BuddyPress
  • Comments Off on Reka Bentuk Tema BuddyPress Baru
  • 0
  • Beberapa re-factoring work telah dilakukan untuk versi BuddyPress akan datang. Antaranya yang berubah dalam BuddyPress versi 1.1 ialah theme untuk BuddyPress.

    In version 1.0 BuddyPress required two themes to function. The first theme was a “WordPress home” theme that handled the blog and front page of your site. It was essentially a standard WordPress theme. The second was a “BuddyPress member” theme that would handle the display of pages generated by BuddyPress. There were many reasons for handling themes this way, but as time passed it was evident theming in this fashion was hurting the majority to help the minority.
     
    In BuddyPress 1.1 there will be one single theme to handle everything. BuddyPress will ship with a theme framework that acts as a parent theme. The default theme will be a child theme based on this framework and contains only images and css. Building a new BuddyPress theme will be as simple as creating a child theme based on the framework. If you’re not familiar with child themes a quick google search will bring up lots of useful information.
     
    This approach brings big benefits. When building a new theme you don’t need to re-create every template file. You can override specific template files where needed. Most importantly though, your theme will update automatically with the latest functionality when the framework theme is updated.

    Related Articles

    Comments are closed.