Okay
  Public Ticket #1512841
Calculation Function Shortcodes
Closed

Comments

  • Vikalp started the conversation

    Hello, I am about to purchase this awesome plugin, but just have a few questions beforehand.

    I was trying the sandbox, and the most important functionality that I need is the calculation functions(MIN and MAX). We can use the shortcodes to display the MIN and MAX values on any page of the site, but the only problem is when I use the shortcode it shows the result as: "MAX = 431" or "MIN = 100" etc.

    Can we modify how the shortcodes output the data so it only displays the result without the "MAX = " & "MIN = " part? I only need 431 and 100 etc. to display when I use the shortcode.

    Hope you understand. Thank you.

  • [deleted] replied

    Hi Vikalp,
    Thank you for the inquiry.

    It is possible to change these labels on wpDataTables settings page, but unfortunately it is not possible to be empty. You can take a look at this page - http://sandbox.wpdatatables.com/wp-admin/admin.php?page=wpdatatables-settings under these settings:

    • Sum functions label
    • Average functions label
    • Minimum functions label
    • Maximum functions label

  • Vikalp replied

    Thank you for replying. 

    I see, so there is no way to display only the data without the suffix..

    Can you please tell is there a way to extract only the content of a particular cell of table and display it on a separate page?

    Thank you.

  • [deleted] replied

    Hi Vikalp,

    "I see, so there is no way to display only the data without the suffix.."

    - No, there should be at least one character.

    "Can you please tell is there a way to extract only the content of a particular cell of table and display it on a separate page?"

    - Unfortunately no, this is possible just for SUM, AVG, MIN and MAX features.

  • Vikalp replied

    Thanks for clarifying. This can be closed.

    And if possible please add these features in future updates.