This section guides you on how to use WWK. Please read the Getting Started document before continuing if you did not read it.
As the first step, you need the following steps mentioned in Plugin Settings to connect WordPress Plugin to WHMCS Feed.
After the successful connection via WordPress & WHMCS, you need to use WWK Shortcode or Elementor dynamic tags to show your WHMCS data on WordPress pages. Please read WWK Shortcode Builder & Elementor Dynamic Tags documents to figure out how to do that.
Plugin Settings #
You can find WWK settings on Settings
» WordPress WHMCS Kit
. On the setting panel, you can find the following sections.
WHMCS Settings #
This section is used to connect the WordPress plugin to the WHMCS feed file. To do this, you should enter the URL of the WHMCS feed file WHMCS API URL
and set the API Key
. By default, your WHMCS license key is API Key. You can change this key by setting up an API access key using the official WHMCS Configuring an Access Key method.
After selecting the above fields, you can click on the Manual Sync
button to check if the connection is successful. If this is the first time you set up the plugin, please click Manual Sync
to fetch data from WHMCS.
Global Settings #
In this section, you can set a default value for zero and unspecified prices. If the price of a product is 0, the WWK shows the Zero Price
value. If the price of a product is unset in your WHMCS, WWK offers Default price
value.
Shortcode Builder #
This section is a tool that makes using WWK shortcodes easy. Using this tool, you can select your needs, and it gives you a shortcode that can be used everywhere in WordPress that supports shortcodes. Although this tool is easy to use, you can find how to use this tool on the Shortcode Builder documentation page.
Help #
This section is linked to WWK documentation.
Shortcode Builder #
A shortcode is a small piece of code indicated by brackets that perform a function and show its value. You can place it just about anywhere you’d like, and it will add a specific feature to your page, post, or widgets.
WWK Shortcode Builder is a simple yet powerful tool that helps you quickly build the desired shortcode. To use this feature, navigate to Settings
-> WordPress WHMCS Kit
–> Shortcode Builder
.
To build a shortcode as the first step, you must select which type of data you need. After choosing the Type, some related fields to the selected type are shown.
In the second step, you need to set the shown fields. If the dropdowns are empty and do not show any of your WHMCS data, please ensure that the WHMCS feed API is successfully connected to WordPress Plugin.
In the third step, you need to select desired currency. Also, you can disable Price Formater. If you disable Price Formatter you get a raw price without any currency sign, prefix, or suffix. As a note, WWK uses your WHMCS currency format setting automatically.
You need to click the build button to generate the desired shortcode for the last step.
Shortcode usage #
Shortcodes can be added to WordPress posts, pages, and sidebar widgets. Also, Page builders usually support shortcodes. Check out the following documents to find out how to use shortcodes in different page builders.
Elementor Dynamic Tags #
Dynamic Tags allow you to display dynamic content using any widget. Any field that has the Dynamic Tags icon next to it can be filled in with such a Dynamic Tag.
To use WWK via dynamic tags, you need to click on the Dynamic Tags icon and find the WordPress WHMCS Kit.
After that, by clicking on the wrench icon, you can see the options for the selected dynamic tag.
Almost done, Set your desired settings to get your data as the field value by WWK!