A Cozmoslabs Product

Compare shortcode

This function will create a shortcode that can compare 2 values.

To be able to use the shortcode below you will first need to go to the Dashboard -> Profile Builder -> Settings -> Advanced Settings -> Shortcodes -> and check “Enable Compare shortcode”.

Shortcode:

[compare val1="test" val2="test" operator="=="]
List if the values are the same?
[/compare]

You can also change the returned text.

The Ultimate Membership Bundle

Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.

Get 25% off with the bundle

Help & Support

We’re here to help you every step of the way.

Open a Support Ticket