Home › Forums › Calendar Products › Event Aggregator › How do I add a Facebook button and link it to Facebook Event URL?
- This topic has 8 replies, 2 voices, and was last updated 8 years, 10 months ago by
Katherine.
-
AuthorPosts
-
May 11, 2017 at 9:38 am #1282407
Katherine
ParticipantI’m using the Pro and Aggregator plugins and I’d like for the List View (i.e. http://www.aqua-brew.com/calendar/) and the Single Event view (e.g. http://www.aqua-brew.com/event/bum-lucky/) to show this “RSVP on Facebook” button and have it link directly to the facebook event. We’re using Aggregator to pull in events each day from FB. I had the button added and linked via a custom field at one time, but some things have changed.
You can see my current state on the left, and ideal functionality on the right (someone else’s website). Crappy styling not withstanding.
May 12, 2017 at 6:18 am #1282897Nico
MemberHey Katherine,
Thanks for getting in touch with us! I can help you here 🙂
Before I do thou I want to make sure I understand what you need correctly:
– You want to show an ‘RSVP on Facebook’ button linking to the Facebook event URL for all ‘Facebook Imported’ events. For views: list view and single event.
Is the above correct? Please let me know about it,
Best,
NicoMay 19, 2017 at 4:22 pm #1286539Katherine
ParticipantYes. That’s correct.
May 19, 2017 at 5:21 pm #1286554Katherine
ParticipantIn fact, I removed the customizations to my theme so it won’t interfere with whatever instructions you’ll provide me with. My system status has changed as of today —
The website now has Event Tickets Plus, too.May 21, 2017 at 1:07 pm #1286884Katherine
ParticipantThis reply is private.
May 22, 2017 at 6:54 pm #1287414Katherine
ParticipantThis reply is private.
May 24, 2017 at 4:35 am #1288211Nico
MemberHi there Katherine,
Sorry for the delay in my reply! We don’t work during weeks + I was out at the start of the week. Will be more responsive moving forward 🙂
To add the link to ‘RSVP on Facebook’, just paste the snippet below into your theme’s (or child theme’s) functions.php file:
https://gist.github.com/niconerd/75304432d4070d35f341993321d6fa7c
Most probably you won’t need the PHP opening tag (<?) and you can delete it.
Regarding the styling of the button you can go to the website from which you took the reference and copy the styles applied to the button!
Please let me know if this helps,
Best,
NicoJune 15, 2017 at 9:35 am #1298508Support 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 ‘How do I add a Facebook button and link it to Facebook Event URL?’ is closed to new replies.
