Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change import js url from child theme functions.php #40

Open
beingshwet opened this issue Aug 31, 2017 · 0 comments
Open

Change import js url from child theme functions.php #40

beingshwet opened this issue Aug 31, 2017 · 0 comments

Comments

@beingshwet
Copy link

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?

@beingshwet beingshwet changed the title Extend functionality from child theme support Extend functionality from child theme functions.php Aug 31, 2017
@beingshwet beingshwet changed the title Extend functionality from child theme functions.php Change import js url from child theme functions.php Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant