Support

Account

Forum Replies Created

  • That actually makes a lot of sense, deleting the values under other areas would be more annoying than the “issue” I mentioned. I think it seemed more of a bug to me, as I was moving from a setup without radio buttons and fully populated fields, to radio buttons, and needed to remove a lot. Now that its done, the way things work is more or less ideal.

    Either way, I figured I’d bring it up just in case, and now I know – thanks for the clarification.

  • Just tested this while at work, and it was exactly what I was looking for! Elegant, clean, and without compromise. I had seen the “conditional logic” button, but never checked into it. If I did, it definitely didn’t use to be as powerful as it is now. Thanks for the quick answer, this already powerful tool just got that much better for me.

  • Thanks for the information, James. I hadn’t used the repeater fields yet, but that seems like a perfect use of them. I also just discovered the tabs field, which will be great for organizing the information on the back end.

    My only minor hiccup here will be simply grabbing every item of the repeater field, not just specific ones. That tutorial threw me off a bit with the Images repeater field, images, and type, as the type bit doesn’t apply to me. I was reading it in a rush, so it should be a lot easier than I’m making it, but if you have any quick advice on that, I’m open to it. Otherwise, I’m sure I’ll figure it out. Thanks again!

  • This reply has been marked as private.
  • I am using it on ANightInBurlington, but I’m currently in the middle of refactoring a lot of the code. I originally came up with a very clever use of Pages, page templates, and ACF, but I’m now adding custom post types to organize the data a bit more.

    Either way, while it may not be visible in the current version of the site, ACF has proven extremely powerful, and makes custom meta boxes / information for anything a breeze.

  • Thanks for the follow-up posts. I’ve decided to use Custom Post Types primarily to organize the massive amount of content I have. I’ll eventually have over 50 restaurants, 20 hotels, 20 bars, etc, and having them all under “pages” was going to be a mess. I’m now looking into creating a few custom post types (for each primary subject the site covers), with some custom taxonomies for sorting what would be their sub-categories (think Lodging CPT, with a custom taxonomy of “type” with hotel, B&B, resort, etc).

    The only thing I’m a bit hung up on right now is the url structure I want. I know I want a main HUB for each topic, such as Dining, Lodging, Music, etc, and I want a sub-HUB for each of the “type” taxonmies (hotels, B&B, resorts, etc), but I can’t decide if the sub-HUB should be included in the URL, like so:

    site.com/lodging/resorts/resort-name

    OR

    site.com/lodging/resort-name

    The former has logical structure, breadcrumbs would work great, etc, where as the latter is a bit future-proof (if I change taxonomies, or restructure my data in any way). I can still have the sub-HUB pages to showcase all related content, but then have the actual content not include the taxonomy type in the url.

    Anyone have any advice on this?

  • That’s kind of what I was thinking, but just wanted some confirmation. I think I’ll duplicate the site and toy with custom post types, just to see how it handles, but only in a test environment. If I don’t get them set up and make things feel cleaner within a day or so, I’ll just ditch the effort and stick with what I have, as it definitely works.

    Thanks a lot for taking the time to read my situation, and offer feedback, it’s much appreciated.

  • It makes sense logically, but I don’t get the “why” of it. Let me explain / link my site, to help clear things up.

    The site is on night life / entertainment, and covers every restaurant, bar, hotel, etc, in the local area. In theory, each of those would be a custom post type, if I needed it (or knew why it was advantageous to use them). I’m also not sure how my sub-types would handle (Dining has – restaurants, cafes, delis, street vendors, etc).

    The current custom ACF groups are as follows:

    “Location Info”, which contains a “location_category” field (a check box, used to determine if it’s a bar, restaurant, music venue, or a mix), and a “city” field, used to mark which city the venue belongs to (the site covers various cities in the area).

    “Basic Info”, which contains “description” and “images” fields, which is pretty self-explanatory.

    “Dining_info”, which is tricky. This one, simply determines if the venue has dine in, take out, or delivery, and isn’t specific to the “Dining” section of my website, but instead applies to all templates that occasionally also have food (Bars, Dining, for now, but this is perhaps the one “messy” area at the moment).

    I then have templates for “Main” categories (Music, Dining, Loding, etc), and “Secondary” categories (for music, artists and venues, dining has the sub sections mentioned earlier, etc). The templates aren’t quite done yet (design), but code-wise, dynamically show everything I need based on the ACF information, which works great. I can show events on a calendar dynamically using the page string, which is identical to the “location_category” field. This allows me to query Maps with all venues dynamically, events, and more.

    IMO, I’ve done a very clever job of making this all work, but again, it needs to be future-proof, and I have a nagging in the back of my mind that says custom post types are MEANT to do exactly what I’m doing. That being said, my setup seems to make them obsolete in my situation (based on what I know), and I’m a bit lost. I also really like my url structure (site.com/dining, site.com/dining/restaurants, site.com/dining/restaurants/venue-name), and I’ve heard custom post types don’t play well with custom permalinks. Anyway, sorry for the essay of a post, but I figured I had to explain it as best I could to make proper sense here.

    Ignore the incomplete main and sub category pages – anightinburlington.com

  • I’d still like to see this added.

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