Grow your CSS skills. Land your dream job.

Having 1 Page being a child of 2 Parents

  • # September 9, 2009 at 4:23 am

    hey guys,

    I am building a website using WordPress, Foxycart.

    I was wondering how would I make a certain page be the child of 2 parents.

    if i have a page about a product thats for instance a Ring, but its also classified to be under the ‘Nature’ Theme. Would it be possible to make that page a parent of both ‘Nature’ and ‘Ring’

    I want to be able to sort the product by theme or by type (what it is)

    Thank You

    # September 9, 2009 at 12:48 pm

    *Moved to CMS Section

    As far as I know, this cannot be done.

    What you can do is set up some custom fields. Chris actually has a screencast going over this exact thing where the products listed on a page change depending on which product type is selected:

    #65 Advanced Uses for Custom Fields in WordPress
    http://css-tricks.com/video-screencasts … wordpress/

    # September 9, 2009 at 11:17 pm

    Though I am not very good at this, I’d think you could use categories for this. make multiple categories (instead of pages) and then you can apply a post to multiple categories. It might be better if you could explain a bit more about how you are currently going about things….

    When I think of products, I think of posts (not pages) in wordpress.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".