inkthemes_setup

The ColorWay inkthemes setup function.

Description

inkthemes_setup(); 

Usage

  1. if ( !function_exists( 'inkthemes_setup' ) ) { 
  2. require_once '/functions/inkthemes-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = inkthemes_setup(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions/inkthemes-functions.php  
  1. function inkthemes_setup() { 
  2. add_theme_support('title-tag'); 
  3. add_theme_support('post-thumbnails'); 
  4. add_theme_support("custom-header"); 
  5. add_editor_style(); 
  6. add_image_size('post_thumbnail', 270, 200, true); 
  7. //add_image_size('post_home_thumbnail', 260, 350, true); 
  8. add_image_size('colorway_custom_size', 260, 350, true); 
  9. add_theme_support('custom-background', array( 
  10. 'default-color' => '000',  
  11. 'default-image' => get_template_directory_uri() . '/images/body-bg.png' 
  12. )); 
  13. add_theme_support('custom-background', array( 
  14. 'default-image' => 'e6e6e6',  
  15. )); 
  16. add_theme_support('automatic-feed-links'); 
  17. register_nav_menu('custom_menu', 'Main Menu'); 
  18.  
  19. load_theme_textdomain('colorway', get_template_directory() . '/languages');