Hi there,
I'm trying to include the Conditional Logic plugin into my theme using the "Include the extension directly" method seen here: https://metabox.io/docs/include-extensions-themes-plugins/
Here's what I've done:
1. Copied the meta-box-conditional-logic folder into my theme in a subfolder called "functions".
2. In my functions.php file I got the following:
require get_template_directory() . '/functions/meta-box-conditional-logic/meta-box-conditional-logic.php';
This does not seem to work, I'm getting the following console error:
GET http://localhost/XXXXXXX/wp-content/plugins/C:/wamp/www/XXXXXXX/wp-content/themes/laurel/functions/meta-box-conditional-logic/assets/js/conditional-logic.min.js?ver=1.3.1 403 (Forbidden)
If I upload the plugin as a plugin it works. But not when I try the method above. Any idea why?
Cheers