directory structure – advice needed

This topic contains 7 replies, has 3 voices, and was last updated by  zauberer 10 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #15385

    zauberer
    Free User
    Post count: 39

    Hi,

    I want to build a directory of arts. I want people to search for:
    Where ? (city) What ? (which kind of art) and for which festive occasion (wedding, birthday, aniversary,…)

    What’s the best structure for building this directory ?
    I thought of using CPT for every kind of art (darwing, oil painting, sculpturing) but how should I create the festive occasions ? Because they appear in every CPT.
    Example:
    City: Stuttgart
    Art: oil painting
    occasion: wedding
    But the same appears for
    City: Stuttgart
    Art: sculpturing
    occasion: wedding

    Should I use categories for the occasions ? How did you guys solve this ?
    Any advice would be great – thanks for your help.

    #15401

    Guust
    Moderator
    Post count: 29970

    Either CTP with categories, or categories with subcategories.
    Either way, you will either have two categories or two subcategories named the same. That is not a problem, but it will mean you will have two categories listed in a popular category widget with the same name.

    http://docs.wpgeodirectory.com/places-categories-and-listings/

    #15419

    zauberer
    Free User
    Post count: 39

    Thanks for your reply. Is it possible to solve this with another solution ?

    #15460

    zauberer
    Free User
    Post count: 39

    I want to give my users the ability to filter for these things:
    Where ? (city) What ? (which kind of art) and which ? (occasion)

    Does the advanced filter allow me to do this ? If so: what can I filter ? only CPTs or CPTs and categories ? Or does it allow me to have 3 dropdown menues to filter for:
    [CPT] [Category] [SubCategory]

    #15475

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you can do that by using only 1 CPT and category and subcategory instead of using multiple CPT. Than you can create custom fields for “occasions” that is enabled for all categories.

    Let us know if this could be ideal.

    Thx

    #15478

    zauberer
    Free User
    Post count: 39

    How can this be done ? What is the only CPT I need ? Sorry but I’m confused. What can I do with the custom filed ? Is it searchable ?
    Can you please give me an example ? That would be great – thanks.

    #15480

    Paolo
    Site Admin
    Post count: 31206

    Use only the default CPT Places.

    All your art should be categories: oil painting, sculpturing and so on.

    Go to Places settings and create the custom field for occasions.

    It could be a select, with all your occasions as options. Make it available for all categories and at the end you will see a checkbox to enable it as advance filter. Tick that and save, than go to Advance Search Tab and add your new filter to the right box to enable it.

    This will appear in the search box when clicking on customize my search.

    I hope it is clearer now.

    #15482

    zauberer
    Free User
    Post count: 39

    Great! Many thanks for this explanation. I didn’t think it is so easy with geodirectory…

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount