wordpress-starter 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. data/CHANGELOG.md +13 -0
  2. data/README.md +47 -4
  3. data/lib/wordpress-starter.rb +3 -2
  4. data/stylesheets/wordpress/_defaults.scss +267 -20
  5. data/stylesheets/wordpress/_page.scss +0 -363
  6. data/stylesheets/wordpress/_responsive.scss +0 -115
  7. data/stylesheets/wordpress/_theme.scss +0 -82
  8. data/stylesheets/wordpress/_typography.scss +0 -134
  9. data/templates/foundation/404.php +24 -0
  10. data/templates/{starter → foundation}/admin/README.txt +0 -0
  11. data/templates/{starter → foundation}/admin/assets/css/admin-style.css +0 -0
  12. data/templates/{starter → foundation}/admin/assets/css/colorpicker.css +0 -0
  13. data/templates/{starter → foundation}/admin/assets/images/1col.png +0 -0
  14. data/templates/{starter → foundation}/admin/assets/images/2-col-portfolio.png +0 -0
  15. data/templates/{starter → foundation}/admin/assets/images/2cl.png +0 -0
  16. data/templates/{starter → foundation}/admin/assets/images/2cr.png +0 -0
  17. data/templates/{starter → foundation}/admin/assets/images/3-col-portfolio.png +0 -0
  18. data/templates/{starter → foundation}/admin/assets/images/3cm.png +0 -0
  19. data/templates/{starter → foundation}/admin/assets/images/3cr.png +0 -0
  20. data/templates/{starter → foundation}/admin/assets/images/4-col-portfolio.png +0 -0
  21. data/templates/{starter → foundation}/admin/assets/images/accept.png +0 -0
  22. data/templates/{starter → foundation}/admin/assets/images/button_check.png +0 -0
  23. data/templates/{starter → foundation}/admin/assets/images/colorpicker/blank.gif +0 -0
  24. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_background.png +0 -0
  25. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hex.png +0 -0
  26. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
  27. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
  28. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
  29. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_indic.gif +0 -0
  30. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_overlay.png +0 -0
  31. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
  32. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
  33. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
  34. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_select.gif +0 -0
  35. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_submit.png +0 -0
  36. data/templates/{starter → foundation}/admin/assets/images/colorpicker/select.png +0 -0
  37. data/templates/{starter → foundation}/admin/assets/images/dropdown-arrow.png +0 -0
  38. data/templates/{starter → foundation}/admin/assets/images/favicon.ico +0 -0
  39. data/templates/{starter → foundation}/admin/assets/images/icon-add.png +0 -0
  40. data/templates/{starter → foundation}/admin/assets/images/icon-backup.png +0 -0
  41. data/templates/{starter → foundation}/admin/assets/images/icon-delete.png +0 -0
  42. data/templates/{starter → foundation}/admin/assets/images/icon-docs.png +0 -0
  43. data/templates/{starter → foundation}/admin/assets/images/icon-edit.png +0 -0
  44. data/templates/{starter → foundation}/admin/assets/images/icon-home.png +0 -0
  45. data/templates/{starter → foundation}/admin/assets/images/icon-info.png +0 -0
  46. data/templates/{starter → foundation}/admin/assets/images/icon-notice.png +0 -0
  47. data/templates/{starter → foundation}/admin/assets/images/icon-paint.png +0 -0
  48. data/templates/{starter → foundation}/admin/assets/images/icon-settings.png +0 -0
  49. data/templates/{starter → foundation}/admin/assets/images/icon-slider.png +0 -0
  50. data/templates/{starter → foundation}/admin/assets/images/icon-warn.png +0 -0
  51. data/templates/{starter → foundation}/admin/assets/images/icon_option.png +0 -0
  52. data/templates/{starter → foundation}/admin/assets/images/loading-bottom.gif +0 -0
  53. data/templates/{starter → foundation}/admin/assets/images/select.png +0 -0
  54. data/templates/{starter → foundation}/admin/assets/images/sign_warning.png +0 -0
  55. data/templates/{starter → foundation}/admin/assets/images/stop.png +0 -0
  56. data/templates/{starter → foundation}/admin/assets/images/toggle_tabs.png +0 -0
  57. data/templates/{starter → foundation}/admin/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  58. data/templates/{starter → foundation}/admin/assets/images/warning.png +0 -0
  59. data/templates/{starter → foundation}/admin/assets/images/wrench.png +0 -0
  60. data/templates/{starter → foundation}/admin/assets/images/wrench16.png +0 -0
  61. data/templates/{starter → foundation}/admin/assets/js/ajaxupload.js +0 -0
  62. data/templates/{starter → foundation}/admin/assets/js/colorpicker.js +0 -0
  63. data/templates/{starter → foundation}/admin/assets/js/cookie.js +0 -0
  64. data/templates/{starter → foundation}/admin/assets/js/jquery.maskedinput-1.2.2.js +0 -0
  65. data/templates/{starter → foundation}/admin/assets/js/jquery.tipsy.js +0 -0
  66. data/templates/{starter → foundation}/admin/assets/js/of-medialibrary-uploader.js +0 -0
  67. data/templates/{starter → foundation}/admin/assets/js/smof.js +0 -0
  68. data/templates/foundation/admin/classes/class.options-machine.php +627 -0
  69. data/templates/{starter → foundation}/admin/front-end/options.php +0 -0
  70. data/templates/{starter → foundation}/admin/functions/functions.admin.php +0 -0
  71. data/templates/{starter → foundation}/admin/functions/functions.interface.php +0 -0
  72. data/templates/{starter → foundation}/admin/functions/functions.load.php +0 -0
  73. data/templates/foundation/admin/functions/functions.mediauploader.php +194 -0
  74. data/templates/foundation/admin/functions/functions.options.php +508 -0
  75. data/templates/{starter → foundation}/admin/functions/functions.php +0 -0
  76. data/templates/{starter → foundation}/admin/index.php +88 -86
  77. data/templates/{starter → foundation}/admin/layouts/default.css +0 -0
  78. data/templates/{starter → foundation}/admin/layouts/placebo.css +0 -0
  79. data/templates/foundation/archive.php +57 -0
  80. data/templates/foundation/category.php +40 -0
  81. data/templates/foundation/comments.php +65 -0
  82. data/templates/foundation/content-aside.php +26 -0
  83. data/templates/foundation/content-image.php +29 -0
  84. data/templates/foundation/content-link.php +27 -0
  85. data/templates/foundation/content-none.php +21 -0
  86. data/templates/foundation/content-page.php +24 -0
  87. data/templates/foundation/content-quote.php +26 -0
  88. data/templates/foundation/content-status.php +33 -0
  89. data/templates/foundation/content.php +67 -0
  90. data/templates/foundation/editor-style.scss +359 -0
  91. data/templates/foundation/footer.php +29 -0
  92. data/templates/foundation/functions.php +1425 -0
  93. data/templates/foundation/header.php +63 -0
  94. data/templates/foundation/ie.scss +1 -0
  95. data/templates/{starter → foundation}/images/bg/bg0.png +0 -0
  96. data/templates/{starter → foundation}/images/bg/bg1.png +0 -0
  97. data/templates/{starter → foundation}/images/bg/bg10.png +0 -0
  98. data/templates/{starter → foundation}/images/bg/bg11.png +0 -0
  99. data/templates/{starter → foundation}/images/bg/bg2.png +0 -0
  100. data/templates/{starter → foundation}/images/bg/bg3.png +0 -0
  101. data/templates/{starter → foundation}/images/bg/bg4.png +0 -0
  102. data/templates/{starter → foundation}/images/bg/bg5.png +0 -0
  103. data/templates/{starter → foundation}/images/bg/bg6.jpg +0 -0
  104. data/templates/{starter → foundation}/images/bg/bg7.jpg +0 -0
  105. data/templates/{starter → foundation}/images/bg/bg8.png +0 -0
  106. data/templates/{starter → foundation}/images/bg/bg9.png +0 -0
  107. data/templates/foundation/images/fairhead-icons/fc-webicon-behance-m.png +0 -0
  108. data/templates/foundation/images/fairhead-icons/fc-webicon-behance-s.png +0 -0
  109. data/templates/foundation/images/fairhead-icons/fc-webicon-behance.png +0 -0
  110. data/templates/foundation/images/fairhead-icons/fc-webicon-behance.svg +48 -0
  111. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud-m.png +0 -0
  112. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud-s.png +0 -0
  113. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud.png +0 -0
  114. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud.svg +48 -0
  115. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble-m.png +0 -0
  116. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble-s.png +0 -0
  117. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble.png +0 -0
  118. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble.svg +28 -0
  119. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox-m.png +0 -0
  120. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox-s.png +0 -0
  121. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox.png +0 -0
  122. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox.svg +73 -0
  123. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote-m.png +0 -0
  124. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote-s.png +0 -0
  125. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote.png +0 -0
  126. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote.svg +62 -0
  127. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook-m.png +0 -0
  128. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook-s.png +0 -0
  129. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook.png +0 -0
  130. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook.svg +15 -0
  131. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr-m.png +0 -0
  132. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr-s.png +0 -0
  133. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr.png +0 -0
  134. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr.svg +14 -0
  135. data/templates/foundation/images/fairhead-icons/fc-webicon-github-m.png +0 -0
  136. data/templates/foundation/images/fairhead-icons/fc-webicon-github-s.png +0 -0
  137. data/templates/foundation/images/fairhead-icons/fc-webicon-github.png +0 -0
  138. data/templates/foundation/images/fairhead-icons/fc-webicon-github.svg +38 -0
  139. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus-m.png +0 -0
  140. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus-s.png +0 -0
  141. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus.png +0 -0
  142. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus.svg +52 -0
  143. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud-m.png +0 -0
  144. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud-s.png +0 -0
  145. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud.png +0 -0
  146. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud.svg +26 -0
  147. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin-m.png +0 -0
  148. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin-s.png +0 -0
  149. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin.png +0 -0
  150. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin.svg +28 -0
  151. data/templates/foundation/images/fairhead-icons/fc-webicon-mail-m.png +0 -0
  152. data/templates/foundation/images/fairhead-icons/fc-webicon-mail-s.png +0 -0
  153. data/templates/foundation/images/fairhead-icons/fc-webicon-mail.png +0 -0
  154. data/templates/foundation/images/fairhead-icons/fc-webicon-mail.svg +27 -0
  155. data/templates/foundation/images/fairhead-icons/fc-webicon-msn-m.png +0 -0
  156. data/templates/foundation/images/fairhead-icons/fc-webicon-msn-s.png +0 -0
  157. data/templates/foundation/images/fairhead-icons/fc-webicon-msn.png +0 -0
  158. data/templates/foundation/images/fairhead-icons/fc-webicon-msn.svg +44 -0
  159. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest-m.png +0 -0
  160. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest-s.png +0 -0
  161. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest.png +0 -0
  162. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest.svg +42 -0
  163. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio-m.png +0 -0
  164. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio-s.png +0 -0
  165. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio.png +0 -0
  166. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio.svg +18 -0
  167. data/templates/foundation/images/fairhead-icons/fc-webicon-rss-m.png +0 -0
  168. data/templates/foundation/images/fairhead-icons/fc-webicon-rss-s.png +0 -0
  169. data/templates/foundation/images/fairhead-icons/fc-webicon-rss.png +0 -0
  170. data/templates/foundation/images/fairhead-icons/fc-webicon-rss.svg +18 -0
  171. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch-m.png +0 -0
  172. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch-s.png +0 -0
  173. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch.png +0 -0
  174. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch.svg +24 -0
  175. data/templates/foundation/images/fairhead-icons/fc-webicon-skype-m.png +0 -0
  176. data/templates/foundation/images/fairhead-icons/fc-webicon-skype-s.png +0 -0
  177. data/templates/foundation/images/fairhead-icons/fc-webicon-skype.png +0 -0
  178. data/templates/foundation/images/fairhead-icons/fc-webicon-skype.svg +25 -0
  179. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify-m.png +0 -0
  180. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify-s.png +0 -0
  181. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify.png +0 -0
  182. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify.svg +38 -0
  183. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon-m.png +0 -0
  184. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon-s.png +0 -0
  185. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon.png +0 -0
  186. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon.svg +22 -0
  187. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr-m.png +0 -0
  188. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr-s.png +0 -0
  189. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr.png +0 -0
  190. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr.svg +16 -0
  191. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter-m.png +0 -0
  192. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter-s.png +0 -0
  193. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter.png +0 -0
  194. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter.svg +24 -0
  195. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo-m.png +0 -0
  196. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo-s.png +0 -0
  197. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo.png +0 -0
  198. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo.svg +20 -0
  199. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube-m.png +0 -0
  200. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube-s.png +0 -0
  201. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube.png +0 -0
  202. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube.svg +106 -0
  203. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion-m.png +0 -0
  204. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion-s.png +0 -0
  205. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion.png +0 -0
  206. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion.svg +54 -0
  207. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply-m.png +0 -0
  208. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply-s.png +0 -0
  209. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply.png +0 -0
  210. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply.svg +20 -0
  211. data/templates/foundation/images/foundation/orbit/bullets.jpg +0 -0
  212. data/templates/foundation/images/foundation/orbit/left-arrow-small.png +0 -0
  213. data/templates/foundation/images/foundation/orbit/left-arrow.png +0 -0
  214. data/templates/foundation/images/foundation/orbit/loading.gif +0 -0
  215. data/templates/foundation/images/foundation/orbit/mask-black.png +0 -0
  216. data/templates/foundation/images/foundation/orbit/pause-black.png +0 -0
  217. data/templates/foundation/images/foundation/orbit/right-arrow-small.png +0 -0
  218. data/templates/foundation/images/foundation/orbit/right-arrow.png +0 -0
  219. data/templates/foundation/images/foundation/orbit/rotator-black.png +0 -0
  220. data/templates/foundation/images/foundation/orbit/timer-black.png +0 -0
  221. data/templates/foundation/index.php +19 -0
  222. data/templates/foundation/javascripts/app.js +38 -0
  223. data/templates/foundation/javascripts/foundation.min.js +77 -0
  224. data/templates/foundation/javascripts/jquery.foundation.accordion.js +39 -0
  225. data/templates/foundation/javascripts/jquery.foundation.alerts.js +20 -0
  226. data/templates/foundation/javascripts/jquery.foundation.buttons.js +79 -0
  227. data/templates/foundation/javascripts/jquery.foundation.clearing.js +480 -0
  228. data/templates/foundation/javascripts/jquery.foundation.forms.js +494 -0
  229. data/templates/foundation/javascripts/jquery.foundation.joyride.js +639 -0
  230. data/templates/foundation/javascripts/jquery.foundation.magellan.js +86 -0
  231. data/templates/foundation/javascripts/jquery.foundation.mediaQueryToggle.js +27 -0
  232. data/templates/foundation/javascripts/jquery.foundation.navigation.js +55 -0
  233. data/templates/foundation/javascripts/jquery.foundation.orbit.js +897 -0
  234. data/templates/foundation/javascripts/jquery.foundation.reveal.js +794 -0
  235. data/templates/foundation/javascripts/jquery.foundation.tabs.js +56 -0
  236. data/templates/foundation/javascripts/jquery.foundation.tooltips.js +193 -0
  237. data/templates/foundation/javascripts/jquery.foundation.topbar.js +156 -0
  238. data/templates/foundation/javascripts/modernizr.foundation.js +4 -0
  239. data/templates/foundation/languages/readme.txt +6 -0
  240. data/templates/foundation/license.txt +281 -0
  241. data/templates/foundation/loop.php +30 -0
  242. data/templates/foundation/manifest.rb +285 -0
  243. data/templates/foundation/options.php +43 -0
  244. data/templates/foundation/page.php +29 -0
  245. data/templates/foundation/print.css +1 -0
  246. data/templates/foundation/print.scss +1 -0
  247. data/templates/foundation/readme.txt +6 -0
  248. data/templates/foundation/sass/_app.scss +50 -0
  249. data/templates/foundation/sass/_settings.scss +243 -0
  250. data/templates/foundation/screen.scss +1 -0
  251. data/templates/foundation/screenshot.png +0 -0
  252. data/templates/foundation/search.php +31 -0
  253. data/templates/{starter → foundation}/search.png +0 -0
  254. data/templates/foundation/searchform.php +14 -0
  255. data/templates/foundation/sidebar.php +15 -0
  256. data/templates/foundation/single.php +31 -0
  257. data/templates/foundation/style.css +17 -0
  258. data/templates/foundation/stylesheets/fc-webicons.css +156 -0
  259. data/templates/foundation/tag.php +41 -0
  260. data/templates/project/404.php +24 -0
  261. data/templates/project/admin/README.txt +25 -0
  262. data/templates/project/admin/assets/css/admin-style.css +838 -0
  263. data/templates/project/admin/assets/css/colorpicker.css +177 -0
  264. data/templates/project/admin/assets/images/1col.png +0 -0
  265. data/templates/project/admin/assets/images/2-col-portfolio.png +0 -0
  266. data/templates/project/admin/assets/images/2cl.png +0 -0
  267. data/templates/project/admin/assets/images/2cr.png +0 -0
  268. data/templates/project/admin/assets/images/3-col-portfolio.png +0 -0
  269. data/templates/project/admin/assets/images/3cm.png +0 -0
  270. data/templates/project/admin/assets/images/3cr.png +0 -0
  271. data/templates/project/admin/assets/images/4-col-portfolio.png +0 -0
  272. data/templates/project/admin/assets/images/accept.png +0 -0
  273. data/templates/project/admin/assets/images/button_check.png +0 -0
  274. data/templates/project/admin/assets/images/colorpicker/blank.gif +0 -0
  275. data/templates/project/admin/assets/images/colorpicker/colorpicker_background.png +0 -0
  276. data/templates/project/admin/assets/images/colorpicker/colorpicker_hex.png +0 -0
  277. data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
  278. data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
  279. data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
  280. data/templates/project/admin/assets/images/colorpicker/colorpicker_indic.gif +0 -0
  281. data/templates/project/admin/assets/images/colorpicker/colorpicker_overlay.png +0 -0
  282. data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
  283. data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
  284. data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
  285. data/templates/project/admin/assets/images/colorpicker/colorpicker_select.gif +0 -0
  286. data/templates/project/admin/assets/images/colorpicker/colorpicker_submit.png +0 -0
  287. data/templates/project/admin/assets/images/colorpicker/select.png +0 -0
  288. data/templates/project/admin/assets/images/dropdown-arrow.png +0 -0
  289. data/templates/project/admin/assets/images/favicon.ico +0 -0
  290. data/templates/project/admin/assets/images/icon-add.png +0 -0
  291. data/templates/project/admin/assets/images/icon-backup.png +0 -0
  292. data/templates/project/admin/assets/images/icon-delete.png +0 -0
  293. data/templates/project/admin/assets/images/icon-docs.png +0 -0
  294. data/templates/project/admin/assets/images/icon-edit.png +0 -0
  295. data/templates/project/admin/assets/images/icon-home.png +0 -0
  296. data/templates/project/admin/assets/images/icon-info.png +0 -0
  297. data/templates/project/admin/assets/images/icon-notice.png +0 -0
  298. data/templates/project/admin/assets/images/icon-paint.png +0 -0
  299. data/templates/project/admin/assets/images/icon-settings.png +0 -0
  300. data/templates/project/admin/assets/images/icon-slider.png +0 -0
  301. data/templates/project/admin/assets/images/icon-warn.png +0 -0
  302. data/templates/project/admin/assets/images/icon_option.png +0 -0
  303. data/templates/project/admin/assets/images/loading-bottom.gif +0 -0
  304. data/templates/project/admin/assets/images/select.png +0 -0
  305. data/templates/project/admin/assets/images/sign_warning.png +0 -0
  306. data/templates/project/admin/assets/images/stop.png +0 -0
  307. data/templates/project/admin/assets/images/toggle_tabs.png +0 -0
  308. data/templates/project/admin/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  309. data/templates/project/admin/assets/images/warning.png +0 -0
  310. data/templates/project/admin/assets/images/wrench.png +0 -0
  311. data/templates/project/admin/assets/images/wrench16.png +0 -0
  312. data/templates/project/admin/assets/js/ajaxupload.js +606 -0
  313. data/templates/project/admin/assets/js/colorpicker.js +455 -0
  314. data/templates/project/admin/assets/js/cookie.js +1 -0
  315. data/templates/project/admin/assets/js/jquery.maskedinput-1.2.2.js +252 -0
  316. data/templates/project/admin/assets/js/jquery.tipsy.js +241 -0
  317. data/templates/project/admin/assets/js/of-medialibrary-uploader.js +168 -0
  318. data/templates/project/admin/assets/js/smof.js +623 -0
  319. data/templates/{starter → project}/admin/classes/class.options-machine.php +0 -0
  320. data/templates/project/admin/front-end/options.php +77 -0
  321. data/templates/project/admin/functions/functions.admin.php +76 -0
  322. data/templates/project/admin/functions/functions.interface.php +232 -0
  323. data/templates/project/admin/functions/functions.load.php +14 -0
  324. data/templates/{starter → project}/admin/functions/functions.mediauploader.php +0 -0
  325. data/templates/project/admin/functions/functions.options.php +508 -0
  326. data/templates/project/admin/functions/functions.php +0 -0
  327. data/templates/project/admin/index.php +87 -0
  328. data/templates/project/admin/layouts/default.css +0 -0
  329. data/templates/project/admin/layouts/placebo.css +0 -0
  330. data/templates/project/archive.php +57 -0
  331. data/templates/{starter → project}/category.php +0 -0
  332. data/templates/project/comments.php +65 -0
  333. data/templates/{starter → project}/content-aside.php +0 -0
  334. data/templates/{starter → project}/content-image.php +0 -0
  335. data/templates/{starter → project}/content-link.php +0 -0
  336. data/templates/{starter → project}/content-none.php +0 -0
  337. data/templates/project/content-page.php +24 -0
  338. data/templates/{starter → project}/content-quote.php +0 -0
  339. data/templates/{starter → project}/content-status.php +0 -0
  340. data/templates/project/content.php +67 -0
  341. data/templates/{starter → project}/editor-style.scss +0 -0
  342. data/templates/project/footer.php +29 -0
  343. data/templates/project/functions.php +1233 -0
  344. data/templates/project/header.php +63 -0
  345. data/templates/project/images/bg/bg0.png +0 -0
  346. data/templates/project/images/bg/bg1.png +0 -0
  347. data/templates/project/images/bg/bg10.png +0 -0
  348. data/templates/project/images/bg/bg11.png +0 -0
  349. data/templates/project/images/bg/bg2.png +0 -0
  350. data/templates/project/images/bg/bg3.png +0 -0
  351. data/templates/project/images/bg/bg4.png +0 -0
  352. data/templates/project/images/bg/bg5.png +0 -0
  353. data/templates/project/images/bg/bg6.jpg +0 -0
  354. data/templates/project/images/bg/bg7.jpg +0 -0
  355. data/templates/project/images/bg/bg8.png +0 -0
  356. data/templates/project/images/bg/bg9.png +0 -0
  357. data/templates/project/index.php +19 -0
  358. data/templates/project/javascripts/app.js +6 -0
  359. data/templates/{starter → project/javascripts}/moderninzr.min.js +0 -0
  360. data/templates/project/languages/readme.txt +6 -0
  361. data/templates/project/license.txt +281 -0
  362. data/templates/{starter → project}/loop.php +0 -0
  363. data/templates/project/manifest.rb +131 -4
  364. data/templates/project/options.php +42 -0
  365. data/templates/project/page.php +29 -0
  366. data/templates/project/readme.txt +6 -1
  367. data/templates/project/screenshot.png +0 -0
  368. data/templates/project/search.php +31 -0
  369. data/templates/project/searchform.php +14 -0
  370. data/templates/project/sidebar.php +15 -0
  371. data/templates/project/single.php +31 -0
  372. data/templates/project/style.css +5 -0
  373. data/templates/{starter → project}/tag.php +0 -0
  374. data/templates/starter/404.php +42 -19
  375. data/templates/starter/README.md +41 -0
  376. data/templates/starter/archive.php +89 -49
  377. data/templates/starter/comments.php +43 -32
  378. data/templates/starter/content-page.php +12 -16
  379. data/templates/starter/content-single.php +59 -0
  380. data/templates/starter/content.php +52 -58
  381. data/templates/starter/footer.php +20 -22
  382. data/templates/starter/functions.php +60 -1156
  383. data/templates/starter/header.php +31 -52
  384. data/templates/starter/image.php +111 -0
  385. data/templates/starter/inc/custom-header.php +184 -0
  386. data/templates/starter/inc/extras.php +79 -0
  387. data/templates/starter/inc/template-tags.php +175 -0
  388. data/templates/starter/inc/theme-options/theme-options.php +306 -0
  389. data/templates/starter/index.php +41 -11
  390. data/templates/starter/javascripts/html5.js +6 -0
  391. data/templates/starter/javascripts/keyboard-image-navigation.js +14 -0
  392. data/templates/starter/javascripts/small-menu.js +39 -0
  393. data/templates/starter/languages/readme.txt +6 -0
  394. data/templates/starter/layouts/content-sidebar-sidebar.css +27 -0
  395. data/templates/starter/layouts/content-sidebar.css +25 -0
  396. data/templates/starter/layouts/sidebar-content-sidebar.css +27 -0
  397. data/templates/starter/layouts/sidebar-content.css +25 -0
  398. data/templates/starter/layouts/sidebar-sidebar-content.css +22 -0
  399. data/templates/starter/license.txt +281 -0
  400. data/templates/starter/manifest.rb +22 -110
  401. data/templates/starter/no-results.php +34 -0
  402. data/templates/starter/page.php +16 -14
  403. data/templates/starter/print.scss +1 -104
  404. data/templates/starter/rtl.css +17 -0
  405. data/templates/starter/screen.scss +653 -1
  406. data/templates/starter/screenshot.png +0 -0
  407. data/templates/starter/search.php +31 -21
  408. data/templates/starter/searchform.php +8 -9
  409. data/templates/starter/sidebar.php +29 -10
  410. data/templates/starter/single.php +24 -21
  411. data/templates/starter/style.css +10 -6
  412. metadata +401 -100
  413. data/templates/project/print.css +0 -4
  414. data/templates/starter/admin/functions/functions.options.php +0 -507
  415. data/templates/starter/app.js +0 -97
  416. data/templates/starter/options.php +0 -407
  417. data/templates/starter/readme.txt +0 -1
@@ -0,0 +1,194 @@
1
+ <?php
2
+
3
+ /**
4
+ * WooThemes Media Library-driven AJAX File Uploader Module (2010-11-05)
5
+ *
6
+ * Slightly modified for use in the Options Framework.
7
+ *
8
+ * @since 1.0.0
9
+ */
10
+
11
+ /**
12
+ * Sets up a custom post type to attach image to. This allows us to have
13
+ * individual galleries for different uploaders.
14
+ */
15
+
16
+ if ( ! function_exists( 'optionsframework_mlu_init' ) ) {
17
+ function optionsframework_mlu_init() {
18
+ register_post_type(
19
+ 'options', array(
20
+ 'labels' => array(
21
+ 'name' => __( 'Options' ),
22
+ ),
23
+ 'public' => true,
24
+ 'show_ui' => false,
25
+ 'capability_type' => 'post',
26
+ 'hierarchical' => false,
27
+ 'rewrite' => false,
28
+ 'supports' => array( 'title', 'editor' ),
29
+ 'query_var' => false,
30
+ 'can_export' => true,
31
+ 'show_in_nav_menus' => false,
32
+ )
33
+ );
34
+ }
35
+ }
36
+
37
+ /**
38
+ * Forces insert into post
39
+ */
40
+
41
+ add_filter( 'get_media_item_args', 'force_send' );
42
+ function force_send( $args ) {
43
+ $args['send'] = true;
44
+ return $args;
45
+ }
46
+
47
+ /**
48
+ * Adds the Thickbox CSS file and specific loading and button images to the header
49
+ * on the pages where this function is called.
50
+ */
51
+
52
+ if ( ! function_exists( 'optionsframework_mlu_css' ) ) {
53
+ function optionsframework_mlu_css() {
54
+ $_html = '';
55
+ $_html .= '<link rel="stylesheet" href="' . get_option( 'siteurl' ) . '/' . WPINC . '/js/thickbox/thickbox.css" type="text/css" media="screen" />' . "\n";
56
+ $_html .= '<script type="text/javascript">
57
+ var tb_pathToImage = "' . get_option( 'siteurl' ) . '/' . WPINC . '/js/thickbox/loadingAnimation.gif";
58
+ var tb_closeImage = "' . get_option( 'siteurl' ) . '/' . WPINC . '/js/thickbox/tb-close.png";
59
+ </script>' . "\n";
60
+
61
+ echo $_html;
62
+ }
63
+ }
64
+
65
+ /**
66
+ * Registers and enqueues (loads) the necessary JavaScript file for working with the
67
+ * Media Library-driven AJAX File Uploader Module.
68
+ */
69
+
70
+ if ( ! function_exists( 'optionsframework_mlu_js' ) ) {
71
+ function optionsframework_mlu_js() {
72
+ // Registers custom scripts for the Media Library AJAX uploader.
73
+ wp_register_script( 'of-medialibrary-uploader', ADMIN_DIR .'assets/js/of-medialibrary-uploader.js', array( 'jquery', 'thickbox' ) );
74
+ wp_enqueue_script( 'of-medialibrary-uploader' );
75
+ wp_enqueue_script( 'media-upload' );
76
+ }
77
+ }
78
+
79
+ /**
80
+ * Uses "silent" posts in the database to store relationships for images.
81
+ * This also creates the facility to collect galleries of, for example, logo images.
82
+ *
83
+ * Return: $_postid.
84
+ *
85
+ * If no "silent" post is present, one will be created with the type "optionsframework"
86
+ * and the post_name of "of-$_token".
87
+ *
88
+ * Example Usage:
89
+ * optionsframework_mlu_get_silentpost ( 'of_logo' );
90
+ */
91
+
92
+ if ( ! function_exists( 'optionsframework_mlu_get_silentpost' ) ) {
93
+ function optionsframework_mlu_get_silentpost( $_token ) {
94
+ global $wpdb;
95
+ $_id = 0;
96
+
97
+ // Check if the token is valid against a whitelist.
98
+ // $_whitelist = array( 'of_logo', 'of_custom_favicon', 'of_ad_top_image' );
99
+ // Sanitise the token.
100
+
101
+ $_token = strtolower( str_replace( ' ', '_', $_token ) );
102
+
103
+ // if ( in_array( $_token, $_whitelist ) ) {
104
+ if ( $_token ) {
105
+ // Tell the function what to look for in a post.
106
+ $_args = array( 'post_type' => 'options', 'post_name' => 'of-' . $_token, 'post_status' => 'draft', 'comment_status' => 'closed', 'ping_status' => 'closed' );
107
+
108
+ // Look in the database for a "silent" post that meets our criteria.
109
+ $query = 'SELECT ID FROM ' . $wpdb->posts . ' WHERE post_parent = 0';
110
+ foreach ( $_args as $k => $v ) {
111
+ $query .= ' AND ' . $k . ' = "' . $v . '"';
112
+ } // End FOREACH Loop
113
+
114
+ $query .= ' LIMIT 1';
115
+ $_posts = $wpdb->get_row( $query );
116
+
117
+ // If we've got a post, loop through and get it's ID.
118
+ if ( count( $_posts ) ) {
119
+ $_id = $_posts->ID;
120
+ }
121
+ else {
122
+ // If no post is present, insert one.
123
+ // Prepare some additional data to go with the post insertion.
124
+ $_words = explode( '_', $_token );
125
+ $_title = join( ' ', $_words );
126
+ $_title = ucwords( $_title );
127
+ $_post_data = array( 'post_title' => $_title );
128
+ $_post_data = array_merge( $_post_data, $_args );
129
+ $_id = wp_insert_post( $_post_data );
130
+ }
131
+ }
132
+ return $_id;
133
+ }
134
+ }
135
+
136
+ /**
137
+ * Trigger code inside the Media Library popup.
138
+ */
139
+
140
+ if ( ! function_exists( 'optionsframework_mlu_insidepopup' ) ) {
141
+ function optionsframework_mlu_insidepopup() {
142
+ if ( isset( $_REQUEST['is_optionsframework'] ) && $_REQUEST['is_optionsframework'] == 'yes' ) {
143
+ add_action( 'admin_head', 'optionsframework_mlu_js_popup' );
144
+ add_filter( 'media_upload_tabs', 'optionsframework_mlu_modify_tabs' );
145
+ }
146
+ }
147
+ }
148
+
149
+ if ( ! function_exists( 'optionsframework_mlu_js_popup' ) ) {
150
+ function optionsframework_mlu_js_popup() {
151
+ $_of_title = $_REQUEST['of_title'];
152
+ if ( ! $_of_title ) {
153
+ $_of_title = 'file';
154
+ } // End IF Statement
155
+ ?>
156
+ <script type="text/javascript">
157
+ jQuery(function($) {
158
+ jQuery.noConflict();
159
+
160
+ // Change the title of each tab to use the custom title text instead of "Media File".
161
+ $( 'h3.media-title' ).each (function () {
162
+ var current_title = $(this).html();
163
+ var new_title = current_title.replace( 'media file', '<?php echo $_of_title; ?>' );
164
+ $(this).html(new_title);
165
+ });
166
+
167
+ // Change the text of the "Insert into Post" buttons to read "Use this File".
168
+ $( '.savesend input.button[value*="Insert into Post"], .media-item #go_button' ).attr( 'value', 'Use this File' );
169
+
170
+ // Hide the "Insert Gallery" settings box on the "Gallery" tab.
171
+ $( 'div#gallery-settings' ).hide();
172
+
173
+ // Preserve the "is_optionsframework" parameter on the "delete" confirmation button.
174
+ $( '.savesend a.del-link' ).click (function () {
175
+ var continueButton = $(this).next( '.del-attachment' ).children( 'a.button[id*="del"]' );
176
+ var continueHref = continueButton.attr( 'href' );
177
+ continueHref = continueHref + '&is_optionsframework=yes';
178
+ continueButton.attr( 'href', continueHref );
179
+ });
180
+ });
181
+ </script>
182
+ <?php
183
+ }
184
+ }
185
+
186
+ /**
187
+ * Triggered inside the Media Library popup to modify the title of the "Gallery" tab.
188
+ */
189
+ if ( ! function_exists( 'optionsframework_mlu_modify_tabs' ) ) {
190
+ function optionsframework_mlu_modify_tabs( $tabs ) {
191
+ $tabs['gallery'] = str_replace( __( 'Gallery', 'foundation' ), __( 'Previously Uploaded', 'foundation' ), $tabs['gallery'] );
192
+ return $tabs;
193
+ }
194
+ }
@@ -0,0 +1,508 @@
1
+ <?php
2
+ add_action( 'init', 'of_options' );
3
+
4
+ if ( !function_exists( 'of_options' ) ) {
5
+ function of_options() {
6
+ // Access the WordPress Categories via an Array
7
+ $of_categories = array();
8
+ $of_categories_obj = get_categories( 'hide_empty=0' );
9
+ foreach ( $of_categories_obj as $of_cat ) {
10
+ $of_categories[$of_cat->cat_ID] = $of_cat->cat_name;
11
+ }
12
+ $categories_tmp = array_unshift( $of_categories, 'Select a category:' );
13
+
14
+ // Access the WordPress Pages via an Array
15
+ $of_pages = array();
16
+ $of_pages_obj = get_pages( 'sort_column=post_parent,menu_order' );
17
+ foreach ( $of_pages_obj as $of_page ) {
18
+ $of_pages[$of_page->ID] = $of_page->post_name; }
19
+ $of_pages_tmp = array_unshift( $of_pages, 'Select a page:' );
20
+
21
+ // Testing
22
+ $of_options_select = array( 'one', 'two', 'three', 'four', 'five', );
23
+ $of_options_radio = array( 'one' => 'One', 'two' => 'Two', 'three' => 'Three', 'four' => 'Four', 'five' => 'Five', );
24
+
25
+ // Sample Homepage blocks for the layout manager (sorter)
26
+ $of_options_homepage_blocks = array(
27
+ 'disabled' => array(
28
+ 'placebo' => 'placebo', //REQUIRED!
29
+ 'block_one' => 'Block One',
30
+ 'block_two' => 'Block Two',
31
+ 'block_three' => 'Block Three',
32
+ ),
33
+ 'enabled' => array(
34
+ 'placebo' => 'placebo', //REQUIRED!
35
+ 'block_four' => 'Block Four',
36
+ ),
37
+ );
38
+
39
+ // Stylesheets Reader
40
+ $alt_stylesheet_path = LAYOUT_PATH;
41
+ $alt_stylesheets = array();
42
+
43
+ if ( is_dir( $alt_stylesheet_path ) ) {
44
+ if ( $alt_stylesheet_dir = opendir( $alt_stylesheet_path ) ) {
45
+ while ( ( $alt_stylesheet_file = readdir( $alt_stylesheet_dir ) ) !== false ) {
46
+ if ( stristr( $alt_stylesheet_file, '.css' ) !== false ) {
47
+ $alt_stylesheets[] = $alt_stylesheet_file;
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+
54
+ //Background Images Reader
55
+ $bg_images_path = STYLESHEETPATH. '/images/bg/'; // change this to where you store your bg images
56
+ $bg_images_url = get_bloginfo( 'template_url' ).'/images/bg/'; // change this to where you store your bg images
57
+ $bg_images = array();
58
+
59
+ if ( is_dir( $bg_images_path ) ) {
60
+ if ( $bg_images_dir = opendir( $bg_images_path ) ) {
61
+ while ( ( $bg_images_file = readdir( $bg_images_dir ) ) !== false ) {
62
+ if ( stristr( $bg_images_file, '.png' ) !== false || stristr( $bg_images_file, '.jpg' ) !== false ) {
63
+ $bg_images[] = $bg_images_url . $bg_images_file;
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ /*-----------------------------------------------------------------------------------*/
70
+ /* TO DO: Add options/functions that use these */
71
+ /*-----------------------------------------------------------------------------------*/
72
+
73
+ //More Options
74
+ $uploads_arr = wp_upload_dir();
75
+ $all_uploads_path = $uploads_arr['path'];
76
+ $all_uploads = get_option( 'of_uploads' );
77
+ $other_entries = array( 'Select a number:', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', );
78
+ $body_repeat = array( 'no-repeat', 'repeat-x', 'repeat-y', 'repeat', );
79
+ $body_pos = array( 'top left', 'top center', 'top right', 'center left', 'center center', 'center right', 'bottom left', 'bottom center', 'bottom right', );
80
+
81
+ // Image Alignment radio box
82
+ $of_options_thumb_align = array( 'alignleft' => 'Left', 'alignright' => 'Right', 'aligncenter' => 'Center', );
83
+
84
+ // Image Links to Options
85
+ $of_options_image_link_to = array( 'image' => 'The Image', 'post' => 'The Post', );
86
+
87
+ /*-----------------------------------------------------------------------------------*/
88
+ /* The Options Array */
89
+ /*-----------------------------------------------------------------------------------*/
90
+
91
+ // Set the Options Array
92
+ global $of_options;
93
+ $of_options = array();
94
+
95
+ $of_options[] = array(
96
+ 'name' => 'Home Settings',
97
+ 'type' => 'heading',
98
+ );
99
+
100
+ $of_options[] = array(
101
+ 'name' => 'Hello there!',
102
+ 'desc' => '',
103
+ 'id' => 'introduction',
104
+ 'std' => '<h3 style="margin: 0 0 10px;">Welcome to the Options Framework demo.</h3> This is a slightly modified version of the original options framework by Devin Price with a couple of aesthetical improvements on the interface and some cool additional features. If you want to learn how to setup these options or just need general help on using it feel free to visit my blog at <a href="//aquagraphite.com/2011/09/29/slightly-modded-options-framework/">AquaGraphite.com</a>',
105
+ 'icon' => true,
106
+ 'type' => 'info',
107
+ );
108
+
109
+ $of_options[] = array(
110
+ 'name' => 'Media Uploader',
111
+ 'desc' => 'Upload images using the native media uploader, or define the URL directly',
112
+ 'id' => 'media_upload',
113
+ 'std' => '',
114
+ 'type' => 'media',
115
+ );
116
+
117
+ $of_options[] = array(
118
+ 'name' => 'Media Uploader Min',
119
+ 'desc' => 'Upload images using native media uploader. This is a min version, meaning it has no url to copy paste. Perfect for logo.',
120
+ 'id' => 'media_upload_2',
121
+ 'std' => '',
122
+ 'mod' => 'min',
123
+ 'type' => 'media',
124
+ );
125
+
126
+ $of_options[] = array(
127
+ 'name' => 'Homepage Layout Manager',
128
+ 'desc' => 'Organize how you want the layout to appear on the homepage',
129
+ 'id' => 'homepage_blocks',
130
+ 'std' => $of_options_homepage_blocks,
131
+ 'type' => 'sorter',
132
+ );
133
+
134
+ $of_options[] = array(
135
+ 'name' => 'Slider Options',
136
+ 'desc' => 'Unlimited slider with drag and drop sortings.',
137
+ 'id' => 'pingu_slider',
138
+ 'std' => '',
139
+ 'type' => 'slider',
140
+ );
141
+
142
+ $of_options[] = array(
143
+ 'name' => 'Background Images',
144
+ 'desc' => 'Select a background pattern.',
145
+ 'id' => 'custom_bg',
146
+ 'std' => $bg_images_url.'bg0.png',
147
+ 'type' => 'tiles',
148
+ 'options' => $bg_images,
149
+ );
150
+
151
+ $of_options[] = array(
152
+ 'name' => 'Typography',
153
+ 'desc' => 'Typography option with each property can be called individually.',
154
+ 'id' => 'custom_type',
155
+ 'std' => array( 'size' => '12px', 'style' => 'bold italic', ),
156
+ 'type' => 'typography',
157
+ );
158
+
159
+ $of_options[] = array(
160
+ 'name' => 'General Settings',
161
+ 'type' => 'heading',
162
+ );
163
+
164
+ $url = ADMIN_DIR . 'assets/images/';
165
+ $of_options[] = array(
166
+ 'name' => 'Main Layout',
167
+ 'desc' => 'Select main content and sidebar alignment. Choose between 1, 2 or 3 column layout.',
168
+ 'id' => 'layout',
169
+ 'std' => '2c-l-fixed.css',
170
+ 'type' => 'images',
171
+ 'options' => array(
172
+ '1col-fixed.css' => $url . '1col.png',
173
+ '2c-r-fixed.css' => $url . '2cr.png',
174
+ '2c-l-fixed.css' => $url . '2cl.png',
175
+ '3c-fixed.css' => $url . '3cm.png',
176
+ '3c-r-fixed.css' => $url . '3cr.png',
177
+ ),
178
+ );
179
+ $of_options[] = array(
180
+ 'name' => 'Custom Favicon',
181
+ 'desc' => 'Upload a 16px x 16px Png/Gif image that will represent your website\'s favicon.',
182
+ 'id' => 'custom_favicon',
183
+ 'std' => '',
184
+ 'type' => 'upload',
185
+ );
186
+
187
+ $of_options[] = array(
188
+ 'name' => 'Tracking Code',
189
+ 'desc' => 'Paste your Google Analytics (or other) tracking code here. This will be added into the footer template of your theme.',
190
+ 'id' => 'google_analytics',
191
+ 'std' => '',
192
+ 'type' => 'textarea',
193
+ );
194
+
195
+ $of_options[] = array(
196
+ 'name' => 'Footer Text',
197
+ 'desc' => 'You can use the following shortcodes in your footer text: [wp-link] [theme-link] [loginout-link] [blog-title] [blog-link] [the-year]',
198
+ 'id' => 'footer_text',
199
+ 'std' => 'Powered by [wp-link]. Built on the [theme-link].',
200
+ 'type' => 'textarea',
201
+ );
202
+
203
+ $of_options[] = array(
204
+ 'name' => 'Styling Options',
205
+ 'type' => 'heading',
206
+ );
207
+
208
+ $of_options[] = array(
209
+ 'name' => 'Theme Stylesheet',
210
+ 'desc' => 'Select your themes alternative color scheme.',
211
+ 'id' => 'alt_stylesheet',
212
+ 'std' => 'default.css',
213
+ 'type' => 'select',
214
+ 'options' => $alt_stylesheets,
215
+ );
216
+
217
+ $of_options[] = array(
218
+ 'name' => 'Body Background Color',
219
+ 'desc' => 'Pick a background color for the theme (default: #fff).',
220
+ 'id' => 'body_background',
221
+ 'std' => '',
222
+ 'type' => 'color',
223
+ );
224
+
225
+ $of_options[] = array(
226
+ 'name' => 'Header Background Color',
227
+ 'desc' => 'Pick a background color for the header (default: #fff).',
228
+ 'id' => 'header_background',
229
+ 'std' => '',
230
+ 'type' => 'color',
231
+ );
232
+
233
+ $of_options[] = array(
234
+ 'name' => 'Footer Background Color',
235
+ 'desc' => 'Pick a background color for the footer (default: #fff).',
236
+ 'id' => 'footer_background',
237
+ 'std' => '',
238
+ 'type' => 'color',
239
+ );
240
+
241
+ $of_options[] = array(
242
+ 'name' => 'Body Font',
243
+ 'desc' => 'Specify the body font properties',
244
+ 'id' => 'body_font',
245
+ 'std' => array( 'size' => '12px', 'face' => 'arial', 'style' => 'normal', 'color' => '#000000' ),
246
+ 'type' => 'typography',
247
+ );
248
+
249
+ $of_options[] = array(
250
+ 'name' => 'Custom CSS',
251
+ 'desc' => 'Quickly add some CSS to your theme by adding it to this block.',
252
+ 'id' => 'custom_css',
253
+ 'std' => '',
254
+ 'type' => 'textarea',
255
+ );
256
+
257
+ $of_options[] = array(
258
+ 'name' => 'Example Options',
259
+ 'type' => 'heading',
260
+ );
261
+
262
+ $of_options[] = array(
263
+ 'name' => 'Typography',
264
+ 'desc' => 'This is a typographic specific option.',
265
+ 'id' => 'typography',
266
+ 'std' => array(
267
+ 'size' => '12px',
268
+ 'face' => 'verdana',
269
+ 'style' => 'bold italic',
270
+ 'color' => '#123456',
271
+ ),
272
+ 'type' => 'typography',
273
+ );
274
+
275
+ $of_options[] = array(
276
+ 'name' => 'Border',
277
+ 'desc' => 'This is a border specific option.',
278
+ 'id' => 'border',
279
+ 'std' => array(
280
+ 'width' => '2',
281
+ 'style' => 'dotted',
282
+ 'color' => '#444444',
283
+ ),
284
+ 'type' => 'border',
285
+ );
286
+
287
+ $of_options[] = array(
288
+ 'name' => 'Colorpicker',
289
+ 'desc' => 'No color selected.',
290
+ 'id' => 'example_colorpicker',
291
+ 'std' => '',
292
+ 'type' => 'color',
293
+ );
294
+
295
+ $of_options[] = array(
296
+ 'name' => 'Colorpicker (default #2098a8)',
297
+ 'desc' => 'Color selected.',
298
+ 'id' => 'example_colorpicker_2',
299
+ 'std' => '#2098a8',
300
+ 'type' => 'color',
301
+ );
302
+
303
+ $of_options[] = array(
304
+ 'name' => 'Upload',
305
+ 'desc' => 'An image uploader without text input.',
306
+ 'id' => 'uploader',
307
+ 'std' => '',
308
+ 'type' => 'upload',
309
+ );
310
+
311
+ $of_options[] = array(
312
+ 'name' => 'Upload Min',
313
+ 'desc' => 'An image uploader with text input.',
314
+ 'id' => 'uploader2',
315
+ 'std' => '',
316
+ 'mod' => 'min',
317
+ 'type' => 'upload',
318
+ );
319
+
320
+ $of_options[] = array(
321
+ 'name' => 'Input Text',
322
+ 'desc' => 'A text input field.',
323
+ 'id' => 'test_text',
324
+ 'std' => 'Default Value',
325
+ 'type' => 'text',
326
+ );
327
+
328
+ $of_options[] = array(
329
+ 'name' => 'Input Checkbox (false)',
330
+ 'desc' => 'Example checkbox with false selected.',
331
+ 'id' => 'example_checkbox_false',
332
+ 'std' => 0,
333
+ 'type' => 'checkbox',
334
+ );
335
+
336
+ $of_options[] = array(
337
+ 'name' => 'Input Checkbox (true)',
338
+ 'desc' => 'Example checkbox with true selected.',
339
+ 'id' => 'example_checkbox_true',
340
+ 'std' => 1,
341
+ 'type' => 'checkbox',
342
+ );
343
+
344
+ $of_options[] = array(
345
+ 'name' => 'Normal Select',
346
+ 'desc' => 'Normal Select Box.',
347
+ 'id' => 'example_select',
348
+ 'std' => 'three',
349
+ 'type' => 'select',
350
+ 'options' => $of_options_select,
351
+ );
352
+
353
+ $of_options[] = array(
354
+ 'name' => 'Mini Select',
355
+ 'desc' => 'A mini select box.',
356
+ 'id' => 'example_select_2',
357
+ 'std' => 'two',
358
+ 'type' => 'select2',
359
+ 'class' => 'mini', //mini, tiny, small
360
+ 'options' => $of_options_radio,
361
+ );
362
+
363
+ $of_options[] = array(
364
+ 'name' => 'Input Radio (one)',
365
+ 'desc' => 'Radio select with default of "one".',
366
+ 'id' => 'example_radio',
367
+ 'std' => 'one',
368
+ 'type' => 'radio',
369
+ 'options' => $of_options_radio,
370
+ );
371
+
372
+ $url = ADMIN_DIR . 'assets/images/';
373
+ $of_options[] = array(
374
+ 'name' => 'Image Select',
375
+ 'desc' => 'Use radio buttons as images.',
376
+ 'id' => 'images',
377
+ 'std' => 'warning.css',
378
+ 'type' => 'images',
379
+ 'options' => array(
380
+ 'warning.css' => $url . 'warning.png',
381
+ 'accept.css' => $url . 'accept.png',
382
+ 'wrench.css' => $url . 'wrench.png',
383
+ ),
384
+ );
385
+
386
+ $of_options[] = array(
387
+ 'name' => 'Textarea',
388
+ 'desc' => 'Textarea description.',
389
+ 'id' => 'example_textarea',
390
+ 'std' => 'Default Text',
391
+ 'type' => 'textarea',
392
+ );
393
+
394
+ $of_options[] = array(
395
+ 'name' => 'Multicheck',
396
+ 'desc' => 'Multicheck description.',
397
+ 'id' => 'example_multicheck',
398
+ 'std' => array( 'three', 'two', ),
399
+ 'type' => 'multicheck',
400
+ 'options' => $of_options_radio,
401
+ );
402
+
403
+ $of_options[] = array(
404
+ 'name' => 'Select a Category',
405
+ 'desc' => 'A list of all the categories being used on the site.',
406
+ 'id' => 'example_category',
407
+ 'std' => 'Select a category:',
408
+ 'type' => 'select',
409
+ 'options' => $of_categories,
410
+ );
411
+
412
+ //Advanced Settings
413
+ $of_options[] = array(
414
+ 'name' => 'Advanced Settings',
415
+ 'type' => 'heading',
416
+ );
417
+
418
+ $of_options[] = array(
419
+ 'name' => 'Folding Checkbox',
420
+ 'desc' => 'This checkbox will hide/show a couple of options group. Try it out!',
421
+ 'id' => 'offline',
422
+ 'std' => 0,
423
+ 'folds' => 1,
424
+ 'type' => 'checkbox',
425
+ );
426
+
427
+ $of_options[] = array(
428
+ 'name' => 'Hidden option 1',
429
+ 'desc' => 'This is a sample hidden option 1',
430
+ 'id' => 'hidden_option_1',
431
+ 'std' => 'Hi, I\'m just a text input',
432
+ 'fold' => 'offline', /* the checkbox hook */
433
+ 'type' => 'text',
434
+ );
435
+
436
+ $of_options[] = array(
437
+ 'name' => 'Hidden option 2',
438
+ 'desc' => 'This is a sample hidden option 2',
439
+ 'id' => 'hidden_option_2',
440
+ 'std' => 'Hi, I\'m just a text input',
441
+ 'fold' => 'offline', /* the checkbox hook */
442
+ 'type' => 'text',
443
+ );
444
+
445
+ $of_options[] = array(
446
+ 'name' => 'Hello there!',
447
+ 'desc' => '',
448
+ 'id' => 'introduction_2',
449
+ 'std' => '<h3 style="margin: 0 0 10px;">Grouped Options.</h3> You can group a bunch of options under a single heading by removing the "name" value from the options array except for the first option in the group.',
450
+ 'icon' => true,
451
+ 'type' => 'info',
452
+ );
453
+
454
+ $of_options[] = array(
455
+ 'name' => 'Some pretty colors for you',
456
+ 'desc' => 'Color 1.',
457
+ 'id' => 'example_colorpicker_3',
458
+ 'std' => '#2098a8',
459
+ 'type' => 'color',
460
+ );
461
+
462
+ $of_options[] = array(
463
+ 'name' => '',
464
+ 'desc' => 'Color 2.',
465
+ 'id' => 'example_colorpicker_4',
466
+ 'std' => '#2098a8',
467
+ 'type' => 'color',
468
+ );
469
+
470
+ $of_options[] = array(
471
+ 'name' => '',
472
+ 'desc' => 'Color 3.',
473
+ 'id' => 'example_colorpicker_5',
474
+ 'std' => '#2098a8',
475
+ 'type' => 'color',
476
+ );
477
+
478
+ $of_options[] = array(
479
+ 'name' => '',
480
+ 'desc' => 'Color 4.',
481
+ 'id' => 'example_colorpicker_6',
482
+ 'std' => '#2098a8',
483
+ 'type' => 'color',
484
+ );
485
+
486
+ // Backup Options
487
+ $of_options[] = array(
488
+ 'name' => 'Backup Options',
489
+ 'type' => 'heading',
490
+ );
491
+
492
+ $of_options[] = array(
493
+ 'name' => 'Backup and Restore Options',
494
+ 'id' => 'of_backup',
495
+ 'std' => '',
496
+ 'type' => 'backup',
497
+ 'desc' => 'You can use the two buttons below to backup your current options, and then restore it back at a later time. This is useful if you want to experiment on the options but would like to keep the old settings in case you need it back.',
498
+ );
499
+
500
+ $of_options[] = array(
501
+ 'name' => 'Transfer Theme Options Data',
502
+ 'id' => 'of_transfer',
503
+ 'std' => '',
504
+ 'type' => 'transfer',
505
+ 'desc' => 'You can tranfer the saved options data between different installs by copying the text inside the text box. To import data from another install, replace the data in the text box with the one from another install and click "Import Options".',
506
+ );
507
+ }
508
+ }