[wp-trac] Re: [WordPress Trac] #4148: Suggestion of a new category structure

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 15 11:54:30 GMT 2007


#4148: Suggestion of a new category structure
-------------------------+--------------------------------------------------
 Reporter:  hovenko      |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.4      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by hovenko):

 I see that the current way that categories work is actually wanted as it
 is, but pages have what is needed to act as categories.

 A category can have subcategories to make up a hierarchy, but pages can
 also be ordered like that. A page can be a subpage of another page.

 It might be desirable to have pages that are not behaving as a category
 for posts. This functionality can be achieved by adding a checkbox to
 control this the same way comments and pings can be turned on and off on a
 page. Alternatively the author of the page can select a template that
 doesn’t display any posts related with the page.

 There are users that want to place a post inside several categories. A
 solution to this will then be to allow for multiple posts-to-pages
 associations by using a combined primary key in the post2page table over
 both the "post_id" and "page_id" columns instead of my first proposal of
 "only one page per post".

 I know it is a bit radical thinking and a big change to WordPress by doing
 this, but you might want to write posts that are related to your page. For
 example if you write a page with information about WordPress and your
 plugin development, then you probably want to publish your new plugins as
 posts, not as subpages of the WordPress page. The exception from this is
 pages such as "about", "legal" and so on, but with the ability to disable
 posting to those certain pages (see above) this makes it possible.

 It was just a suggestion to improve WordPress. It is not a specific issue
 I'm having any longer, since I managed to give posts in different
 categories the diffent look I needed by placing both the logic and the
 view/html inside a plugin. A bad solution, I know, but it works. I didn't
 want too much logic in the theme files that are dependent on some plugin.
 The different looks I needed was not only when displaying the posts on the
 category page, but also when using the "single" template.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4148#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list