{"id":26071,"date":"2021-06-26T15:00:23","date_gmt":"2021-06-26T13:00:23","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=26071"},"modified":"2021-06-23T12:31:32","modified_gmt":"2021-06-23T10:31:32","slug":"how-to-add-facebook-event-calendar-to-wordpress","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-add-facebook-event-calendar-to-wordpress\/","title":{"rendered":"How to Add a Facebook Event Calendar to WordPress"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]With the <a href=\"https:\/\/www.businessofapps.com\/data\/facebook-statistics\/#1\" target=\"_blank\" rel=\"noopener\">number of users nearing three billion<\/a>, Facebook is <strong>easily the most popular social network<\/strong> at the moment. Part of the reason for its popularity with users are its features \u2013 on Facebook, people connect with people, businesses connect with clients, and communities can form organically, whatever else you may think of the network.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]One of Facebook\u2019s popular features is event organization and planning. If you are running a website for a business or a community (such as a hobby club or a neighborhood association) which holds meetings or events with any frequency, chances are you also run a Facebook group or page to organize and inform attendees.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Of course, you can use WordPress to <a href=\"https:\/\/qodeinteractive.com\/magazine\/facebook-group-feed-wordpress\/\">embed a Facebook group feed or page timeline<\/a> into your website, but suppose you only want the event calendar? We\u2019ve got your back. But before we get into the nuts and bolts of the how-to, let us take some time to go into the why and wherefore.[\/vc_column_text][vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;new-top-picks-banner&#8221;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Why Add a Facebook Event Calendar to Your Website?<\/h2>\n<p>[\/vc_column_text][vc_column_text]Popular as it is, <strong>many people only use Facebook irregularly<\/strong> (or only to keep in touch with family and friends), while visiting their favourite websites daily for news. Also, your website visitors and your Facebook followers or group members might not overlap. With a Facebook Event calendar on your website, your visitors will be notified of upcoming events at a glance, even if they don\u2019t don\u2019t want to log into Facebook to mark themselves as interested or going.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Sure, you could just <a href=\"https:\/\/qodeinteractive.com\/magazine\/event-registration-with-wordpress\/\">create an event registration page<\/a> on your website, but that only <strong>doubles the work<\/strong> if you also want to create events for your Facebook community. Furthermore, with Facebook, registering for an event just takes a click, which makes it a good option for informal events or large gatherings. We do think a comprehensive form or <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-rsvp-plugins\/\">RSVP plugin<\/a> is better for invitation-only events, but for club meetings, open-air events and similar, simpler is better.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]How to Add a Facebook Event Calendar to WordPressBefore you begin, you\u2019ll need a Facebook page with at least one upcoming event. Once you have a Facebook page with an event, you\u2019ll need its URL. Simply load your page in your browser and copy it.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Page-URL.jpg\" class=\"attachment-full size-full\" alt=\"Facebook Page URL\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Page-URL.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Page-URL-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Page-URL-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Page-URL-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You then need to access <a href=\"https:\/\/developers.facebook.com\/docs\/plugins\/page-plugin\" target=\"_blank\" rel=\"noopener\">Facebook\u2019s Page Plugin<\/a> page in order to generate the code you need.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The first thing you need to input is the <strong>Facebook Page URL<\/strong>. Once you do, you will get a preview of your page timeline in the preview box, with your page posts in descending order from latest to first. This is about events, though, so in the <strong>Tabs<\/strong> field you need to replace \u201ctimeline\u201d with \u201cevents\u201d. Once you press enter, you will see that the preview has changed to show upcoming events only, with the most immediate ones first.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]This is where you can also customize the look of the widget which will appear to your visitors. You can set the <strong>Width<\/strong> and the <strong>Height<\/strong>, with Width being limited to anything between 180 and 500 pixels, while Height has to be over 70 pixels. If you leave these fields blank, you will get the default values of 340 by 500 pixels.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The checkboxes below the Width and Height fields govern the style of your Event Calendar: you can select a <strong>Small Header<\/strong> or <strong>Hide the Cover Photo<\/strong> to give more space to your event content, and you can also choose to uncheck <strong>Adapt to plugin container width<\/strong> and <strong>Show Friend\u2019s Faces<\/strong>, which are checked by default.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"676\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Plugin-Setup.jpg\" class=\"attachment-full size-full\" alt=\"Facebook Plugin Setup\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Plugin-Setup.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Plugin-Setup-300x209.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Plugin-Setup-768x536.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Facebook-Plugin-Setup-620x433.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]If you are of a more technical bent, you can scroll down and read through some of the attributes used by Facebook\u2019s plugin. If not, you can just click the <strong>Get Code<\/strong> button underneath the preview box to, well, get your code.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You will get two pieces of code, and you need both of them. Copy the first one.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Get-Code.jpg\" class=\"attachment-full size-full\" alt=\"Get Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Get-Code.jpg 968w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Get-Code-300x161.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Get-Code-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Get-Code-620x332.jpg 620w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You need to copy your first piece of code into your <em>header.php<\/em> file. You will find it by navigating to <strong>Appearance\/Theme Editor.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Theme-Editor-1.jpg\" class=\"attachment-full size-full\" alt=\"Theme Editor\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Theme-Editor-1.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Theme-Editor-1-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Theme-Editor-1-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Theme-Editor-1-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Find the <em>header.php<\/em> in the right-hand side menu and click to open it. Next, find the &lt;body&gt; tag, and paste the first piece of code directly underneath it, making sure you don\u2018t upset any other tags. Finally, scroll down and click <strong>Update File<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Paste-Code.jpg\" class=\"attachment-full size-full\" alt=\"Paste Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Paste-Code.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Paste-Code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Paste-Code-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Paste-Code-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Next, go back to the Facebook Page Plugin page and copy the second piece of code.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Widget-Code.jpg\" class=\"attachment-full size-full\" alt=\"Widget Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Widget-Code.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Widget-Code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Widget-Code-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Widget-Code-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]This is the code to the actual event calendar widget, and you can use it in any widget area on your website, minding the height and width. We will use it as part of a post, but you can use it whenever you like.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Once you have created a post, click on the <strong>plus<\/strong> sign to add a block, then select the <strong>HTML<\/strong> block.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Block.jpg\" class=\"attachment-full size-full\" alt=\"Add Block\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Block.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Block-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Block-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Block-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]All that\u2018s left to do is paste the code into your HTML block. Of course, this goes for Gutenberg users. If you are using Elementor, you need the <strong>Custom HTML<\/strong> element, while a <strong>Classic Editor<\/strong> user can simply paste the code where they want it, provided they are using the <strong>Text<\/strong> view.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Code-1.jpg\" class=\"attachment-full size-full\" alt=\"Add Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Code-1.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Code-1-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Code-1-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Add-Code-1-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]And your event calendar will be there for your visitors to peruse.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"555\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Event-Calendar-Preview.jpg\" class=\"attachment-full size-full\" alt=\"Event Calendar Preview\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Event-Calendar-Preview.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Event-Calendar-Preview-300x172.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Event-Calendar-Preview-768x440.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/06\/Event-Calendar-Preview-620x355.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;78px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">In Conclusion<\/h2>\n<p>[\/vc_column_text][vc_column_text]As we have shown, embedding a Facebook event calendar into your WordPress website is quick and easy and uses Facebook\u2018s own code. So, in the interest of time-saving for you and for your website visitors, take a while to set up this simple solution. Your visitors will know what events you\u2018ve got in the pipeline at a glance, and your community will have more ways of staying informed. Best of all? This widget updates itself constantly, meaning you only ever need to create an event once \u2013 on Facebook.<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>There is an easy way to notify your visitors of your Facebook events in WordPress. We will show you how.<\/p>\n","protected":false},"author":16990,"featured_media":26484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[115,15,26,4,13],"class_list":["post-26071","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-events","tag-plugins","tag-social","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/26071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/16990"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=26071"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/26071\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/26484"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=26071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=26071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=26071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}