mangomatic_init

The MangoMatic (Responsive) mangomatic init function.

Description

mangomatic_init(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function mangomatic_init() { 
  2. // remove thematic specific 
  3. //remove_action('thematic_navigation_above', 'thematic_nav_above', 2); 
  4. //remove_action('thematic_header', 'thematic_access', 9); 
  5. remove_action('thematic_indexloop', 'thematic_index_loop'); 
  6. remove_action('thematic_archiveloop', 'thematic_archive_loop'); 
  7. remove_action('thematic_searchloop', 'thematic_search_loop'); 
  8. remove_action('thematic_authorloop', 'thematic_author_loop'); 
  9. remove_action('thematic_categoryloop', 'thematic_category_loop'); 
  10. remove_action('thematic_tagloop', 'thematic_tag_loop'); 
  11.  
  12.  
  13. // clear useless garbage for a polished head 
  14. // remove really simple discovery 
  15. remove_action('wp_head', 'rsd_link'); 
  16. // remove windows live writer xml 
  17. remove_action('wp_head', 'wlwmanifest_link'); 
  18. // remove index relational link 
  19. remove_action('wp_head', 'index_rel_link'); 
  20. // remove parent relational link 
  21. remove_action('wp_head', 'parent_post_rel_link'); 
  22. // remove start relational link 
  23. remove_action('wp_head', 'start_post_rel_link'); 
  24. // remove prev/next relational link 
  25. remove_action('wp_head', 'adjacent_posts_rel_link_wp_head'); 
  26. // remove wordpress version 
  27. remove_action('wp_head', 'wp_generator');