Your Vote for Widgets Spanning Custom Post Types

This topic contains 9 replies, has 3 voices, and was last updated by  Guust 10 years, 2 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #11813

    identity
    Lifetime Member
    Post count: 445

    Realized the other day that most/all of the widgets use a Custom Post Type (CPT) designation to base all the output on. If you’ve only been testing the default Places and Events setup, then you may not have noticed or given this much thought either.

    However, one of the benefits to multiple CPTs is the ability to customize the form fields. So you might have “kid friendly” or “outdoor space” under a Restaurants CPT, but that probably doesn’t make much sense under “Financial & Legal Services.” Or “swimming pool” under a Hotel or Lodging CPT, but again, not a lot of sense under “Automotive.”

    So if suddenly multiple CPTs sound like a great thing, understand that it will be very challenging to use most of the widgets as they are today, or to have pages that don’t seem like they have been cobbled together.

    I’ve submitted a new request and would welcome support.

    Head over to the new Request page and look for “Allow Widgets to Span Custom Post Types.” Unfortunately, no direct links to any of the suggestions, so you may have to page through…but the faster it gets voted up, the easier it will be to find 😉

    cheers

    #11815

    Guust
    Moderator
    Post count: 29970

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

    One way to solve what you describe above is this way:

    Assume one CTP only.
    Categories are Lodging and Automotive
    Custom fields are Pool and Tires
    Set up a price package called “Submit Lodging” and exclude Tires from the fields available and exclude the Automotive category
    Set up another price package called “Submit Automotive” and exclude Pool from the fields available and exclude the Lodging category
    Problem solved.

    As I understand it, CTPs are separated that way to speed up things …
    And regarding “cobbled together” (nice turn of phrase by the way), do you know of any directory does not use top categories? If you drill down, well, you drill down … the only way to solve that is a one page website 🙂

    Don’t ask what GD can do for you, but what you can do with GD [Guust] 🙄

    #11818

    identity
    Lifetime Member
    Post count: 445

    Guust,

    I appreciate the work around idea. It certainly has merit.

    The one challenge is that it probably isn’t as simple as one or two fields…if it was, you probably wouldn’t bother with more than one CPT anyway.

    It is probably several fields across 5-15 different CPT, across 2-3 different pricing tiers (standard good-better-best marketing/pricing strategy). This seems like more of a nightmare to manage, which leaves excluding multiple CPT and fields, which waters down the site to little differentiation or value.

    Or have multiple CPT and relevant fields, but have a potential disconnect on other pages because I’m limited to 1 CPT, or I have to have multiple, separate CPTs on a page (this was what I meant by “cobbled together”) for each CPT you want to include. For example, if I have one CPT on a listing page for restaurants, then anyone going to a location page rather than a specific category (CPT) will only be presented with restaurants. Maybe that is fine, maybe it isn’t. As it is today, that’s the only way it is presented. Maybe I don’t want all CPT, but maybe I want a random (or based on proximity to the user) selection of listings from the top 3 categories (e.g., restaurants, bars, shopping).

    Don’t ask what GD can do for you, but what you can do with GD [Guust] 🙄

    Sorry, but I think this is a poor, poor response from someone being given the role of moderator. What I’m trying to do is help foster the development of GD to be the best directory solution there is. That doesn’t happen by simply rolling over and accepting it as it is or it’s limitations, but challenging the development to be better. There may be reasons for those limitations, and that’s fine. Some of them may be true limitations, and others maybe self-imposed.

    Unfortunately, I’m not a developer, coder, programmer, and I haven’t even done site design for years, so I’m limited on what I can do to help here. But I’ve been involved in software development, worked for a leading SEO agency done SEO work on some of the biggest brands in the world, so I will happily provide my expertise where I can to help things along.

    If you misinterpreted my post as an attack on GD, I’m sorry…that wasn’t the intent. And likewise, if I misread the intent of your response, then simply take the above in context there as well.

    cheers

    #11820

    Guust
    Moderator
    Post count: 29970

    Ah Brian, my comment was just my lame attempt at humour, having a wordplay of what JFK said (or whoever it was), trying to say that it sometimes pays to think outside the box. That is why I added the roll-eyes after it.
    I never saw your post as an attack on GD, so far I have not seen anything else than constructive comments from you.
    And like you, I am not a PHP coder or programmer. I know my way around a website and WordPress and GD, but leave the real clever things to the real stars here.
    And that is probably why often I try to suggest things that are based on trying to get around the limitations of some software, rather than trying to change the software (because I would not know where to start).
    At least here you get the chance to add to the direction and development of the GD software; try that at Microsoft or Apple (mmmm, maybe my bad sense of humour again …)

    #11826

    Guust
    Moderator
    Post count: 29970

    Trying to understand the rest of your post now.

    “if I have one CPT on a listing page for restaurants, then anyone going to a location page rather than a specific category (CPT) will only be presented with restaurants”
    Not sure what you mean here. If you have more than one CTP, then going to a location page should show all CTPs on the map.
    Example: http://goldroo.net/location/australia/queensland/
    Unless you choose to only go the location AND the one CTP:
    Example:
    http://goldroo.net/attractions/australia/queensland/

    “Maybe I don’t want all CPT, but maybe I want a random (or based on proximity to the user) selection of listings from the top 3 categories (e.g., restaurants, bars, shopping).”
    You can add more than one Popular Post View widget to GD Home, and set that to sort random. For example at http://goldroo.net/location/australia they will see max 4 random Attractions and max 4 random Accommodations.

    I feel like I am misunderstanding something …

    #11851

    identity
    Lifetime Member
    Post count: 445

    Guust,

    sorry…I should have thought as much. It was a long night, less than 2 weeks from a planned launch, still waiting for the “next update” which has now missed 2 release dates, still lots of things to be figured out and done, especially things like 1 or multiple CPTs that will be extremely challenging if not nearly impossible to change later, and about to drop $2K into this in prep for launch, all while trying to maintain day job…….so perhaps a little tightly wound at the moment.

    On first point…right, fortunately the map does show multiple CPTs. I was thinking more about most of the other widgets where a CPT must be designated and more like your second paragraph example where you need to repeat widgets for each CPT.

    I may just need to create a handful of CPTs to test with to better understand how it would or wouldn’t come together.

    Your initial response idea though was good and certainly could be viable for some sites, but with the number of CPTs, unique fields, and pricing tiers that I have in mind, and all having to be manually constructed and maintained, it would be too much of a nightmare for my instance.

    The one drawback I did think about is that without separation of CPTs and pricing, you’d have all of those various options called out on the Add Listing page, which might be a bit confusing and overwhelming for users…again, depending on the site specifics.

    cheers

    #11854

    Guust
    Moderator
    Post count: 29970

    Hi Brian, just to recap, this is what I would recommend when you are considering setting up your GD site:

    1. Minimise the amount of CTPs
    2. Don’t forget you can use CTP > Category > SUB-CATEGORY
    3. It is better to have broader categories than have too many categories for every little variation

    And to answer your last question:
    Rather than an “add listing” page, you could direct link to the different packages from a “Features” or “Pricing” page maybe?
    A bit like this: http://goldroo.net/sample-page/

    #11989

    purpleedge
    Expired Member
    Post count: 539

    Hi Guust,

    Do you know if the next release has better handling of categories and sub-categories? Specifically…

    1. Is it possible for a listing to set a sub-category as their default category?
    2. Is the display of category and sub-categories now hierarchical, like below…?

    http://templatic.com/demos/?theme=directory

    #11993

    identity
    Lifetime Member
    Post count: 445

    @guust

    Again, thanks for the ideas.

    It’s all relative, but the 11 or so categories/CPTs planned are fairly paired down based on analysis of other popular, related sites and some general keyword research. Perhaps 1 or 2 could be combined, but that would really start to blur the relevancy.

    In this case, the main reason for having multiple CPTs goes back to setting up unique, relevant fields. If GD could be setup to allow field customization at the category level (inherited or further customized at child levels below that), then CPTs would necessarily be needed for this. I’d prefer that and leave CPTs for things like directory listings vs. events vs. job listings vs. property listings, etc.

    That said, I do agree with your #3 point about breadth.

    I’ve been thinking about a pricing page as well like you have there, as much for greater presentation capabilities around pricing tiers as anything.

    To add to purpleedge’s questions, I’d add a 1b. to the list:
    The ability to restrict listing selection within categories, or put simpler, “forced submission to the lowest level.” Ideally this should also be left to admin discretion to either allow selection/submission into parent level categories (e.g., restaurants) or only allow in child levels (e.g., Italian restaurants, Chinese restaurants, etc.)

    #12018

    Guust
    Moderator
    Post count: 29970

    Sorry guys, but I don’t really know what is in and out in the next update.
    If it all was simple, it probably would have happened 2 months ago 🙂

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