Juicer

The Juicer Blog

Setting up a Juicer Social Media Aggregator on a Wordpress site

Posted January 19th, 2015 by Ryan in

Blog Home

Wordpress is an awesome platform on which to base a website or blog, as it's easy to set up and customize and offers a lot of quality templates. But one of its best features is the availability of hundreds of thousands of plugins for your site, which gives you the power to do just about anything you or your brand would need on your website.

Thanks to the Juicer plugin, it's never been easier (or cheaper) to get an aggregated social media feed up and running on your Wordpress site. You'll need to get signed up to Juicer first, which is very easy (and free).

Once you're signed up, there are three ways to embed a Juicer feed on your Wordpress site:

Add Your Embed Code

In your Wordpress dashboard, create a new post or page, or edit an existing one. Then, click on the "text" button above the content editor.

Text Button

And paste your embed feed into the page, as shown below. Remember that your specific Juicer embed code is available on your Juicer dashboard, by clicking "Embed In My Site."

<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>

Embed Code

Simply save that page, and you'll have yourself a shiny new Juicer feed!

Use the Juicer Wordpress Plugin

This is very simple. Just download the Juicer plugin, unzip it, and upload the whole folder using FTP to your Wordpress site under the directory /wp-content/plugins/

Next, log on to your Wordpress admin dashboard, click "Plugins" in the left-hand menu, find the Wordpress plugin in your list and click "Activate."

Activate your wordpress plugin

Then, create a new page or post (or open an existing one). When you are on the page editor, simply add the Juicer shortcode, like this:

[juicer name='YOUR_FEED_NAME']

Add Shortcode

Save the page and voila! You now have a Juicer feed on your site.

Use a Juicer PHP Function to Embed Directly In Your Theme.

If you're into the "nitty gritty" of customizing the PHP code of your Wordpress theme, it's easy to integrate Juicer this way, too. For example, if you want to get a Juicer feed on every page, you can add the juicer PHP function to your footer.php file in your themes directory.

First, install and activate the Juicer Wordpress plugin as described above.

Then, use the Juicer PHP function anywhere you like in your template.

<?php juicer_feed('name=YOUR_FEED_NAME') ?>

To get the exact PHP function, visit your feed editor page, click on "Embed In Your Site," and then click "I have a Wordpress site."