Created
November 26, 2016 14:16
-
-
Save Ninetheme/2533cd520191fe3809361cd70964f0bb to your computer and use it in GitHub Desktop.
undefined ot_get_option solution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'ot_settings_id' ) ) { | |
function ot_get_option() { | |
return false; | |
} | |
} | |
if ( function_exists( 'ot_settings_id' ) ) { | |
// add filter for options panel loader | |
add_filter( 'ot_show_pages', '__return_false' ); | |
add_filter( 'ot_show_new_layout', '__return_false' ); | |
// Theme options admin panel setings file | |
include_once get_template_directory() . '/includes/theme-options.php'; | |
// Theme customize css setting file | |
require_once get_template_directory() . '/includes/custom-style.php'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment