If you’ve been living under a rock, the Member Site Academy is THE community for membership site owners of all skill levels. In fact, we’re members! And the Memberoni theme is available ONLY to MSA members.

Why Memberoni?

While there are a lot of WordPress themes out there in the wild you could use, the Memberoni theme was specifically created with the goal to help display and organize the content a membership site members area would have.

The Memberoni theme includes by default a lot of things that usually you would setup using a plugin, like a layout for a dashboard, a layout for a course library, specific layouts for login and logout pages, specific ways to displays text to logged in and logged out users and various other things. Having these available by default makes your life much easier when setting up your site and will also improve the performance of it since you’ll be using less plugins.

One of the features that makes Memberoni very powerful is the ability to use its specific shortcodes to customize the display and layout in great detail.

My goal with this article is to give you an introduction to some of the various Memberoni shortcodes that can help you upgrade the design of your site.

Basic Memberoni shortcodes

Highlight shortcode

html

[highlight]Lorem ipsum dolor sit amet, consectetur adipiscing elit.[/highlight]

This shortcode will easily allow you to highlight an important message so it can jump in front of your members easily. 

Button Link shortcode

html

[button url='https://memberfix.rocks']Button link text[/button]

This shortcode allows you to easily add link buttons.

Columns

html

[column size='half' float='l']Nam id volutpat nulla, id tristique eros. Fusce ex mauris, aliquet ut ultrices aliquet, condimentum at sapien. Mauris hendrerit maximus neque et dapibus. Integer tincidunt nibh eget risus congue rhoncus. Pellentesque eget magna bibendum, mattis sem sed, pharetra leo. Vivamus dapibus ac felis quis aliquet.[/column]

 

[column size=’half’ float=’l’]Nam id volutpat nulla, id tristique eros. Fusce ex mauris, aliquet ut ultrices aliquet, condimentum at sapien. Mauris hendrerit maximus neque et dapibus. Integer tincidunt nibh eget risus congue rhoncus. Pellentesque eget magna bibendum, mattis sem sed, pharetra leo. Vivamus dapibus ac felis quis aliquet.[/column]

This shortcode will allow you to easily split a text paragraph into colums. The size parameter will set the width of the colums and it can be ‘half’ ‘quarter’ ‘twothird’ or ‘threequarter’. You can float the colums to left using ‘l’ or to right using ‘r’ Adding [clear] after the last column or text will make sure the next paragraph will be on a new line and not after the column

Show content to logged in users only

html

[is_loggedin]You are logged in[/is_loggedin]

This small line of text can only be viewed by a user that is logged in so in this way you can easily customize your pages for specific audiences

Show content to logged out visitors only

html

[is_loggedout]You are not logged in[/is_loggedout]

This small line of text can only be viewed by a user that is logged out so in this way you can easily customize your pages for specific audiences

Show link to last viewed content

html

[lastviewed label='Continue with your last lesson:']

Memberoni allows you to add a specific link to the last lesson the member worked on so they can quickly jump back in into the course.

Advanced Memberoni shortcodes

Show content based on whether member has completed a specific course

html

[hascompleted course='1,2,3' check='1']Lorem ipsum dolor sit amet, consectetur adipiscing elit.[/hascompleted]

Using this shortcode you’re able to show a member a specific piece of content based on the completion of a course, or multiple courses. The ‘course’ parameter will take the ID/IDs of the course you will want to check if they are completed. If you want to NOT show specific content if the courses are completed you can change the ‘check’ parameter to ‘0’, this way you can hide a piece of content for the specific user that completed those courses

Add a custom meta value

html

[membermeta action='add' key='specific-course' value='viewed'][/membermeta]

Using this shortcode you can add custom metadata to a specific user. In this specific example, we would add this shortcode to a courses page and track if the user viewed the course using metadata

Display a user meta value

html

[membermeta action='show' key='specific-course'][/membermeta]

We can show the custom metadata we added to a user using the same membermeta shortcode, in this example we get the value of the ‘specific-course’ key and we display it. The actions parameter can also be ‘check’ if you just want to check the value of a specific metadata key and you don’t want to show it to the member. Here’s an example

html

[membermeta action='check' key='specific-course' value='viewed']Thanks for viewing the course![/membermeta]

We can do the opposite too, display content if the user did NOT view a course, using the ‘istrue’ parameter. 

html

[membermeta action='check' key='livetraining' value='attended' istrue='0']You're missing out on this course![/membermeta]
Share This