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-
AuthorPosts
-
September 12, 2019 at 10:33 pm #507947
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 everythingAdult Classes Map
includes filters that only apply to adultsKids Classes Map
includes filters that only apply to kidsDo 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!
MaxSeptember 13, 2019 at 9:01 am #507986If 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.
September 16, 2019 at 6:27 pm #508484Thank 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
September 16, 2019 at 6:37 pm #508489Alex,
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!
MaxSeptember 16, 2019 at 11:15 pm #508528Fields, 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.
September 17, 2019 at 4:16 pm #508649Thanks 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!
MaxSeptember 17, 2019 at 4:24 pm #508652Hello,
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/September 17, 2019 at 4:35 pm #508655Hi 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:
September 17, 2019 at 4:51 pm #508659That 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.
September 17, 2019 at 5:06 pm #508664Got 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!
MaxSeptember 17, 2019 at 5:22 pm #508669Unfortunately 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.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket