mh_magazine_lite_display_theme_page

The MH Magazine lite mh magazine lite display theme page function.

Description

mh_magazine_lite_display_theme_page(); 

Usage

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

Defined (1)

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

/admin/admin.php  
  1. function mh_magazine_lite_display_theme_page() { 
  2. global $mh_magazine_lite_data; ?> 
  3. <div class="theme-info-wrap"> 
  4. <h1> 
  5. <?php printf(esc_html__('Welcome to %1$1s %2$2s', 'mh-magazine-lite'), $mh_magazine_lite_data['Name'], $mh_magazine_lite_data['Version']); ?> 
  6. </h1> 
  7. <div class="mh-row theme-intro clearfix"> 
  8. <div class="mh-col-1-4"> 
  9. <img class="theme-screenshot" src="<?php echo get_template_directory_uri(); ?>/screenshot.png" alt="<?php esc_html_e('Theme Screenshot', 'mh-magazine-lite'); ?>" /> 
  10. </div> 
  11. <div class="mh-col-3-4 theme-description"> 
  12. <?php echo esc_html($mh_magazine_lite_data['Description']); ?> 
  13. </div> 
  14. </div> 
  15. <hr> 
  16. <div class="theme-links clearfix"> 
  17. <p> 
  18. <strong><?php esc_html_e('Important Links:', 'mh-magazine-lite'); ?></strong> 
  19. <a href="<?php echo esc_url('https://www.mhthemes.com/themes/mh/magazine-lite/'); ?>" target="_blank"> 
  20. <?php esc_html_e('Theme Info Page', 'mh-magazine-lite'); ?> 
  21. </a> 
  22. <a href="<?php echo esc_url('https://www.mhthemes.com/support/'); ?>" target="_blank"> 
  23. <?php esc_html_e('Support Center', 'mh-magazine-lite'); ?> 
  24. </a> 
  25. <a href="<?php echo esc_url('https://wordpress.org/support/theme/mh-magazine-lite'); ?>" target="_blank"> 
  26. <?php esc_html_e('Support Forum', 'mh-magazine-lite'); ?> 
  27. </a> 
  28. <a href="<?php echo esc_url('https://www.mhthemes.com/themes/showcase/'); ?>" target="_blank"> 
  29. <?php esc_html_e('MH Themes Showcase', 'mh-magazine-lite'); ?> 
  30. </a> 
  31. </p> 
  32. </div> 
  33. <hr> 
  34. <div id="getting-started"> 
  35. <h3> 
  36. <?php printf(esc_html__('Get Started with %s', 'mh-magazine-lite'), $mh_magazine_lite_data['Name']); ?> 
  37. </h3> 
  38. <div class="mh-row clearfix"> 
  39. <div class="mh-col-1-2"> 
  40. <div class="section"> 
  41. <h4> 
  42. <span class="dashicons dashicons-welcome-learn-more"></span> 
  43. <?php esc_html_e('Theme Documentation', 'mh-magazine-lite'); ?> 
  44. </h4> 
  45. <p class="about"> 
  46. <?php printf(esc_html__('Need any help with configuring %s? The documentation for this theme includes all theme related information that is needed to get your site up and running in no time. In case you have any additional questions, feel free to reach out in the theme support forums on WordPress.org.', 'mh-magazine-lite'), $mh_magazine_lite_data['Name']); ?> 
  47. </p> 
  48. <p> 
  49. <a href="<?php echo esc_url('https://www.mhthemes.com/support/documentation-mh-magazine/'); ?>" target="_blank" class="button button-secondary"> 
  50. <?php esc_html_e('Theme Documentation', 'mh-magazine-lite'); ?> 
  51. </a> 
  52. <a href="<?php echo esc_url('https://wordpress.org/support/theme/mh-magazine-lite'); ?>" target="_blank" class="button button-secondary"> 
  53. <?php esc_html_e('Support Forum', 'mh-magazine-lite'); ?> 
  54. </a> 
  55. </p> 
  56. </div> 
  57. <div class="section"> 
  58. <h4> 
  59. <span class="dashicons dashicons-admin-appearance"></span> 
  60. <?php esc_html_e('Theme Options', 'mh-magazine-lite'); ?> 
  61. </h4> 
  62. <p class="about"> 
  63. <?php printf(esc_html__('%s supports the Theme Customizer for all theme settings. Click "Customize Theme" to open the Customizer now.', 'mh-magazine-lite'), $mh_magazine_lite_data['Name']); ?> 
  64. </p> 
  65. <p> 
  66. <a href="<?php echo admin_url('customize.php'); ?>" class="button button-secondary"> 
  67. <?php esc_html_e('Customize Theme', 'mh-magazine-lite'); ?> 
  68. </a> 
  69. </p> 
  70. </div> 
  71. </div> 
  72. <div class="mh-col-1-2"> 
  73. <div class="section"> 
  74. <h4> 
  75. <span class="dashicons dashicons-cart"></span> 
  76. <?php esc_html_e('MH Magazine Pro', 'mh-magazine-lite'); ?> 
  77. </h4> 
  78. <p class="about"> 
  79. <?php esc_html_e('If you like the free version of this theme, you will LOVE the full version of MH Magazine which includes unique custom widgets, additional features and more useful options to customize your website.', 'mh-magazine-lite'); ?> 
  80. </p> 
  81. <p> 
  82. <a href="<?php echo esc_url('https://www.mhthemes.com/themes/mh/magazine/'); ?>" target="_blank" class="button button-primary"> 
  83. <?php esc_html_e('Upgrade to MH Magazine Pro', 'mh-magazine-lite'); ?> 
  84. </a> 
  85. </p> 
  86. </div> 
  87. <div class="section"> 
  88. <h4> 
  89. <span class="dashicons dashicons-images-alt"></span> 
  90. <?php esc_html_e('MH Magazine Theme Demos', 'mh-magazine-lite'); ?> 
  91. </h4> 
  92. <p class="about"> 
  93. <?php esc_html_e('The premium version of MH Magazine includes lots of additional features and options to customize your website. We have created several theme demos as examples in order to show what is possible with this flexible magazine theme.', 'mh-magazine-lite'); ?> 
  94. </p> 
  95. <p> 
  96. <a href="<?php echo esc_url('https://www.mhthemes.com/themes/mh/magazine/#demos'); ?>" target="_blank" class="button button-secondary"> 
  97. <?php esc_html_e('Theme Demos', 'mh-magazine-lite'); ?> 
  98. </a> 
  99. <a href="<?php echo esc_url('https://www.mhthemes.com/themes/showcase/'); ?>" target="_blank" class="button button-secondary"> 
  100. <?php esc_html_e('MH Themes Showcase', 'mh-magazine-lite'); ?> 
  101. </a> 
  102. </p> 
  103. </div> 
  104. </div> 
  105. </div> 
  106. </div> 
  107. <hr> 
  108. <div class="theme-comparison"> 
  109. <h3 class="theme-comparison-intro"> 
  110. <?php esc_html_e('Upgrade to MH Magazine for more awesome features:', 'mh-magazine-lite'); ?> 
  111. </h3> 
  112. <table> 
  113. <thead class="theme-comparison-header"> 
  114. <tr> 
  115. <th class="table-feature-title"><h3><?php esc_html_e('Features', 'mh-magazine-lite'); ?></h3></th> 
  116. <th><h3><?php esc_html_e('MH Magazine lite', 'mh-magazine-lite'); ?></h3></th> 
  117. <th><h3><?php esc_html_e('MH Magazine', 'mh-magazine-lite'); ?></h3></th> 
  118. </tr> 
  119. </thead> 
  120. <tbody> 
  121. <tr> 
  122. <td><h3><?php esc_html_e('Theme Price', 'mh-magazine-lite'); ?></h3></td> 
  123. <td><?php esc_html_e('Free', 'mh-magazine-lite'); ?></td> 
  124. <td> 
  125. <a href="<?php echo esc_url('https://www.mhthemes.com/pricing/#join'); ?>" target="_blank"> 
  126. <?php esc_html_e('View Pricing', 'mh-magazine-lite'); ?> 
  127. </a> 
  128. </td> 
  129. </tr> 
  130. <tr> 
  131. <td><h3><?php esc_html_e('Site Width', 'mh-magazine-lite'); ?></h3></td> 
  132. <td><?php esc_html_e('max. 1080px', 'mh-magazine-lite'); ?></td> 
  133. <td><?php esc_html_e('max. 1080px / 1431px', 'mh-magazine-lite'); ?></td> 
  134. </tr> 
  135. <tr> 
  136. <td><h3><?php esc_html_e('Responsive Layout', 'mh-magazine-lite'); ?></h3></td> 
  137. <td><span class="dashicons dashicons-yes"></span></td> 
  138. <td><span class="dashicons dashicons-yes"></span></td> 
  139. </tr> 
  140. <tr> 
  141. <td><h3><?php esc_html_e('Extended Layout Options', 'mh-magazine-lite'); ?></h3></td> 
  142. <td><span class="dashicons dashicons-no"></span></td> 
  143. <td><span class="dashicons dashicons-yes"></span></td> 
  144. </tr> 
  145. <tr> 
  146. <td><h3><?php esc_html_e('Second Sidebar', 'mh-magazine-lite'); ?></h3></td> 
  147. <td><span class="dashicons dashicons-no"></span></td> 
  148. <td><span class="dashicons dashicons-yes"></span></td> 
  149. </tr> 
  150. <tr> 
  151. <td><h3><?php esc_html_e('Homepage Template', 'mh-magazine-lite'); ?></h3></td> 
  152. <td><span class="dashicons dashicons-yes"></span></td> 
  153. <td><span class="dashicons dashicons-yes"></span></td> 
  154. </tr> 
  155. <tr> 
  156. <td><h3><?php esc_html_e('Total Widget Areas', 'mh-magazine-lite'); ?></h3></td> 
  157. <td><?php esc_html_e('12', 'mh-magazine-lite'); ?></td> 
  158. <td><?php esc_html_e('26', 'mh-magazine-lite'); ?></td> 
  159. </tr> 
  160. <tr> 
  161. <td><h3><?php esc_html_e('Custom Widgets', 'mh-magazine-lite'); ?></h3></td> 
  162. <td><?php esc_html_e('6 (Basic Features)', 'mh-magazine-lite'); ?></td> 
  163. <td><?php esc_html_e('23 (Full Features)', 'mh-magazine-lite'); ?></td> 
  164. </tr> 
  165. <tr> 
  166. <td><h3><?php esc_html_e('Custom Menus', 'mh-magazine-lite'); ?></h3></td> 
  167. <td><?php esc_html_e('1', 'mh-magazine-lite'); ?></td> 
  168. <td><?php esc_html_e('5', 'mh-magazine-lite'); ?></td> 
  169. </tr> 
  170. <tr> 
  171. <td><h3><?php esc_html_e('Transparent Header', 'mh-magazine-lite'); ?></h3></td> 
  172. <td><span class="dashicons dashicons-no"></span></td> 
  173. <td><span class="dashicons dashicons-yes"></span></td> 
  174. </tr> 
  175. <tr> 
  176. <td><h3><?php esc_html_e('jQuery News Ticker', 'mh-magazine-lite'); ?></h3></td> 
  177. <td><span class="dashicons dashicons-no"></span></td> 
  178. <td><span class="dashicons dashicons-yes"></span></td> 
  179. </tr> 
  180. <tr> 
  181. <td><h3><?php esc_html_e('FlexSlider 2 with Touch Support', 'mh-magazine-lite'); ?></h3></td> 
  182. <td><span class="dashicons dashicons-yes"></span></td> 
  183. <td><span class="dashicons dashicons-yes"></span></td> 
  184. </tr> 
  185. <tr> 
  186. <td><h3><?php esc_html_e('Built-in Breadcrumb Navigation', 'mh-magazine-lite'); ?></h3></td> 
  187. <td><span class="dashicons dashicons-no"></span></td> 
  188. <td><span class="dashicons dashicons-yes"></span></td> 
  189. </tr> 
  190. <tr> 
  191. <td><h3><?php esc_html_e('Built-in Social Buttons', 'mh-magazine-lite'); ?></h3></td> 
  192. <td><span class="dashicons dashicons-no"></span></td> 
  193. <td><span class="dashicons dashicons-yes"></span></td> 
  194. </tr> 
  195. <tr> 
  196. <td><h3><?php esc_html_e('Related Posts Feature', 'mh-magazine-lite'); ?></h3></td> 
  197. <td><span class="dashicons dashicons-no"></span></td> 
  198. <td><span class="dashicons dashicons-yes"></span></td> 
  199. </tr> 
  200. <tr> 
  201. <td><h3><?php esc_html_e('Advertising Options', 'mh-magazine-lite'); ?></h3></td> 
  202. <td><span class="dashicons dashicons-no"></span></td> 
  203. <td><span class="dashicons dashicons-yes"></span></td> 
  204. </tr> 
  205. <tr> 
  206. <td><h3><?php esc_html_e('Theme Options', 'mh-magazine-lite'); ?></h3></td> 
  207. <td><?php esc_html_e('Basic Options', 'mh-magazine-lite'); ?></td> 
  208. <td><span class="dashicons dashicons-yes"></span></td> 
  209. </tr> 
  210. <tr> 
  211. <td><h3><?php esc_html_e('Color Options', 'mh-magazine-lite'); ?></h3></td> 
  212. <td><span class="dashicons dashicons-no"></span></td> 
  213. <td><span class="dashicons dashicons-yes"></span></td> 
  214. </tr> 
  215. <tr> 
  216. <td><h3><?php esc_html_e('Google Webfonts Collection', 'mh-magazine-lite'); ?></h3></td> 
  217. <td><span class="dashicons dashicons-no"></span></td> 
  218. <td><span class="dashicons dashicons-yes"></span></td> 
  219. </tr> 
  220. <tr> 
  221. <td><h3><?php esc_html_e('Typography Options', 'mh-magazine-lite'); ?></h3></td> 
  222. <td><span class="dashicons dashicons-no"></span></td> 
  223. <td><span class="dashicons dashicons-yes"></span></td> 
  224. </tr> 
  225. <tr> 
  226. <td><h3><?php esc_html_e('Extended Features', 'mh-magazine-lite'); ?></h3></td> 
  227. <td><span class="dashicons dashicons-no"></span></td> 
  228. <td><span class="dashicons dashicons-yes"></span></td> 
  229. </tr> 
  230. <tr> 
  231. <td><h3><?php esc_html_e('Support', 'mh-magazine-lite'); ?></h3></td> 
  232. <td><?php esc_html_e('Support Forum', 'mh-magazine-lite'); ?></td> 
  233. <td><?php esc_html_e('Personal E-Mail Support', 'mh-magazine-lite'); ?></td> 
  234. </tr> 
  235. <tr> 
  236. <td></td> 
  237. <td></td> 
  238. <td> 
  239. <a href="<?php echo esc_url('https://www.mhthemes.com/themes/mh/magazine/'); ?>" target="_blank" class="upgrade-button"> 
  240. <?php esc_html_e('Upgrade to MH Magazine Pro', 'mh-magazine-lite'); ?> 
  241. </a> 
  242. </td> 
  243. </tr> 
  244. </tbody> 
  245. </table> 
  246. </div> 
  247. <hr> 
  248. <div id="theme-author"> 
  249. <p> 
  250. <?php printf(esc_html__('%1$1s is proudly brought to you by %2$2s. If you like %3$3s: %4$4s.', 'mh-magazine-lite'), $mh_magazine_lite_data['Name'], '<a target="_blank" href="https://www.mhthemes.com/" title="MH Themes">MH Themes</a>', $mh_magazine_lite_data['Name'], '<a target="_blank" href="https://wordpress.org/support/view/theme-reviews/mh-magazine-lite?filter=5" title="MH Magazine lite Review">' . esc_html__('Rate this theme', 'mh-magazine-lite') . '</a>'); ?> 
  251. </p> 
  252. </div> 
  253. </div><?php