inkthemes_page_init

The ColorWay inkthemes page init function.

Description

inkthemes_page_init(); 

Usage

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

Defined (1)

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

/functions/themes-page.php  
  1. function inkthemes_page_init() { 
  2. $root = get_template_directory_uri(); 
  3. $pro_theme_url = 'http://www.inkthemes.com/wp-themes/colorway-wp-theme/'; 
  4. $pro_theme_demo = 'http://inkthemes.com/wpthemes/colorwayngo/'; 
  5. $site_url = 'http://www.inkthemes.com'; 
  6. ?> 
  7. <div id="contain"> 
  8. <div id="themesheader"> 
  9. <div style="clear: both;"></div> 
  10. </div> 
  11. <div class="colorway_advert" id="colorway_advert">  
  12. <div class="colorway_block_wrapper"> 
  13. <h3><?php _e('Colorway Pro Version Features', 'colorway'); ?></h3> 
  14. <div class="colorway_block block_two">  
  15. <ul>  
  16. <li><div class="dashicons dashicons-controls-play"></div><?php _e('8 Built in Color Schemes', 'colorway'); ?></li> 
  17. <li><div class="dashicons dashicons-controls-play"></div><?php _e('PDF/Video Documentations', 'colorway'); ?></li> 
  18. <li><div class="dashicons dashicons-controls-play"></div><?php _e('Background Images Bonus', 'colorway'); ?></li> 
  19. <li><div class="dashicons dashicons-controls-play"></div><?php _e('Home Page Slider', 'colorway'); ?></li> 
  20. </ul> 
  21. </div> 
  22. <div class="colorway_block block_three"> 
  23. <ul> 
  24. <li><div class="dashicons dashicons-controls-play"></div><?php _e('Seo optimized Theme', 'colorway'); ?></li> 
  25. <li><div class="dashicons dashicons-controls-play"></div><?php _e('Wpml Compatible Theme', 'colorway'); ?></li> 
  26. <li><div class="dashicons dashicons-controls-play"></div><?php _e('Improved Zoom-box', 'colorway'); ?></li> 
  27. <li><div class="dashicons dashicons-controls-play"></div><?php _e('Gallery & Contact Page', 'colorway'); ?></li>  
  28. </ul> 
  29. </div> 
  30. <a href="<?php echo esc_url($pro_theme_demo); ?>" target="blank" class="btn btn-demo" rel="nofollow"><?php _e('View Pro Demo', 'colorway'); ?></a> 
  31. <a href="<?php echo esc_url($pro_theme_url); ?>" target="_blank" class="btn btn-upgrade" rel="nofollow"><?php _e('Upgrade to Pro', 'colorway'); ?></a> 
  32. </div> 
  33. <div class="colorway_block block_four">  
  34. <img class="colorway_img_responsive " src="<?php echo get_template_directory_uri(); ?>/images/advert.png">  
  35. </div> 
  36. </div> 
  37. <div class="clear"></div> 
  38. <div id="container" class="theme_container"> 
  39. <div class="top_banner"> 
  40. <a href="<?php echo esc_url('http://www.inkthemes.com'); ?>" target="_blank" rel="nofollow"><img src="<?php echo get_template_directory_uri(); ?>/functions/images/ink.png"/></a> 
  41. <h1><?php _e('join inkthemes membership', 'colorway'); ?></h1> 
  42. <div class="ruler"></div> 
  43. <p><?php _e('Get 100% complete access to our entire collection of 47+ WordPress Themes for only $147', 'colorway'); ?></p> 
  44. <a class="btn" target="_blank" href="<?php echo esc_url('http://www.inkthemes.com/offers/inkthemes-membership'); ?>" target="_blank" rel="nofollow"><?php _e('GRAB THIS OFFER $147 ONLY', 'colorway'); ?></a> 
  45. </div>  
  46. <div class="page_feature_wrapper"> 
  47. <div class="page_feature"> 
  48. <h2><?php _e('What You Will Get', 'colorway'); ?></h2> 
  49. <div class="ruler"></div> 
  50. <div class="clear"></div> 
  51. <div class="feature_item one odd"> 
  52. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/ico1.png" /> 
  53. <h3><?php _e('Get Access to All InkThemes', 'colorway'); ?></h3> 
  54. <p><?php _e('Launch your new site in few minutes with 47+ fully functional WordPress Themes.', 'colorway'); ?></p> 
  55. </div>  
  56. <div class="feature_item two even"> 
  57. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/ico2.png" /> 
  58. <h3><?php _e('Forum Support', 'colorway'); ?></h3> 
  59. <p><?php _e('Unparalleled technical support will make your website building hassle free.', 'colorway'); ?></p> 
  60. </div> 
  61. <div class="feature_item three odd"> 
  62. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/ico3.png" /> 
  63. <h3><?php _e('Use on Multiple Domains', 'colorway'); ?></h3> 
  64. <p><?php _e('Use the themes on multiple domains for yourself or for your clients.', 'colorway'); ?></p> 
  65. </div> 
  66. <div class="feature_item four even"> 
  67. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/ico4.png" /> 
  68. <h3><?php _e('Consistent Updates', 'colorway'); ?></h3> 
  69. <p><?php _e('We bring your needs into action with regular updates to bring the best themes for you.', 'colorway'); ?></p> 
  70. </div> 
  71. <div class="feature_item five odd"> 
  72. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/ico5.png" /> 
  73. <h3><?php _e('Photoshop Files', 'colorway'); ?></h3> 
  74. <p><?php _e('Do design edits easily. Get layered photoshop files for all the themes.', 'colorway'); ?></p> 
  75. </div> 
  76. <div class="feature_item six even"> 
  77. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/ico6.png" /> 
  78. <h3><?php _e('One Click Install', 'colorway'); ?></h3> 
  79. <p><?php _e('Preloaded with sample data. You are just a click away from building astounding website.', 'colorway'); ?></p> 
  80. </div> 
  81. </div>  
  82. <div class="theme_feature"> 
  83. <h2><?php _e('popular wordpress Themes from inkthemes', 'colorway'); ?></h2> 
  84. <div class="ruler"></div> 
  85. <ul> 
  86. <li> 
  87. <div class="item animated"> 
  88. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/th1.png" /> 
  89. <span class="zoom"><a href="<?php echo esc_url('http://www.inkthemes.com/wp-themes/corporate-wordpress-theme/'); ?>" target="_blank" rel="nofollow"><?php _e('Read More', 'colorway'); ?></a></span> 
  90. </div> 
  91. <p><?php _e('Business & Blog', 'colorway'); ?></p> 
  92. <span class="detail"><?php _e('WordPress Themes', 'colorway'); ?></span> 
  93. </li> 
  94. <li> 
  95. <div class="item animated"> 
  96. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/th2.png" /> 
  97. <span class="zoom"><a href="<?php echo esc_url('http://www.inkthemes.com/wp-themes/geocraft-directory-listing-wordpress-theme/'); ?>" target="_blank" rel="nofollow"><?php _e('Read More', 'colorway'); ?></a></span> 
  98. </div> 
  99. <p><?php _e('Directory & Classified', 'colorway'); ?></p> 
  100. <span class="detail"><?php _e('WordPress Themes', 'colorway'); ?></span> 
  101. </li> 
  102. <li> 
  103. <div class="item animated"> 
  104. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/th3.png" /> 
  105. <span class="zoom"><a href="<?php echo esc_url('http://www.inkthemes.com/wp-themes/videocraft-wordpress-theme/'); ?>" target="_blank" rel="nofollow"><?php _e('Read More', 'colorway'); ?></a></span> 
  106. </div> 
  107. <p><?php _e('Video & Membership', 'colorway'); ?></p> 
  108. <span class="detail"><?php _e('WordPress Themes', 'colorway'); ?></span> 
  109. </li> 
  110. <li> 
  111. <div class="item animated"> 
  112. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/th4.png" /> 
  113. <span class="zoom"><a href="<?php echo esc_url('http://www.inkthemes.com/wp-themes/appointway-wordpress-theme/'); ?>" target="_blank" rel="nofollow"><?php _e('Read More', 'colorway'); ?></a></span> 
  114. </div> 
  115. <p><?php _e('Appointment & Lead', 'colorway'); ?></p> 
  116. <span class="detail"><?php _e('WordPress Themes', 'colorway'); ?></span> 
  117. </li> 
  118. <li> 
  119. <div class="item animated"> 
  120. <img src="<?php echo get_template_directory_uri(); ?>/functions/images/th5.png" /> 
  121. <span class="zoom"><a href="<?php echo esc_url('http://www.inkthemes.com/wp-themes/wordpress-marketplace-theme/'); ?>" target="_blank" rel="nofollow"><?php _e('Read More', 'colorway'); ?></a></span> 
  122. </div> 
  123. <p><?php _e('Ecommerce & Sales', 'colorway'); ?></p> 
  124. <span class="detail"><?php _e('WordPress Themes', 'colorway'); ?></span> 
  125. </li> 
  126. </ul> 
  127. <h4><a href="<?php echo esc_url('http://www.inkthemes.com/wp-themes/wordpress-marketplace-theme/'); ?>" target="_blank" rel="nofollow"><?php _e('And many More...', 'colorway'); ?></a></h4> 
  128. </div>  
  129. <div class="bottom_feature"> 
  130. <h1><?php _e('BUMPER BONUSES (OVER $820) FOR FREE', 'colorway'); ?></h1> 
  131. </div>  
  132. </div>  
  133. </div> 
  134. </div> 
  135. <?php