Content Hierarchy Question

This topic contains 10 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #507947

    Max Batt
    Free User
    Post count: 23

    Hello GD Team,

    I am using the GeoDirectory Framework with the child theme.

    I have a rather specific question. I am working with a very large data set of *classes* – around 400 classes that will have many custom fields such as venue, class size, etc.

    Roughly half of these classes are adult, the other half, kids. Come custom fields will apply to *both* age groupings, but *other* custom fields will only apply to one (eg, only adults, or only kids.)

    Our plan for the website is to have one “landing page” that contains a map with *all* classes, and on that page, include some filters (from the custom fields) that apply to both adults and kids. Then, we would have two additional dedicated pages (maps) for kids, and adults.

    So the pages would look like

    All Classes Map (Landing Page)
    includes filters that apply to everything

    Adult Classes Map
    includes filters that only apply to adults

    Kids Classes Map
    includes filters that only apply to kids

    Do you have any special advice on how to organize our content? Obviously we would need to purchase the dedicated “advanced search,” and perhaps “custom post” add-ons.

    Thank you!
    Max

    #507986

    Alex Rollin
    Moderator
    Post count: 27815

    If there are major differences between types of classes, you can make separate Custom Post Types so they aren’t mixed in search or category pages.

    If you will be listing classes and then wanting them to be ‘taken over’ by teachers or institutions you can use the Claim Listing addon.

    If you will invite institutions to publish you can use Custom Post Types to link classes to locations and the Pricing Manager addon to charge them for an institution profile where they can showcase their events.

    #508484

    Max Batt
    Free User
    Post count: 23

    Thank you so much, Alex.

    To clarify, we will not be charging anyone for a listing. This is actually more of a non-profit-style scenario, in which we are actually try to educate the public through a large, rich mapping project.

    I think we will likely need to look into custom post types, based on your answer. I will look into this, and open another ticket if required.

    Thank you for responding, and please feel free to close this ticket.

    Max

    #508489

    Max Batt
    Free User
    Post count: 23

    Alex,

    One follow-up question. I am looking at the custom post types, and it appears that each new post type carries it’s own categories.

    Is there a way to maintain categories, and or fields, that apply to *all* post types?

    For instance, *all* classes might be “free” or “paid.” So we would want a filter that would turn this on, or off.

    However other fields, such as “elementary school location” would only apply to the “children’s classes” half of all classes. Let me know if that makes sense.

    We’re looking for the ability to maintain categories, tags, filters and fields that are specific to one genre of class (eg, adult classes), but we’re *also* looking for the ability to have certain categories, and fields, that span *all* classes.

    I am not seeing a way to do that, with custom post types add-on.

    Thanks!
    Max

    #508528

    Alex Rollin
    Moderator
    Post count: 27815

    Fields, categories, and tags are unique to each custom post type.

    With GD listings you can show a list of listing of a single CPT and include or exclude certain categories. With multiple GD Listings next to each other in a page you can show listings from different CPTs together.

    #508649

    Max Batt
    Free User
    Post count: 23

    Thanks Alex,

    Could you confirm that GD Listings, means the “List Manager” add-on?

    What we’re *really* trying to do, is have a map, not a listing results page, that shows *all* listings.

    Is there a way to have a map that shows multiple custom post types? And a filter that filters based on certain fields, that are shared by multiple custom post types?

    Thanks!
    Max

    #508652

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    GD Listings is our most powerful query element for showing lists of listings.

    It is often used on a WP Page to show, for example, a list of 8 featured listings in 2 rows of 4 per row, sorted by most recently added.

    GD Map is the element you want to show a map.

    You can use the shortcode builder to explore all the options for each of the GD elements.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    Be sure to click the blue button to see all the advanced options for each shortcode.

    With GD Map, when you configure it, choose Map type = Directory map. The directory map has the option for a Post Type selector, to switch easily between showing all of one post type at a time.

    https://wpgeodirectory.com/docs-v2/integrations/maps/
    https://wpgeodirectory.com/docs-v2/design/gd-listings/
    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/

    #508655

    Max Batt
    Free User
    Post count: 23

    Hi Alex,

    I think we’re getting closer. I just want to confirm, so attaching a photo if this helps.

    To confirm, we have *two* main post-types, Adults and Kids.

    Let’s say, the *only* fields these two types have in common is “borough” and “price.”

    What we’re looking for, is a way to have a map that includes these two shared fields, as filters, that can then *map* all results, within *both* the kids and adults post-types.

    Then, we would have two separate maps, which are dedicated to each individual post-type (“Kids” and “Adults”) – which seems more straightforward.

    Looking at the attached map, how would we set up the filters in a way that it filters amongst the shared categories:

    #508659

    Alex Rollin
    Moderator
    Post count: 27815

    That is possible with one CPT (like Places) using categories as filters.

    For example the map on this page:
    https://wpgeo.directory/starter/

    At the bottom of that map is the post type selector, if there is more than one CPT.

    #508664

    Max Batt
    Free User
    Post count: 23

    Got it, I see what you’re talking about, with the tabs.

    Last follow-up question, is there a way that there can be a tab that would, instead of showing “places, events” … that we would say “everything” and show *multiple* custom post types on the same map (without having to click in between tabs)

    Thanks!
    Max

    #508669

    Alex Rollin
    Moderator
    Post count: 27815

    Unfortunately this setting is not currently available.

    I have taken this up as a suggestion and will share it with our development team to see whether we can work on this in the near future.

    Please feel free to make a new topic if you need help with anything else.

Viewing 11 posts - 1 through 11 (of 11 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