Close

Copyright © RebelMouse 2019

Follow Us:

New! Multiple Conditional Content Element for Layout Creation

If you're familiar with our Layout & Design tool, then you know it's comprised of columns, rows, and different sets of elements that can be nested inside each other. There are also Conditional Content elements, which allow you to set IF statements that display elements based on conditions you define.

For example:

IF the site is rendering on mobile, show four posts.
IF the site is rendering on desktop, show eight posts.

We've now upgraded this feature to make it even more comprehensive:


Multiple Conditional Content Elements (New!)

The new Multiple Conditional Content element lets you add an Otherwise element to your statement that defines what happens when the first condition isn't met. Think of it as: If not this, then that.

Set Conditional Statements by Author

If you need sponsored or branded content to be shown when a specific author is the owner of a post — or in their profile pages — you can adjust conditions to match that user.

For example:

IF the Author is Dan Ackermann, show Ad_1.
IF the Author is Ana Santopinto, show Ad_2.

OTHERWISE (if it's neither of the aforementioned authors), show Ad_3.

Set Conditional Statements by Section

In the same dropdown menu where you can choose from authors for your statement, you can also select a specific Section as a condition.

For example:

IF the Section is Phelps, show Phelps_Image.
OTHERWISE, show four posts from Most Read.

Set Conditional Statements by Logged-in or Logged-out Users

Conditional statements can be based on whether a user is logged in or out. This gives you the ability to fully customize how a page looks based on whether the user is a member of your community, a writer, an administrator, or a a non-subscribed member.

This feature allows you to personalize their content, much like a news feed, when you have the Community Signup feature enabled.

A fantastic example of this is My Recipe Magic, where you can sign up as a member of the community and follow other members. Then, your profile stream and home page content will adapt based on who you've chosen to follow, just like Facebook's News Feed.

Set Conditional Statements by Post Page

You can determine whether you want something to only show up when a Post Page is being viewed. This can be helpful for newsletter modules, specific ads in sidebars or right rails, and pretty much any other specific setup you want to have.

On this example Post Page, we've set the conditional statement to always display the message "HELLO I'M THE POST PAGE."

Navigating anywhere else, such as the home page or a Section Page, displays "I AM NOT A POST PAGE!" instead.

Set Conditional Statements for Otherwise Elements

We don't support negative (or "not") conditions inside the Multiple Conditional Content element, but you can set a desired negative result by defining the rest of the items.

For example, if you want to show something on all pages that are not a specific Post Page, you can define that Post Page, and then nest the rest inside of an Otherwise element.

If you have any further questions, you can reach out to support@rebelmouse.com or your dedicated RebelMouse Account Manager!

RebelMouse CEO: Reimagining Diversity “Starts in the Office”

Why women, minorities, and the LGBTQ+ community will restructure workplace norms

Entering a new decade means a new opportunity to change how we approach diversity. In a joint interview alongside Leanne Pittsford of Lesbians Who Tech, RebelMouse founder and CEO Andrea Breanna said that the only way to fight patriarchal dominance is to encourage and nurture more women, minorities, and members of the LGBTQ+ community in the workplace, particularly in tech.

Over half of RebelMouse's employees are women or identify as LGBTQ. Read our full diversity and inclusion report here.

Check out the full video below.

Related Articles

Publishers No Longer Have to Submit Their Site to Google News

Google's Publisher Center creates new opportunities for audience growth

Just before the start of the next decade, Google announced an important change to its Google News offering with the launch of Google Publisher Center. The new interface merges Google News Producer and Google News Publisher into one to streamline the partnership process for publishers.

Overall, the change should make it easier for publishers to manage their Google News settings, including updating themes, directing URLs to section pages, and configuring user permissions. Read the full list of features here.

Keep reading...

How to Find Work-Life Balance as a Remote Employee

Tips from our CEO on making the most of an office-free lifestyle

Working from home is becoming increasingly popular, with an estimated 66% of companies now allowing remote work and 16% operating completely office-free. RebelMouse is one of those fully remote companies, and over the years we've mastered how to stay close to each other despite being spread across more than a dozen countries. We believe working remotely is good for both our personal lives and our productivity. Read more about this here.

Still, working free from the shackles of an office environment doesn't mean every day is a dance party in your pajamas from 9 to 5. Working from home comes with its own set of challenges just like any other job.

Keep reading...
Subscribe to Our Newsletter