How to link a custom page in ExchangePress widget.
Hi,
For custom pages in ExchangePress, you need to create an exchange page in the same slug that which plugin has.
Like, this link - https://exchangepress.blocksera.com/exchange/binance, you need to create a page for Binance exchange with this slug 'binance'.
We shared some screenshots to help you.
Note: You can either use the virtual page or switch to custom pages, you can't have both at the same time.
1. Configure the virtual page URL settings like below,
Disable the create virtual page option if you don't want to use the automated page.
2. Create a post or page with the exchange name and slug as URL, like below
And the page will look like this,
add_filter('body_class', 'add_page_classes'); function add_page_classes($classes) { if(is_page(array('1172'))){ // add the page id's in the array $classes[] = 'exchangepage'; $classes[] = 'exchangegrid'; } return $classes; }
Please add this code to your active child theme function.php, then the custom page will inherit the virtual page style, like below.