eewee_get_address_settings

The Eewee responsive design eewee get address settings function.

Description

eewee_get_address_settings(); 

Usage

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

Defined (1)

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

/includes/admin/options/options-address.php  
  1. function eewee_get_address_settings() { 
  2. $eewee_settings = array(); 
  3.  
  4. ### address SETTINGS 
  5. ####################################################################################### 
  6. $eewee_settings[] = array( 
  7. "name" => "Logo",  
  8. "desc" => __('Paste the full Image URL of your logo.', 'eewee'),  
  9. "id" => "eewee_address_logo",  
  10. "std" => "",  
  11. "type" => "image",  
  12. "section" => "eewee_address_layout");  
  13.  
  14. $eewee_settings[] = array( 
  15. "name" => __('Company', 'eewee'),  
  16. "desc" => "address of your company",  
  17. "id" => "eewee_address_company",  
  18. "std" => '',  
  19. "type" => "text",  
  20. "section" => "eewee_address_layout" 
  21. ); 
  22.  
  23. $eewee_settings[] = array( 
  24. "name" => __('Address', 'eewee'),  
  25. "desc" => "",  
  26. "id" => "eewee_address_address1",  
  27. "std" => '',  
  28. "type" => "text",  
  29. "section" => "eewee_address_layout" 
  30. ); 
  31.  
  32. $eewee_settings[] = array( 
  33. "name" => __('Complement address', 'eewee'),  
  34. "desc" => "",  
  35. "id" => "eewee_address_address2",  
  36. "std" => '',  
  37. "type" => "text",  
  38. "section" => "eewee_address_layout" 
  39. ); 
  40.  
  41. $eewee_settings[] = array( 
  42. "name" => __('City', 'eewee'),  
  43. "desc" => "",  
  44. "id" => "eewee_address_city",  
  45. "std" => '',  
  46. "type" => "text",  
  47. "section" => "eewee_address_layout" 
  48. ); 
  49.  
  50. $eewee_settings[] = array( 
  51. "name" => __('Zip', 'eewee'),  
  52. "desc" => "",  
  53. "id" => "eewee_address_zip",  
  54. "std" => '',  
  55. "type" => "text",  
  56. "section" => "eewee_address_layout" 
  57. ); 
  58.  
  59. $eewee_settings[] = array( 
  60. "name" => __('Country', 'eewee'),  
  61. "desc" => "",  
  62. "id" => "eewee_address_country",  
  63. "std" => '',  
  64. "type" => "text",  
  65. "section" => "eewee_address_layout" 
  66. ); 
  67.  
  68. $eewee_settings[] = array( 
  69. "name" => __('Phone 1', 'eewee'),  
  70. "desc" => "",  
  71. "id" => "eewee_address_phone1",  
  72. "std" => '',  
  73. "type" => "text",  
  74. "section" => "eewee_address_layout" 
  75. ); 
  76.  
  77. $eewee_settings[] = array( 
  78. "name" => __('Phone 2', 'eewee'),  
  79. "desc" => "",  
  80. "id" => "eewee_address_phone2",  
  81. "std" => '',  
  82. "type" => "text",  
  83. "section" => "eewee_address_layout" 
  84. ); 
  85.  
  86. $eewee_settings[] = array( 
  87. "name" => __('Phone 3', 'eewee'),  
  88. "desc" => "",  
  89. "id" => "eewee_address_phone3",  
  90. "std" => '',  
  91. "type" => "text",  
  92. "section" => "eewee_address_layout" 
  93. ); 
  94.  
  95. $eewee_settings[] = array( 
  96. "name" => __('Mobile', 'eewee'),  
  97. "desc" => "",  
  98. "id" => "eewee_address_mobile",  
  99. "std" => '',  
  100. "type" => "text",  
  101. "section" => "eewee_address_layout" 
  102. ); 
  103.  
  104. $eewee_settings[] = array( 
  105. "name" => __('Fax', 'eewee'),  
  106. "desc" => "",  
  107. "id" => "eewee_address_fax",  
  108. "std" => '',  
  109. "type" => "text",  
  110. "section" => "eewee_address_layout" 
  111. ); 
  112.  
  113. $eewee_settings[] = array( 
  114. "name" => __('Email', 'eewee'),  
  115. "desc" => "",  
  116. "id" => "eewee_address_email",  
  117. "std" => '',  
  118. "type" => "text",  
  119. "section" => "eewee_address_layout" 
  120. ); 
  121.  
  122. $eewee_settings[] = array( 
  123. "name" => __('About', 'eewee'),  
  124. "desc" => __('Description of your company.', 'eewee'),  
  125. "id" => "eewee_address_about",  
  126. "std" => "",  
  127. "type" => "html",  
  128. "section" => "eewee_address_layout"); 
  129.  
  130. $eewee_settings[] = array( 
  131. "name" => __('Google map', 'eewee'),  
  132. "desc" => __('Paste your google map code here.', 'eewee'),  
  133. "id" => "eewee_address_gmap",  
  134. "std" => "",  
  135. "type" => "html",  
  136. "section" => "eewee_address_layout"); 
  137.  
  138. $eewee_settings[] = array( 
  139. "name" => __('Google analytics', 'eewee'),  
  140. "desc" => __('Paste your google analytics code here.', 'eewee'),  
  141. "id" => "eewee_address_ganalytics",  
  142. "std" => "",  
  143. "type" => "textarea",  
  144. "section" => "eewee_address_layout"); 
  145.  
  146. return $eewee_settings;