Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Functions after setup theme
- if (site_url() == "http://127.0.0.1" ){
- define( "VERSION", time() );
- }
- function intra_theme_bootstraping(){
- add_theme_support('title-tag');
- add_theme_support("post-thumbnails");
- add_theme_support('post-formats', array('audio', 'video', 'quote', 'aside', 'link', 'link','image'));
- $intra_custom_header_color = array(
- "header-text" => true,
- "default-text-color" => "#FF0000",
- "height" => 600,
- "width" => 1200,
- "flex-width"
- );
- add_theme_support('custom-header', $intra_custom_header_color);
- add_theme_support("custom-background");
- $intra_logo_defaults = array(
- 'height' => '100',
- 'width' => '100'
- );
- add_theme_support('custom-logo', $intra_logo_defaults);
- textdomain("intra");
- register_nav_menu("mainmenu", __("Main Menu", "intra"));
- register_nav_menu("footer-menu", __("Footer Menu", "intra"));
- }
- add_action('after_setup_theme', 'intra_theme_bootstraping');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement