You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
How can this bug be reproduced?
When FoundationPress is used as a Child Theme instead of a parent theme, the css and js files don't get referenced correctly. This is caused by the use of the function get_template_directory_uri(). This function always loads the URL of the current active parent theme.
What did you expect to happen?
The CSS and JS files don't load correctly.
What happened instead?
CSS and JS files should load correctly
How can this be solved?
FoundationPress should use get_stylesheet_directory_uri() to load the css and js files instead of get_template_directory_uri().
Please List the Following:
OS & version: macOS 10.13.3
Node version (node -v) [Node v4+ is required] : v8.10.0
FoundationPress version (see line 3 in package.json): 2.10.4
Foundation version (found in node_modules/foundation-sites/package.json) : 6.4.3
The text was updated successfully, but these errors were encountered:
How can this bug be reproduced?
When FoundationPress is used as a Child Theme instead of a parent theme, the css and js files don't get referenced correctly. This is caused by the use of the function
get_template_directory_uri()
. This function always loads the URL of the current active parent theme.What did you expect to happen?
The CSS and JS files don't load correctly.
What happened instead?
CSS and JS files should load correctly
How can this be solved?
FoundationPress should use
get_stylesheet_directory_uri()
to load the css and js files instead ofget_template_directory_uri()
.Please List the Following:
node_modules/foundation-sites/package.json
) : 6.4.3The text was updated successfully, but these errors were encountered: