Skip to content

Latest commit

 

History

History
76 lines (46 loc) · 3.53 KB

INSTALL_AGGREGATOR.md

File metadata and controls

76 lines (46 loc) · 3.53 KB

How to Install Aggregator Plugin

PLUGIN FILE

  1. Follow these instructions to increase the upload limit of your wordpress site: https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-link-you-followed-has-expired-error-in-wordpress/

  2. Go to the Plugin tab and click on "ADD NEW"

Add New

  1. Click on "Upload Plugin"

Upload Plugin

  1. Click the button to choose the file on your computer

Choose File

  1. After selecting the Dexkit plugin file Click "Install Now"

Install Now

  1. After installation is complete, click on "Active Plugin"

Active

  1. Select the "Dexkit NFT" tab from the menu. Click on the "Fetch" button.

Fetch

  1. Now let's add the Dexkit plugin to a page. Using the side menu, click on Pages and then on Add New.

Add

  1. Add a shortcode to the new page. Follow this tutorial if you can't add a shortcode: https://www.wpbeginner.com/wp-tutorials/how-to-add-a-shortcode-in-wordpress/

Shortcode

  1. Type the Dexkit plugin tag in the shortcode: [dexkit_aggregator]

Full shortcode options

  • logo - url to logo used in light mode
  • logo_dark - url to logo used in dark mode
  • affiliate - address where fees are routed if it holds over 500 KIT on the used network
  • brand_color - brand color used in light mode
  • brand_color_dark - brand color used in dark mode
  • is_dark_mode - default to dark mode
  • height - height size of the aggregator
  • width - width size of the aggregator
  • matic_as_default - use Polygon as default network when open aggregator
  • bsc_as_default - use Binance Smart Chain as default network when open aggregator
  • avax_as_default - use Avalanche as default network when open aggregator
  • default_token_address_eth - Default token on ETH network
  • default_token_address_bsc - Default token on Binance Smart Chain network
  • default_token_address_matic - Default token on Polygon network
  • default_token_address_avax - Default token on Avalanche network
  • default_slippage - Default slippage of the aggregator, useful for tokens that need higher slippage to trade
  • buy_token_percentage - percentage between 0 and 5 %. Default is 0.3%

Full Example

[dexkit_aggregator affiliate="0x5bD68B4d6f90Bcc9F3a9456791c0Db5A43df676d" height="800px" width="100%" logo="path_to_logo" logo_dark="path_to_logo" is_dark_mode="true" matic_as_default="false" bsc_as_default="false" default_token_address_eth="0x7866E48C74CbFB8183cd1a929cd9b95a7a5CB4F4" default_token_address_bsc="0x314593fa9a2fa16432913dbccc96104541d32d11" default_token_address_matic="0x4d0def42cf57d6f27cd4983042a55dce1c9f853c" default_token_address_avax="0x264c1383ea520f73dd837f915ef3a732e204a493" default_token_address_fantom="0x95dd59343a893637be1c3228060ee6afbf6f0730" default_slippage="2" brand_color="#ff7149" brand_color_dark="#2172E5" buy_token_percentage="0.3" ]

If you need your aggregator as full page, you can select template as NOTE: SHORTCODE ATTRIBUTES DON'T WORK ON FULL PAGE Full Page

Congratulations, you have just finished the Aggregator plugin installation process on your wordpress site.