Home › Forums › Welcome! › Pre-Sales Questions › Pull feed from event Category from one site to another site.
- This topic has 7 replies, 3 voices, and was last updated 9 years, 9 months ago by
Josh.
-
AuthorPosts
-
July 6, 2016 at 12:28 am #1135873
Ryan
ParticipantWe have 2 websites. lets call A and B. Is it possible to setup a category of events in A website that will also automatically appear in B website calendar?
Some events will be specific to the both sites, but we would also like the ability to have a category of events where we can enter the event into the calendar on one site and have it appear on both sites
something feed ?
i just search around google. but not found anything about this type.
July 6, 2016 at 6:19 am #1135922Josh
ParticipantHey Ryan,
Thanks for reaching out to us!
Sure thing! You can do this with the latest version of our iCal Importer plugin. For this, you could create the events on one site and add something along the lines of the following to that site:
https://gist.github.com/BeardedGinger/de28d93386adb1a4881e6be769527bcd
From there, you could create a recurring import on the second site using the new feed location created above.
If you have any further questions about this process, we do request that you post for support within our Premium Forums here rather than the Pre-Sales Forum.
Thanks!
July 6, 2016 at 8:31 am #1135981Ryan
ParticipantThanks for the response. i don’t want to buy the event calendar pro? just need ical import plugin only?
Thanks again 🙂
July 7, 2016 at 9:21 am #1136534Josh
ParticipantHey Ryan,
Yes, you should be able to cover the import as described above with just the iCal Importer plugin. You wouldn’t need PRO unless you wanted the additional features available there for the calendar (unrelated to the import).
Thanks!
July 15, 2016 at 8:33 am #1140303Trey Gallant
ParticipantJosh,
Thanks for the information! I’ve been looking for a way to do this for a while. Can you explain the process of pulling the information onto the second site? And does the code need to be added to the first site’s function.php or somewhere else?
Thanks!
July 18, 2016 at 5:38 am #1140989Josh
ParticipantHey Trey,
The snippet above would go into the functions.php file of your theme used on the site where the events are coming from. The site where the events are originally created.
Then, to import a specific category of events into your second site, you would use a URL such as “http://example.com/?ical=1&tribe-cat={slug}” where {slug} is the slug for the category that you would like to import from.
Let me know if this helps.
Thanks!
July 18, 2016 at 8:37 am #1141049Trey Gallant
ParticipantJosh,
I tried adding in the code, and it keeps breaking the site. I’ve edited the functions file of different sites before, but for some reason I can’t get this one to play ball. If I were to send you the functions file I’m working on could you help me get it placed in the right spot?
Thanks for your help!
Trey
July 19, 2016 at 7:16 am #1141443Josh
ParticipantHey Trey,
Sure thing! Would you mind actually creating a new thread for that ticket and requesting me in that thread. That way we don’t keep hitting Ryan (the original poster here) with a bunch of follow up emails.
Ryan,
I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new one.
Thanks!
-
AuthorPosts
- The topic ‘Pull feed from event Category from one site to another site.’ is closed to new replies.
