treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Having 1 Page being a child of 2 Parents

  • 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
  • *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/
  • 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.