• Resolved andrewpaulbowden

    (@andrewpaulbowden)


    Hiya

    I’m currently looking at porting an existing Movable Type site to WordPress. I’m new to WordPress itself but experienced at web development and am slowly but surely finding my way around.

    The site I’m looking to migrate (http://ramblingman.org.uk) already has a design I like and which works well. However the code behind the scenes can be complex. I’m pretty sure most of the site is convertable but there’s one important aspect I’m struggling with.

    On the site most articles are assigned to one category only but some are on two categories. But when the article is in multiple categories it’s handled differently depending on the category. Movable Type has this notion of “Primary Category” and others. So you can say “this article sits in Category X” but also gets a link from category Y. By using this notion I can display them differently in X and Y.

    For example:
    http://ramblingman.org.uk/planningatrip/pennine_way
    lives in the following categories:
    http://ramblingman.org.uk/planningatrip/ (the primary)
    http://ramblingman.org.uk/walks/pennineway/ (the other one)

    For the design (and indeed the logic of the site structure) to work I want to replicate this somehow in WordPress but my research hasn’t found a way of doing it using categories. I did wonder if I could hack it slightly by using Categories for the primary and Tags for the secondary but I was wondering if anyone else has tried to do something similar and has found a better way?

    If you’ve any suggestions they really would be much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve not come across this before but categories and tags might, indeed, for the bill. The only other option that occurs to me is using custom fields to indicate which is the primary (or secondary) category.

    andrewpaulbowden,

    I would recommend using custom content types and custom fields here. You can implement this easily using ReedWrite, a plugin written by one of my colleagues.

    You may also want to check out tp2wp.com, a service that ReadyMadeWeb has build to convert TypePad data into WordPress’s WXR import format.

    — Cord Blomquist

    Thread Starter andrewpaulbowden

    (@andrewpaulbowden)

    Ah, custom content types look like they’ll do the trick and will enable me to do some changes I’ve been wanting to add to the site design for ages. I’m having a play with ReedWrite – will see how it gets on.

    thanks very much for the replies.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Assinging a "primary" category to an entry’ is closed to new replies.