reduxframework / redux-framework-4

Redux v4
https://redux.io/redux-4/
Other
96 stars 32 forks source link

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

Open udarts opened 3 years ago

udarts commented 3 years ago

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 commented 3 years ago

Same error

kprovance commented 3 years ago

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 commented 3 years ago

I have the same problem! Please provide a solution!

sunbbon88 commented 3 years ago

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

rapcrown commented 3 years ago

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