Issue when plugin directory is not the usual one (like with roots/bedrock)
-
Hi!
I’m using https://roots.io/bedrock/ to install wordpress + this plugin.
But when I do some backend editing, no icons are shown on the toolbars (like<i class="sl-arrow-down"...
)After checking a bit, I found that the issue is due to the fact that roots/bedrock puts the plugins in a separate place than your “standard” wordpress install, combined with some wrong use of functions/constants in your plugin.
One possible fix, is to change one line and use the appropriate constants, in:
kingcomposer.php:add_icon_source( $source ){ ... $path = str_replace( WP_PLUGIN_URL, untrailingslashit( WP_PLUGIN_DIR ), $source ); ...
Hope that helps.
Not sure if this type of fix isn’t needed in other places too – I just started with it.
Regards,
Cristi
- The topic ‘Issue when plugin directory is not the usual one (like with roots/bedrock)’ is closed to new replies.