• I have developed a fashion magazine website where I use WordPress as CMS.

    Each year there are two Fashion Weeks – one for spring and one for autumn. These are normally called AW2010 and SS2010 (Autumn Winter / Spring Summer).

    Currently I only put them in my Fashion Week category, and I use tags to enter designer name and season (e.g. aw2010). The problem is that depending on who writes the article, the tags might not be the same.

    Further down the road, I would like to develop a function which can allow the user to select season and select designer to review.

    I just read a good article about creating custom taxanomies and I’m wondering if this is the way to go.

    Do you guys have thoughts on what would be the best approach? And if taxanomies are the way to go, how would you go abaout it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The TDO Mini Forms plugin might help you standardize your input posts.

    Thread Starter Steven

    (@spstieng)

    I can’t see how forms will help me here.
    I’m still creating posts, not submitting a form.
    Each post will also be connected to a gallery.

    Moderator keesiemeijer

    (@keesiemeijer)

    Yes custom taxanomies is the way to go and make them hierarchical so there is consistency among who writes the article.
    something like this (not tested):

    function FashionWeeks_init() {
      // create a new taxonomy
      register_taxonomy(
        'Fashion Weeks',
        'post',
        array(
          'label' => __('Fashion Weeks'),
          'sort' => true,
          'hierarchical' => true,
          'rewrite' => array('slug' => 'Fashion Weeks'),
        )
      );
    }
    add_action( 'init', 'FashionWeeks_init' );

    I thought that the forms might be used with checkboxes or radio buttons to restrict the selection of tags. And, the TDO forms are stored as posts, with optional moderation.

    Thread Starter Steven

    (@spstieng)

    Ok, call me stupid… but I don’t see the difference between categories and Taxonomies.

    Especially after reading this tutorial at NetPlus.

    Why don’t I just use hierarchical categories?

    Categories are indeed a taxonomy. I suppose the advantage of defining your own taxonomy would be that you can create a taxonomy name that reflects the usage. Maybe that will encourage posters to use the correct classification.

    In addition, if you create a custom post type, you can allow just your custom taxonomies so the poster cannot select a category or tag that does not apply.

    If you decide to go this route, I highly recommend the Custom Post Type UI plugin. It makes the job of defining your custom post types and taxonomies very easy.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I structure my posts?’ is closed to new replies.