• Our Plugins
    • The Custom Facebook Feed
    • The Instagram Feed
    • Custom Twitter Feeds
  • My Account

The most popular Facebook Feed plugin for WordPress

Get it now

Smash Balloon - Home of the Custom Facebook Feed WordPress Plugin

Menu

Skip to content
  • Overview
    • Overview
    • Video
    • WordPress Plugin
    • Support Testimonials
    • Customer Reviews
  • Demos
    • Timeline
    • Photos
    • Albums
    • Events
    • Videos
  • Features
  • Gallery
  • Pricing
  • Extensions
    • Multifeed
    • Date Range
    • Featured Post
    • Album
    • Carousel
    • Masonry Columns
    • Reviews
  • Support
    • Documentation
    • FAQs & Troubleshooting
    • Contact Support

The Custom Facebook Feed - Display a completely customizable Facebook feed on your WordPress website

Create a “pinned post” in your Custom Facebook Feed

The Facebook API doesn’t include whether or not a post is pinned, however you can achieve the same result by manually moving a post to the top of your feed using the following JavaScript snippet:

$('#cff .cff-item').first().before( $('#cff_your_post_id').addClass('cff-pinned') );

You’d need to replace the “cff_your_post_id” part in the snippet with the ID of the post you want to pin to the top of your feed. You can find the ID of the post you want to pin by right clicking on it and clicking “Inspect Element”. You should see an ID on the cff-item element as shown below.

Find Facebook Post Id

Replace the ID in the snippet with that ID, and then add the code to the plugin’s Custom JavaScript section (Customize > Misc > Custom JavaScript).

To change the styling of the pinned post you can add CSS to the plugin’s Custom CSS section, for example:

.cff-pinned{
border: 1px solid rgba(0,0,0,0.3);
box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
}

« Back to Support

Accounts

Customizations

  • General
  • Snippets

Documentation

FAQs

Getting Started

Troubleshooting

Last minute reminder: if you're displaying an Instagram Hashtag feed and haven't done so already then don't forget to update to the latest version of the plugin and follow the directions to migrate to Instagram's new API. Their old Hashtag API will be deprecated tomorrow! smashballoon.com/migrate-to-new-instagram-hashtag-api

Dec 10, 2018View on Facebook

© Copyright 2019, Smash Balloon LLC. All Rights Reserved

  • Terms & Conditions
  • Privacy
  • About Us
  • Become an Affiliate
  • Mailing List
  • Contact Us
Follow @smashballoon Tweet