Head Blocks not calling correctly
-
Hi there,
have used this plugin several times in the past with no issues, but seems to be having problems with WP 4.5.
Ive installed the plugin and setup the path to Mage.php (and updated the functions file). This all seems to be working correctly.
However when i add this:
$head = get_block(‘head’, false);
echo $head->getCssJsHtml();it grabs all the css/js as it should, but it adds the subfolder the worpdress install is in to the path of all the css/js files, and so doesnt find them.
e.g. pathname should be
mysite.com/skin/frontend/my-theme/default/css/style.cssbut instead is doing:
mysite.com/wordpress/skin/frontend/my-theme/default/css/style.cssIm not sure if this is an issue with the current version of the plugin (id initially installed through the wordpress plugin directory, but found that the assets folder was actually missing so have instead downloaded and manually installed), or if its an issue with how WP is working now its on version 4.5
any help would be greatly appreciated!
cheers
Danhttps://www.ads-software.com/plugins/magento-wordpress-integration/
- The topic ‘Head Blocks not calling correctly’ is closed to new replies.