Why Add Social Media to Your WordPress Site?
There are plenty of reasons to add social media to a WordPress site. Not only will a social media feed plugin consolidate all of your social networks into a single place, it helps keep your WordPress website visitors engaged. Adding a WordPress plugin for a social media feed also lets you take advantage of the user-generated content your loyal customers create on all of your social networks. All this while letting you moderate and filter what shows up on your WordPress site. So, how do you add social media WordPress plugins?
Add a Social Feed to Your WordPress Site With an Embed Code
Copy your social media feed embed code. Remember that your specific Juicer embed code is available on your Juicer dashboard, by clicking “Embed in your site.”
The code will look something like this, and it will contain your feed name. Do not copy the code below, copy your own code from your Juicer Dashboard.
<script src="//assets.juicer.io/embed.js" type="text/javascript"></script> <link href="//assets.juicer.io/embed.css" media="all" rel="stylesheet" type="text/css" /> <ul class="juicer-feed" data-feed-id="YOUR_JUICER_FEED_NAME"><h1 class='referral'><a href='http://www.juicer.io'>Powered by Juicer</a></h1></ul>
In your WordPress dashboard, create a new post or page, or edit an existing one. Then, click on the “Text” tab above the content editor (not the “Visual” tab).
Next, paste your copied social media feed embed code into the page, as shown below.
Use the Juicer WordPress Plugin
Another simple option to add a social media plugin to your WordPress site is to install the WordPress plugin for Juicer. Just add Juicer’s social media plugin through WordPress’s Add new plugin menu. Alternatively, you can download the plugin here. Once unzipped, upload the full folder into the Plugins directory of your WordPress site (it should be /wp-content/plugins).
Next, log on to your WordPress admin dashboard, click “Plugins” in the left-hand menu, find the WordPress social media plugin in your list, and click “Activate.”
Then, create a new page or post (or open an existing one). When you are on the WordPress page editor, simply add the Juicer social media plugin feed shortcode, like this:
[juicer name='YOUR_FEED_NAME']
The exact shortcode can be found in the “Embed in your site” panel of the Juicer dashboard, as shown here:
Use a Juicer PHP Function to Embed the Social Media Plugin Directly In Your WordPress Theme
If you’re into the “nitty-gritty” of customizing the PHP code of your WordPress theme, it’s easy to integrate Juicer’s WordPress social media plugin this way, too. For example, if you want to get a Juicer social media feed on every page of your WordPress site, you can add the juicer PHP function to your footer.php file in your themes' directory.
First, install and activate the Juicer WordPress social media plugin as described above.
Then, use the Juicer PHP function anywhere you like in your WordPress template.
<?php juicer_feed('name=YOUR_FEED_NAME') ?>
To get the exact PHP function, visit your social media feed editor page, click on “Embed in your site”, and then choose WordPress instead of Standard Website.
If you have any questions or need any help, please email us at hello@juicer.io.
Comments
0 comments
Article is closed for comments.