Home › Forums › Welcome! › Pre-Sales Questions › Is it possible to use my own custom post type instead of ‘Organisers’?
- This topic has 4 replies, 2 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
August 20, 2013 at 6:12 am #61552
Luke
GuestHello, Thank you for your great plugin.
In short: How would I use my own post type instead of the plugins ‘organiser’ post type?
Here’s my situation. My website lists companies and I would like to associate different activities to them. Events, Job listings and Products. I have three plugins that manage these activities perfectly. Each plugin has a similar idea, but call things differently. The Events Calender call it “Organisers”, WP Job Manager calls it “Companies” and WooCommerce calls it “Brands”. The namings are different but the entities (and the way you’ve implemented them: custom taxonomies/post types) are essentially the same. However, I don’t want to maintain a company/organiser/brand in three different places.
I’m not sure of the correct terminology but how would I go about mapping/replacing your ‘Organizers’ taxonomy to a custom taxonomy or post type thats outside of your plugin. My ideal would be to have one “company” taxonomy or post type for these three plugins.
Am I making sense? If I am, am I expecting too much?
August 20, 2013 at 9:35 am #61714Rob
MemberHello there Luke! Thanks for this note, and for your words on the plugin. Awesome to hear you’re enjoying it. This was an interesting question and one I actually had to go to the dev team to get a reply on, but I do have some information that should help point you in the right direction.
Admittedly, it might not be worth the trouble to actually use a different post type for organizers (especially since from the sounds of things you’d need to do it in all 3 plugins). But you could definitely either add a custom taxonomy called COMPANIES, and use it with our Organizers. But another dev also suggested either:
* using a save_post callback to update all three in some arbitrary way whenever one is updated; or
* using a filter so select data is always pulled from the same placeI hope that helps. Realize it may not be entirely along the lines of what you’re looking for, but it’s admittedly probably the best we can offer up at this point. Please let me know if you have other questions or need anything else here.
August 20, 2013 at 10:58 am #61817Luke
GuestHmm, its what I imagined. TEC and the other two plugins operate in silo worlds. Which is perfectly fine as they do their individual jobs perfectly. But it would be nice they all had the option to choose a post type to use for their respective organiser/company/brand functionality.
Anyway, thank you for the quick and detailed response. I will buy PRO anyway and try to figure it out myself if there are any hooks/filters I can use.
Though, I was unclear what you meant by this sentence:
“But you could definitely either add a custom taxonomy called COMPANIES, and use it with our Organizers.”
August 21, 2013 at 11:01 am #62284Rob
MemberHey again Luke. Thanks for the follow-up here and glad to help you out best I could. Regarding that last point, by way of clarification: what you could do is define a custom taxonomy called “companies”, and make our organizers use that taxonomy, (assuming you could also use that taxonomy for the other 3 plugins’ post types). That’s how you could link the companies together (by having them share the same company name term in that taxonomy).
Hope that helps! Let us know if we can do anything else.
July 7, 2015 at 6:27 am #980911Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Is it possible to use my own custom post type instead of ‘Organisers’?’ is closed to new replies.
