Docs    Facebook    Customizations

Insert your own content every X number of posts

Add ads or content in between your Facebook posts.

var number_of_posts = 5,
    content_to_add = 'Add content here',
    i = 1;
$('#cff .cff-item').each(function(){
  if( i % number_of_posts == 0 ) $(this).after('<div class="cff-item">'+content_to_add+'</div>');
  i++;
});

Edit the variables on the first two lines to define how many posts to insert the content after and what content should be added. The content can be text or HTML.

If you need to only add the content to a specific feed then you can add a class to the shortcode:

Comments Box SVG iconsUsed for the like, share, comment, and reaction icons

The messages you answered Monday had been waiting since Saturday.

You lose it in the gap between someone asking and you answering. A WordPress chat plugin closes that gap by moving the question to your phone.

The messages you got to on Monday had arrived on Saturday.

Follow along, I'm posting one of these every week until September ends.

#wpchat #wordpress #smallbusiness #customerservice #whatsappbusiness
... See MoreSee Less

There's a version of your homepage you've never seen, and your customers have.

An Instagram feed not working on your website leaves an empty gap where your proof used to sit, and a stranger reads it as a business that gave up.

Borrowed proof has bad days.

Follow, and I'll keep showing you what your website does when you're not looking.

#instagramfeed #smashballoon #wordpress #smallbusiness #websitetips
... See MoreSee Less

Every question nobody could ask you went to whoever answered first.

Now count the people who had one question and no fast way to ask it. That is the number nobody reports.

A chat button that opens WhatsApp puts the question on your phone instead.

Follow along, there are six weeks of this left.

#wpchat #wordpress #smallbusiness #livechat #WhatsAppBusiness
... See MoreSee Less

The best photos of your business aren't on your website.

You can show those Instagram posts on your website instead, the ones your customers already took in bad light in their own kitchens.

Blurry and real beats perfect and bought.

Follow, and every week I'll show you one more thing on your site a stranger doesn't believe.

#instagramposts #smashballoon #smallbusiness #wordpress #websitetips
... See MoreSee Less

Your best Instagram post isn't your best Instagram post.

The Instagram feed on your website keeps its own scoreboard, and it doesn't match the app.

Likes tell you what people enjoyed. Clicks on your site tell you what they wanted.

Grab the All Access Bundle and switch Feed Analytics on tonight.

#instagramfeed #smashballoon #wordpress #smallbusiness #websitetips
... See MoreSee Less

The contact form was built to protect your time, and for years it worked.

It just protects you from the wrong people. The bored browser gets through, the buyer with their card out doesn't.

If you want the impatient buyers, you need a faster door than a form.

Follow, I break down one of these every week, and save this one for the next time someone tells you to just add a contact form.

#wpchat #smallbusinesstips #wordpress #customerexperience #salesfunnel
... See MoreSee Less

"Trusted" means nothing on your homepage.

A stranger gives your site five seconds to decide if they trust you, and they never read a word of your copy.

Real proof is someone else's voice, right there on a page you control, not a screenshot, not a link to Instagram.

Follow, every week I pull apart one more thing killing trust on small business websites. Save this before you touch your homepage copy.

#smashballoon #websitetrust #smallbusinesstips #socialproof #websitecopy
... See MoreSee Less

Image attachment
Image attachment

You can reply to a customer from the school pickup line and never open the full message.

The move: send something tiny back the second the message lands, not the answer, just "got it, checking."

The real answer comes later, when you get a gap. Nothing's reset, the thread holds your place.

Follow, I break down a fix like this every week.

#wpchat #smallbusinesstips #customerservice #wordpress #businessownerlife@
... See MoreSee Less

You post on Instagram every single week, and your homepage still looks like nobody's home.

You've already done the work. It's just stuck on somebody else's page instead of your own site.

Point your own site at what you're already doing, and a new post updates your homepage automatically.

Follow, and I'll show you how to set this up on your own site next.

#smashballoon #smallbusinesswebsite #wordpress #socialproof #websitetips
... See MoreSee Less

Load more

And then target that feed in the fourth line of the snippet above:

$('.feed1 .cff-item').each(function(){

To add different content in every X number of posts you can use the following:

var number_of_posts = 5,
    content_to_add = [
    'Content 1',
    'Content 2',
    'Content 3'
    ],
    i = 1,
    count = 0;
$('#cff .cff-item').each(function(){
   if( i % number_of_posts == 0 && count < content_to_add.length ){
     $(this).after('<div class="cff-item">'+content_to_add[count]+'</div>');
     count++;
   }
   i++;
});
support

Couldn’t find your answer in the docs?

Contact Support

Was this article helpful?