Closed Xayer closed 7 years ago
Thank you have the change added in. Will monitor it for performance and let it live in the next update.
@atwellpub I'm not entirely certain that the exact piece of code will work in practice, or that it's the right constant that I've used. But it should guide you in the right direction at least.
Thanks for that warning. When I tested this is what I ended up using:
/* Include wp-load
* ----------------------------------------------------- */
$path_to_wp = get_home_path();
require_once( $path_to_wp . '/wp-load.php' );
@atwellpub yes, exactly. Glad to be of service 👍
Hello.
In
shared/shortcodes/shortcodes-fields.php
on line 9. you are hardcoding the wp content folder. You should be using theCONTENT_DIR
constant defined in wp-config.So the code should be written a little like so: