Add Custom Post Meta to Post-Based Modules

If you need help adding meta information from your post into your Slider Revolution modules, this tutorial will help you.

What is Custom Post Meta and Why Should You Care?

Post meta is data that can be added to a post or page but will not automatically show up on your site’s front end. This includes data like post categories, tags, and custom fields. Custom post meta, aka custom fields, is a type of post metadata you can define yourself to act as supplementary information.

For instance, you might be running a website to teach online certification courses, where each post is about a certificate you are offering. In addition to those posts, you could create a custom field to track the course’s enrollment. In this case, the currently enrolled student count would be the additional information stored via custom post metadata.

Slider Revolution [?] Slider Revolution is a website content creation tool with a focus on captivating animation and stunning visual effects.

It began its life as a plugin for creating slideshows, but has evolved into a fully fledged piece of design software.
has the option to create post-based modules [?] A module in Slider Revolution acts as a container for slides, which in turn act as containers for layers. Modules are created and edited with the module editor.

A "module" is a single, self contained piece of content. You can think of this as being similar to the way a post or page in regular WordPress is a self contained piece of content.

A module can represent any kind of content Slider Revolution is capable of creating, such as a slider, carousel, hero unit, navigation menu, posts display and so on.

Multiple modules can be combined to form rich content such as complete sites and landing pages.
that use your posts and their content in slides; however, by default, custom post meta is not available for use. However, such data can be made available with a simple text snippet. 

In this tutorial, we will learn how to create a custom post meta and use a simple text snippet to make it appear in your Slider Revolution post-based modules.

How To Add Custom Post Meta / Custom Fields To Slider Revolution

The following process assumes you have either already created a post-based module or understand how to create one. 

If not, you can check out our guide on creating a post-based module here.

Enable Post Custom Fields

Go to Posts from the dashboard:

Posts tab in WordPress dashboard

Select any post to edit:

Edit post

Find the Options Dropdown Menu (three vertical dots):

Option button in the Posts' Editor

Go to Preferences:

Preference setting in Options dropdown menu

Select the Panels tab:

Panels tab in Preferences Popup

Toggle the Custom Fields option:

Custom fields toggle button

Click the button that appears labeled Enable & Reload:

Enable & Reload button

Insert New Custom Field

Navigate to the Custom Fields section:

Custom Fields section for Custom Post Meta

To insert a new custom field, click the Enter New link:

Enter new button

Add a name for the custom meta in the Name field. (Avoid spaces between name content, you can use camelCase or hyphen, i.e., enrolledStudents, enrolled-students):

Type "enrolled-students" in the Name field.

Insert your contents in the Value column:

Type "5,600 students" in the Value field.

Click on the Add Custom Field button:

Click the Add Custom Field button

Click on the Update button:

Click the Update button

Edit Slider Revolution Text Layer

Go to the Slider Revolution dashboard:

Slider Revolution dashboard

Hover over a post-based module and click on the pencil icon to edit:

Click Pencil button to edit module

Add a Text layer from the Top Toolbar in the module editor:

Select Text from Add Layer

This will automatically open the Layer Options tab in the sidebar:

Layer Options panel

Click the Content sub-section:

Go to Content sub-section

There you will see a field Text/Button Layer Content containing the layer’s text content:

Text/Button Layer Content for Custom Post Meta

Click on the Meta button:

Click the Meta button

Go to the Post tab in the Meta Data popup form:

Go to Post tab for Post Meta

Select Any custom meta tag:

Select the "Any custom meta tag" meta

Click on the X mark to close the Meta Data popup form:

Cross button to close the MetaData popup

You will have a meta code in the Text/Button Layer Content:

Post Meta tag added

Remove the New Layer default text added in the content:

Remove already added text New Layer

Select the somemetatag from the meta snippet:

Select value "somemetatag" from the added meta

Replace the somemetatag in the meta snippet with the Meta Name you created in the Insert New Custom Field section:

Note: Make sure the name of the meta you have added in the meta snippet is precisely what you have added in the Custom Field on your post.

Type Custom Post Meta Name "enrolled-students"

Click the Save button:

Click the Save button

The added custom post meta will now appear on your slide:

Custom Post Meta value "5,600 students" shown on front-end

Contact Us

If you’re still encountering any difficulty, don’t hesitate to contact our support team via support ticket or email ([email protected]), we’re always happy to help.

Add Custom Post Meta to Post-Based Modules

cdn_helper cdn_helper

The Author

Kashif Ahmed

Living by the motto "Be the reason someone smiles today."

If you have any questions or concerns, feel free to reach out to me directly at [email protected].

Liked this Post?
Please Share it!

Leave a Reply

Your email address will not be published. Required fields are marked *