1. Home
  2. Docs
  3. WHMPress
  4. Shortcodes
  5. currency_combo

currency_combo

Shows a currency drop down to select currency if you are using multi-currencies. When user the currency it is set for user session.

[whmpress_currency_combo]

Parameters

  • html_id: add a custom id to HTML wrapper for further CSS customization.
  • html_class: Add a custom class to apply to the currency-combo wrapper
  • combo_name: HTML name for combo
  • combo_class: HTML class for combo
  • prefix: Yes or No to show the prefix with currency.
  • append_type:
    • descriptive = This appends the currency with URL by its code. For example, if USD is set by currency combo then the URL would become YOUR_URL?cur=USD
    • numeric = This appends the currency with URL by its ID. For example, if USD is set (and its id is 1) by currency combo then the URL would become YOUR_URL?cur=1
Was this article helpful to you? Yes 1 No 3