New

We just released a new plugin bundle: Struninn - Elementor Plugins Bundle! We'll be having a discount price for just a few days, so hurry up and check it out!

Our Envato Profile

Documentation

Struninn – Widgets

WordPress

Shortcodes

Elementor

Pricing Table

Template Functions

The plugin provides template functions for the following widgets:

Pricing Table Template Card V1

Syntax

struninnuicards_pricingtable_template_card_v1( array $args = [] )

Parameters

$args
(array) (Optional) Arguments to modify template output.

$theme
(string) Card color scheme, one of: ‘light’, ‘dark’.

$cover_background_color_1
(string) Cover background color 1, i.e. ‘#ffea2f’.

$cover_background_color_2
(string) Cover background color 2, i.e. ‘#ff20e9’.

$cover_background_color_3
(string) Cover background color 3, i.e. ‘#8f36ff’.

$cover_background_color_4
(string) Cover background color 4, i.e. ‘#00e0ff’.

$status_tag_enabled_icon_color
(string) Enabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_enabled_background_color
(string) Enabled status tag background color, i.e. ‘#ff5794’.

$status_tag_disabled_icon_color
(string) Disabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_disabled_background_color
(string) Disabled status tag background color, i.e. ‘#22212c’.

$width
(int) Card width, a value of 0 to lets the card auto adjust size.

$pattern_image_url
(string) Card background pattern image URL.

$tier_image_url
(bool) Card tier image URL.

$tag_enabled
(bool) True to display tag, false otherwise.

$tag_style
(string) Tag style, one of: ‘regular’, ‘solid’.

$tag_text
(string) Tag text.

$title
(string) Title.

$price
(string) Price.

$period
(string) Period.

$text
(string) Text.

$button_text
(string) Button text.

$button_link
(string) Button link URL.

$featured_status_tag_style
(string) Feature status tag style, one of: ‘regular’, ‘background’, ‘background-round’, ‘outline’.

$features_title
(string) Features title.

$features
(array) Tier features. Each array item accepts two keys, ‘text’ and ‘enabled’.

Example

$args = [
  'theme'    => 'dark',
  'features' => [
    [
      'text'    => 'Everything in Lower Tiers',
      'enabled' => true
    ],
    [
      'text'    => 'Up to 100 Team Members',
      'enabled' => false
    ]
  ]
];

struninnuicards_pricingtable_template_card_v1($args);

Pricing Table Template Card V2

Syntax

struninnuicards_pricingtable_template_card_v2( array $args = [] )

Parameters

$args
(array) (Optional) Arguments to modify template output.

$theme
(string) Card color scheme, one of: ‘light’, ‘dark’.

$cover_background_color_1
(string) Cover background color 1, i.e. ‘#ffea2f’.

$status_tag_enabled_icon_color
(string) Enabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_enabled_background_color
(string) Enabled status tag background color, i.e. ‘#ff5794’.

$status_tag_disabled_icon_color
(string) Disabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_disabled_background_color
(string) Disabled status tag background color, i.e. ‘#22212c’.

$width
(int) Card width, a value of 0 to lets the card auto adjust size.

$pattern_image_url
(string) Card background pattern image URL.

$tier_image_url
(bool) Card tier image URL.

$tag_enabled
(bool) True to display tag, false otherwise.

$tag_style
(string) Tag style, one of: ‘regular’, ‘solid’.

$tag_text
(string) Tag text.

$title
(string) Title.

$price
(string) Price.

$period
(string) Period.

$text
(string) Text.

$button_text
(string) Button text.

$button_link
(string) Button link URL.

$featured_status_tag_style
(string) Feature status tag style, one of: ‘regular’, ‘background’, ‘background-round’, ‘outline’.

$features_title
(string) Features title.

$features
(array) Tier features. Each array item accepts two keys, ‘text’ and ‘enabled’.

Example

$args = [
  'theme'    => 'dark',
  'features' => [
    [
      'text'    => 'Everything in Lower Tiers',
      'enabled' => true
    ],
    [
      'text'    => 'Up to 100 Team Members',
      'enabled' => false
    ]
  ]
];

struninnuicards_pricingtable_template_card_v2($args);

Pricing Table Template Card V3

Syntax

struninnuicards_pricingtable_template_card_v3( array $args = [] )

Parameters

$args
(array) (Optional) Arguments to modify template output.

$theme
(string) Card color scheme, one of: ‘light’, ‘dark’.

$cover_background_color_1
(string) Cover background color 1, i.e. ‘#ffea2f’.

$status_tag_enabled_icon_color
(string) Enabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_enabled_background_color
(string) Enabled status tag background color, i.e. ‘#ff5794’.

$status_tag_disabled_icon_color
(string) Disabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_disabled_background_color
(string) Disabled status tag background color, i.e. ‘#22212c’.

$width
(int) Card width, a value of 0 to lets the card auto adjust size.

$pattern_image_url
(string) Card background pattern image URL.

$tier_image_url
(bool) Card tier image URL.

$title
(string) Title.

$price
(string) Price.

$period
(string) Period.

$text
(string) Text.

$button_text
(string) Button text.

$button_link
(string) Button link URL.

$featured_status_tag_style
(string) Feature status tag style, one of: ‘regular’, ‘background’, ‘background-round’, ‘outline’.

$features_title
(string) Features title.

$features
(array) Tier features. Each array item accepts two keys, ‘text’ and ‘enabled’.

Example

$args = [
  'theme'    => 'dark',
  'features' => [
    [
      'text'    => 'Everything in Lower Tiers',
      'enabled' => true
    ],
    [
      'text'    => 'Up to 100 Team Members',
      'enabled' => false
    ]
  ]
];

struninnuicards_pricingtable_template_card_v3($args);

Pricing Table Template Card V4

Syntax

struninnuicards_pricingtable_template_card_v4( array $args = [] )

Parameters

$args
(array) (Optional) Arguments to modify template output.

$theme
(string) Card color scheme, one of: ‘light’, ‘dark’.

$cover_background_color_1
(string) Cover background color 1, i.e. ‘#ffea2f’.

$status_tag_enabled_icon_color
(string) Enabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_enabled_background_color
(string) Enabled status tag background color, i.e. ‘#ff5794’.

$status_tag_disabled_icon_color
(string) Disabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_disabled_background_color
(string) Disabled status tag background color, i.e. ‘#22212c’.

$width
(int) Card width, a value of 0 to lets the card auto adjust size.

$pattern_image_url
(string) Card background pattern image URL.

$tier_image_url
(bool) Card tier image URL.

$title
(string) Title.

$price
(string) Price.

$period
(string) Period.

$text
(string) Text.

$button_text
(string) Button text.

$button_link
(string) Button link URL.

$featured_status_tag_style
(string) Feature status tag style, one of: ‘regular’, ‘background’, ‘background-round’, ‘outline’.

$features
(array) Tier features. Each array item accepts two keys, ‘text’ and ‘enabled’.

Example

$args = [
  'theme'    => 'dark',
  'features' => [
    [
      'text'    => 'Everything in Lower Tiers',
      'enabled' => true
    ],
    [
      'text'    => 'Up to 100 Team Members',
      'enabled' => false
    ]
  ]
];

struninnuicards_pricingtable_template_card_v4($args);

Pricing Table Template Card V5

Syntax

struninnuicards_pricingtable_template_card_v5( array $args = [] )

Parameters

$args
(array) (Optional) Arguments to modify template output.

$theme
(string) Card color scheme, one of: ‘light’, ‘dark’.

$cover_background_color_1
(string) Cover background color 1, i.e. ‘#ffea2f’.

$status_tag_enabled_icon_color
(string) Enabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_enabled_background_color
(string) Enabled status tag background color, i.e. ‘#ff5794’.

$status_tag_disabled_icon_color
(string) Disabled status tag icon color, i.e. ‘#ffffff’.

$status_tag_disabled_background_color
(string) Disabled status tag background color, i.e. ‘#22212c’.

$width
(int) Card width, a value of 0 to lets the card auto adjust size.

$pattern_image_url
(string) Card background pattern image URL.

$tier_image_url
(bool) Card tier image URL.

$title
(string) Title.

$price
(string) Price.

$period
(string) Period.

$text
(string) Text.

$button_text
(string) Button text.

$button_link
(string) Button link URL.

$featured_status_tag_style
(string) Feature status tag style, one of: ‘regular’, ‘background’, ‘background-round’, ‘outline’.

$features_title
(string) Features title.

$features
(array) Tier features. Each array item accepts two keys, ‘text’ and ‘enabled’.

Example

$args = [
  'theme'    => 'dark',
  'features' => [
    [
      'text'    => 'Everything in Lower Tiers',
      'enabled' => true
    ],
    [
      'text'    => 'Up to 100 Team Members',
      'enabled' => false
    ]
  ]
];

struninnuicards_pricingtable_template_card_v5($args);