FrankM1 / radium-one-click-demo-install

Once Click Install for Wordpress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change import js url from child theme functions.php

beingshwet opened this issue · comments

I have parent-child theme structure. I am using custom path format for my wordpress to make it secure.
So my path adds github directory structure and few more folders before theme folder.
So ABSPATH turns incorrect and I get wrong url to import.js file as follows.
srv/users/stagedev/apps/mydev/releases/20170829115438/content/themes/mango/inc/admin/ReduxCore/inc/extensions/wbc_importer/wbc_importer/field_wbc_importer.min.js

and so JS url becomes like this.
SITEURL/srv/users/stagedev/apps/mydev/releases/20170829115438/content/themes/mango/inc/admin/ReduxCore/inc/extensions/wbc_importer/wbc_importer/field_wbc_importer.min.js

As It does not have any filter or hook I can not change url path to proper path. Can you please let me know what changes I need to do in child theme so that I can make demo install working?