Home › Forums › Welcome! › Pre-Sales Questions › Integration with Custom Content Type fields
- This topic has 4 replies, 2 voices, and was last updated 9 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
March 9, 2017 at 2:16 pm #1252024
Dietcheese
GuestI am interested in purchasing your plugin and a few add-ons, however I have a question:
I want to use the plugin to display events at a book festival. Each event has a book author. I would like each event to be linked to the author, which is stored in WP as a separate custom post type using ACF. I would like to be able to display, and filter on, the author using the Filter Bar Plugin.
I realize that this is not possible by default (and that you can create custom fields within the plugin). However, I am wondering if the plugin will allow me to link to my custom post type programmatically, if I code the functionality using PHP. I’m also wondering how difficult this would be and if there are any examples you could post me to.
Thanks!
March 9, 2017 at 6:42 pm #1252151Cliff
MemberHi, Dietcheese.
Thanks for your interest in Filter Bar.
It easily integrates with Events Calendar PRO‘s Additional Fields, which isn’t a regular plain text custom field (it’s a serialized array in a single custom field). There also isn’t any built-in integration with ACF; we don’t have such a snippet available either.
However, we have a pretty great Refund Policy so you can buy one or many of our add-ons and thoroughly test them.
I hope this info helps. Let me know if you have any follow-up questions.
March 10, 2017 at 5:32 am #1252275Dietcheese
GuestThanks Cliff.
I understand that there is no built in integration for ACF and that you do provided additional custom fields.
However, my question is technical:
Is it at all possible, using ACF, to get fields from a different custom post type, on to the filter bar?
Again, I realize this isn’t something you provide. I just want to know if, programmatically, it’s even possible.
(alternatively, if your calendar’s custom fields provide a way of linking to other content types, that would be acceptable. I didn’t see this in your documentation)
Thanks,
ChadMarch 10, 2017 at 5:17 pm #1252723Cliff
MemberOur PRO Additional Fields functionality looks like this: https://cl.ly/2W0w2p3k0m2F
There is a URL field to manually enter a link.
As far as adding something custom to the Filter Bar, I think looking into the tribe_events_filter_create_additional_field_filter filter is a good place to start. It’s in this file: /wp-content/plugins/the-events-calendar-filterbar/src/Tribe/Additional_Fields/Manager.php
Please let me know if you have any follow-up questions on this topic.
April 1, 2017 at 9:35 am #1263034Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Integration with Custom Content Type fields’ is closed to new replies.
