Using a Custom Wordpress or HTML frontend

Follow the steps below to use your own HTML or wordpress Front-end with Online trade

1 install wordpress or the HTML template on your domain name (public_html) and setup your theme appropriately

2 install Online Trade to a sub domain or sub folder inside (public_html) e.g. or

3. Create a login and register button on the template (This can be done from theme settings in wp-admin for wordpress themes).

4. Then supply Online Trade login and registration links ( and to your HTML or wordpress site login and register buttons respectively.

5. Then, you need to cause a redirect to your wordpress front end when a user logout or tries to access your Wordpress front-end

6. this will make sure the default Online Trade front end is not being displayed.

6. To do this, go to resources/views/layout/base.blade.php in Online Trade files. and add this code below to the begining of the file