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

Theme Options CSS and JS file URL issue when embedded in a theme #151

Open
@bryanpaulmiller

Description

@bryanpaulmiller

I embed Redux Framework 4.1.17 in a theme. When I visit the Theme Options page the file URLs to CSS and JS assets are incorrect. They include extra path information instead of only the URL of my website theme.

Is there something I'm doing wrong that could cause this issue? Or, is the free version not able to be embedded in a theme?

Support Hash

Unable to follow link to the support hash page. Link has expired.

Steps to reproduce

Embed Redux Framework 4.1.17 in a theme.
Do not install Redux Framework as a plugin.
Then visit the Theme Options page.

Expected Behavior

I expect the file URLs to CSS and JS to point to my theme folder.

For example: https://domain.com/wp-content/themes/sample-theme/redux-framework/redux-core/inc/fields/slides/redux-slides.css?ver=4.1.16.1598631244

Actual Behavior

The file URLs to CSS and JS assets are incorrect. They include extra path information instead of only the URL of my website theme.

For example: https://domain.com/wp-content/plugins/var/www/vhosts/domain.com/httpdocs/wp-content/themes/sample-theme/redux-framework/redux-core/inc/fields/slides/redux-slides.css?ver=4.1.16.1598631244

Any Error Details (PHP/JavaScript)

Refused to apply style from 'https://domain.com/wp-content/plugins/var/www/vhosts/domain.com/httpdocs/wp-content/themes/sample-theme/redux-framework/redux-core/assets/css/colors/fresh/colors.css?ver=4.1.17.1598636630' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions