Catchresponsive_Important_Links

The Catch Responsive Catchresponsive Important Links class.

Defined (1)

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

/inc/customizer-includes/catchresponsive-customizer-custom-controls.php  
  1. class Catchresponsive_Important_Links extends WP_Customize_Control { 
  2. public $type = 'important-links'; 
  3.  
  4. public function render_content() { 
  5. //Add Theme instruction, Support Forum, Changelog, Donate link, Review, Facebook, Twitter, Google+, Pinterest links 
  6. $important_links = array( 
  7. 'theme_instructions' => array( 
  8. 'link' => esc_url( 'https://catchthemes.com/theme-instructions/catch-responsive/' ),  
  9. 'text' => __( 'Theme Instructions', 'catch-responsive' ),  
  10. ),  
  11. 'support' => array( 
  12. 'link' => esc_url( 'https://catchthemes.com/support/' ),  
  13. 'text' => __( 'Support', 'catch-responsive' ),  
  14. ),  
  15. 'changelog' => array( 
  16. 'link' => esc_url( 'https://catchthemes.com/changelogs/catch-responsive-theme/' ),  
  17. 'text' => __( 'Changelog', 'catch-responsive' ),  
  18. ),  
  19. 'donate' => array( 
  20. 'link' => esc_url( 'https://catchthemes.com/donate/' ),  
  21. 'text' => __( 'Donate Now', 'catch-responsive' ),  
  22. ),  
  23. 'review' => array( 
  24. 'link' => esc_url( 'https://wordpress.org/support/view/theme-reviews/catch-responsive' ),  
  25. 'text' => __( 'Review', 'catch-responsive' ),  
  26. ),  
  27. 'facebook' => array( 
  28. 'link' => esc_url( 'https://www.facebook.com/catchthemes/' ),  
  29. 'text' => __( 'Facebook', 'catch-responsive' ),  
  30. ),  
  31. 'twitter' => array( 
  32. 'link' => esc_url( 'https://twitter.com/catchthemes/' ),  
  33. 'text' => __( 'Twitter', 'catch-responsive' ),  
  34. ),  
  35. 'gplus' => array( 
  36. 'link' => esc_url( 'https://plus.google.com/+Catchthemes/' ),  
  37. 'text' => __( 'Google+', 'catch-responsive' ),  
  38. ),  
  39. 'pinterest' => array( 
  40. 'link' => esc_url( 'http://www.pinterest.com/catchthemes/' ),  
  41. 'text' => __( 'Pinterest', 'catch-responsive' ),  
  42. ),  
  43. ); 
  44. foreach ( $important_links as $important_link) { 
  45. echo '<p><a target="_blank" href="' . $important_link['link'] .'" >' . esc_attr( $important_link['text'] ) .' </a></p>';