OptionTree – A Theme Options UI Builder for WordPress
OptionTree is most popular wordpress plugin to add theme options. It fill the gap between WordPress developers, designers and end-users by creating fully responsive option panels and meta boxes with an ease unlike any other plugin. OptionTree has many advanced features with well placed hooks and filters to adjust every aspect of the user experience. OptionTree is sponsored by ThemeForest, the largest WordPress theme marketplace on the web. Over 90,000+ Active User.
In this tutorial I will share How to activate option tree in wordpress theme, Are you ready to learn ? Let’s start.
How to activate option tree in wordpress theme
Add this code in functions.php
add_filter( 'ot_show_pages', '__return_false' );
add_filter( 'ot_show_new_layout', '__return_false' );
add_filter( 'ot_theme_mode', '__return_true' );
include_once( 'option-tree/ot-loader.php' );
If you need more help don’t delay to ask me. I am here ready to give easy guideline. Just comment or send message me. I will beck you asap. Message Now .
Don’t forget to bookmark and share this code with others new learner like you.