Last active
November 19, 2016 08:06
-
-
Save sudipbd/112a92f9e229c3809d211ce4fc8584c2 to your computer and use it in GitHub Desktop.
WordPress basic functions.php layout
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
<?php | |
//styles and scripts | |
require_once ('inc/stsc.php'); | |
// menus | |
require_once ('inc/menus.php'); | |
//custom menu | |
require_once ('inc/custom.php'); | |
//theme support | |
require_once('inc/supports.php'); | |
// option tree setup for theme option | |
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' ); | |
include_once( 'inc/ah-theme-options.php' ); | |
//Custom Meta Box | |
include_once('inc/ah-meta-boxes.php'); | |
//adding body class for browser and device | |
include_once('inc/wpclass.php') | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment