Thread Starter
rombez
(@rombez)
After including wp-config.php into nav-menues.php I get this widget working, but a number of warnings appear instead:
Deprecated: Function set_magic_quotes_runtime() is deprecated in E:\server\sites\civinews\pub\wp-settings.php on line 27, etc.
Has anybody else faced this issue?
Thread Starter
rombez
(@rombez)
The problem has been solved by adding to the beginning of nav-menus.php the following code:
require_once('../wp-load.php');
It is rather dirty approach, but it works.