Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Assets (css/js) missing in admin wordpress #197

Open
udarts opened this issue Feb 13, 2021 · 5 comments
Open

Assets (css/js) missing in admin wordpress #197

udarts opened this issue Feb 13, 2021 · 5 comments

Comments

@udarts
Copy link

udarts commented Feb 13, 2021

I am embedding Redux to a theme I am developing and not using the the plugin.

I followed the instructions: https://devs.redux.io/guides/advanced/embedding-redux.html

And added the redux-core folder in the admin folder of my theme. Then I added the following code:

if ( !class_exists( 'ReduxFramework' ) && file_exists( dirname( __FILE__ ) . '/admin/redux-core/framework.php' ) ) {
    require_once( dirname( __FILE__ ) . '/admin/redux-core/framework.php' );
}

When checking the page, it shows errors in the console, that the css and js files are missing (they point to incorrect paths).

Expected Behavior

I expect to see the options page all styled and working.

Actual Behavior

It shows errors in the console of missing js and css files

Schermafbeelding 2021-02-13 om 20 12 23

The path of the framework.php is: {theme-name/inc/admin/redux-core/framework.php}

@ec2webdesign
Copy link

Same error

@kprovance
Copy link
Member

Is this still an issue with the latest version? If so, please reply so I can get a copy of your theme for testing purposes. Thanks.

@navid-web
Copy link

I have the same problem! Please provide a solution!

@sunbbon88
Copy link

I have the same problem! when I update from redux 3.x to redux 4 latest.

@rapcrown
Copy link

I'm getting the same error, could it be due to the version?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants