Data Building

In the new version v2 we make a new data builder for comparison logic. With this now you can add grouping and many thing that was not there in earlier version v1.

For this first you need to go to wp-admin dashboard. Navigate to the dashboard menu Alike.

You will see the screenshot below. First you need to select the post type you want to add for comparison.

Click the + icon and select your post type.

After selection you will see the post type lists before the + icon.

Now you can add any comparison data logic into any post type as you want to.

For add the comparison header you need to add a set, and enable the header group true.

In the group you can add a title and click save. After that you can add your row inside that header group.

Add row to the add set header group

There are four display type available in the front-end preview options.

  • Simple
  • Rating
  • Boolean
  • WooCommerce Price

Most of the time you need to set it to simple. But if you want to display any meta value to a star rating icon. then you will need to select the display type to rating.

for boolean meta value if you want to show as a checked mark or not checked mark icon you need to select the boolean type.

and last WooCommerce price if you have WooCommerce installed in your WordPress then you can turn any integer number value into nicely formatted price value with currency sign default set by WooCommerce.

results matching ""

    No results matching ""