You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a little problem on installation with Option Tree:
function ot_options_id from Option Tree is located on ot-functions.php file, and this file is included by an action hoocked to wp 'after_setup_theme' hook on ot-loader.php file.
I fixed this by requiring your init at same hook like this:
function load_radium_one_click_demo_install(){
require get_template_directory() .'/radium-one-click-demo-install/init.php';
}
add_action( 'after_setup_theme', 'load_radium_one_click_demo_install', 2 );
Hope this helps
Thanks for your awesome work
The text was updated successfully, but these errors were encountered:
branedesign
changed the title
ot_options_id dont exists on load
ot_options_id doesn't exist on load
Feb 17, 2015
@branedesign thx fow advice.. haven same issue.
But I think, it will be better to call class init method instead of require file on after_setup_theme..
Hi, nice plugin
There is a little problem on installation with Option Tree:
function ot_options_id from Option Tree is located on ot-functions.php file, and this file is included by an action hoocked to wp 'after_setup_theme' hook on ot-loader.php file.
I fixed this by requiring your init at same hook like this:
function load_radium_one_click_demo_install(){
require get_template_directory() .'/radium-one-click-demo-install/init.php';
}
add_action( 'after_setup_theme', 'load_radium_one_click_demo_install', 2 );
Hope this helps
Thanks for your awesome work
The text was updated successfully, but these errors were encountered: