Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#7348 closed enhancement (wontfix)

Hooks in default themes to encourage standardization

Reported by: technosailor's profile technosailor Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

We're having this discussion over on my site.

http://technosailor.com/2008/07/16/revolution-vs-thesis-the-premium-theme-cage-match/#comment-226901

It would be very useful to place some guidelines around theme creation. It is entirely possible to control the granular aspects of a theme and its layout if theme developers used common conventions that we layout and use within the default theme.

I don't want to crazy with this idea if it doesn't have merit and if it does, I fully expect to do some patch cleanup and extension. But to provide some context to what I'm talking about, I'm including this patch which integrates a few theme hook conventions that we might use.

Thoughts?

Attachments (1)

7348.diff (1.7 KB) - added by technosailor 16 years ago.

Download all attachments as: .zip

Change History (4)

@technosailor
16 years ago

#1 @technosailor
16 years ago

A theme should be entirely (or at least mostly) configurable by plugin, whether homegrown or publicly released. Wanna put an ad under the first, third and fifth post.... Hook on loop_post_count1, loop_postcount3, etc.

Modify a logo without hacking the code to point to a different URL?

hook on the filter theme_logo (which I didn't write because the default theme doesn't have a logo file)

Etc.

#2 @santosj
16 years ago

You crazy bro.

Why don't more themes include more widget areas instead?

#3 @jacobsantos
16 years ago

  • Milestone 2.7 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

People should include more widget areas instead.

Note: See TracTickets for help on using tickets.