WordPress.org

Ready to get started?Download WordPress

Forums

How can I structure my posts? (7 posts)

  1. spstieng
    Member
    Posted 4 years ago #

    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?

  2. vtxyzzy
    Member
    Posted 4 years ago #

    The TDO Mini Forms plugin might help you standardize your input posts.

  3. spstieng
    Member
    Posted 4 years ago #

    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.

  4. keesiemeijer
    moderator
    Posted 4 years ago #

    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' );
  5. vtxyzzy
    Member
    Posted 4 years ago #

    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.

  6. spstieng
    Member
    Posted 4 years ago #

    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?

  7. vtxyzzy
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags