PageRenderTime 59ms CodeModel.GetById 31ms RepoModel.GetById 0ms app.codeStats 1ms

/config/config_options.php

https://github.com/pagelines/iBlogPro4
PHP | 661 lines | 641 code | 20 blank | 0 comment | 9 complexity | a1e67f838349fcdfb545a42e499ecf75 MD5 | raw file
  1. <?php
  2. function get_option_array(){
  3. $default_options = array(
  4. 'header_and_nav' => array(
  5. 'custom_header' => array(
  6. 'default' => THEME_IMAGES.'/logo-iblogpro.png',
  7. 'version_set_default' => 'pro',
  8. 'type' => 'image_url',
  9. 'imagepreview' => '200',
  10. 'title' => 'Custom Header Image',
  11. 'shortexp' => 'Input Full URL to your custom header or logo image.',
  12. 'exp' => 'Optional way to replace "heading" and "description" text for your website ' .
  13. 'with an image.'
  14. ),
  15. 'enable_drop_down' => array(
  16. 'version' => 'pro',
  17. 'default' => false,
  18. 'type' => 'check',
  19. 'inputlabel' => 'Enable Drop Down Navigation?',
  20. 'title' => 'Drop Down Navigation',
  21. 'shortexp' => 'Enable universal drop down navigation',
  22. 'exp' => 'Checking this option will create drop down menus for all child pages when ' .
  23. 'users hover over main navigation items.'
  24. ),
  25. 'nav_home_image' => array(
  26. 'version' => 'pro',
  27. 'default' => THEME_IMAGES.'/home-icon-trans.png',
  28. 'type' => 'image_url',
  29. 'imagepreview' => '24',
  30. 'inputlabel' => 'Navigation Home Image URL',
  31. 'title' => 'Navigation Home Icon',
  32. 'shortexp' => 'Optionally replace the home icon in your navigation',
  33. 'exp' => 'Use this option to replace the home icon image in your navigation.<br/><br/> Default image size is <strong>26px high</strong> by <strong>24px wide</strong>.'
  34. ),
  35. 'hide_sub_header' => array(
  36. 'version' => 'pro',
  37. 'default' => false,
  38. 'type' => 'check',
  39. 'inputlabel' => 'Hide Sub Header?',
  40. 'title' => 'Hide Static Sub Header (Subnav)',
  41. 'shortexp' => 'Removes the sub header that includes the subnav.',
  42. 'exp' => 'This option can remove redundancy in navigation when using drop downs. Be ' .
  43. 'careful as this option might inadvertantly make your site harder and less ' .
  44. 'intuitive to navigate.'
  45. ),
  46. 'subnav_categories' => array(
  47. 'default' => '',
  48. 'type' => 'text',
  49. 'inputlabel' => 'Category Subnav Items (Comma Seperated)',
  50. 'title' => 'Index (Posts Page) Categories List',
  51. 'shortexp' => 'Enter Category IDs to show specific categories in the subnav area on the ' .
  52. 'posts page.',
  53. 'exp' => 'This option will show category links on the posts page and categories pages. ' .
  54. 'Enter comma seperated category IDs.<br/><br/>For example, <strong>12, 8, 21</strong> ' .
  55. 'for categories with those IDs in WordPress.'
  56. ),
  57. 'hidesearch' => array(
  58. 'version' => 'pro',
  59. 'default' => false,
  60. 'type' => 'check',
  61. 'inputlabel' => 'Hide search on top of theme?',
  62. 'title' => 'Hide Search',
  63. 'shortexp' => 'Remove the search field from the top of theme (in sub header and top of sidebar)',
  64. 'exp' => 'Removes the search field from the sub nav and sidebar.'
  65. ),
  66. 'rsslink' => array(
  67. 'default' => true,
  68. 'optionicon' => THEME_IMAGES.'/iphone/rss.png',
  69. 'type' => 'check',
  70. 'inputlabel' => 'Display the Blog RSS icon and link?',
  71. 'title' => 'News/Blog RSS Icon',
  72. 'shortexp' => 'Places News/Blog RSS icon in your header',
  73. 'exp' => ''
  74. ),
  75. 'commentslink' => array(
  76. 'version' => 'pro',
  77. 'default' => false,
  78. 'optionicon' => THEME_IMAGES.'/iphone/comments.png',
  79. 'type' => 'check',
  80. 'inputlabel' => 'Display the Comments RSS icon and link?',
  81. 'title' => 'Comments RSS Icon',
  82. 'shortexp' => 'Places comments RSS icon in your header',
  83. 'exp' => ''
  84. ),
  85. 'facebooklink' => array(
  86. 'version' => 'pro',
  87. 'default' => '',
  88. 'optionicon' => THEME_IMAGES.'/iphone/facebook.png',
  89. 'type' => 'text',
  90. 'inputlabel' => 'Your Facebook Profile URL',
  91. 'title' => 'Facebook Profile Link',
  92. 'shortexp' => 'Places Facebook icon in your header',
  93. 'exp' => ''
  94. ),
  95. 'twitterlink' => array(
  96. 'version' => 'pro',
  97. 'default' => '',
  98. 'optionicon' => THEME_IMAGES.'/iphone/twitter.png',
  99. 'type' => 'text',
  100. 'inputlabel' => 'Your Twitter Profile URL',
  101. 'title' => 'Twitter Profile Link',
  102. 'shortexp' => 'Places Twitter icon in your header',
  103. 'exp' => 'This is the full URL not the username as above.'
  104. ),
  105. 'linkedinlink' => array(
  106. 'version' => 'pro',
  107. 'default' => '',
  108. 'optionicon' => THEME_IMAGES.'/iphone/linkedin.png',
  109. 'type' => 'text',
  110. 'inputlabel' => 'Your LinkedIn Profile URL',
  111. 'title' => 'LinkedIn Profile Link',
  112. 'shortexp' => 'Places LinkedIn icon in your header',
  113. 'exp' => ''
  114. ),
  115. 'emaillink' => array(
  116. 'version' => 'pro',
  117. 'default' => '',
  118. 'optionicon' => THEME_IMAGES.'/iphone/mail.png',
  119. 'type' => 'text',
  120. 'inputlabel' => 'Target URL',
  121. 'title' => 'Mail Icon Link',
  122. 'shortexp' => 'Places mail icon with link in your header',
  123. 'exp' => ''
  124. ),
  125. 'maplink' => array(
  126. 'version' => 'pro',
  127. 'default' => '',
  128. 'optionicon' => THEME_IMAGES.'/iphone/map.png',
  129. 'type' => 'text',
  130. 'inputlabel' => 'Target URL',
  131. 'title' => 'Map Icon Link',
  132. 'shortexp' => 'Places map icon with link in your header',
  133. 'exp' => ''
  134. )
  135. ),
  136. 'pages_and_posts' => array(
  137. 'pagetitles' => array(
  138. 'default' => true,
  139. 'type' => 'check',
  140. 'inputlabel' => 'Show WP titles on pages?',
  141. 'title' => 'WP Page Titles',
  142. 'shortexp' => 'Show default WordPress titles on pages.',
  143. 'exp' => 'This option adds the default titles that you set for pages in the admin.'
  144. ),
  145. 'authorinfo' => array(
  146. 'version' => 'pro',
  147. 'default' => '',
  148. 'type' => 'check',
  149. 'inputlabel' => 'Show author info in posts?',
  150. 'title' => 'Author Info',
  151. 'shortexp' => 'Show author information on the bottom of posts.',
  152. 'exp' => 'This option adds a small "about the author" box on the bottom of posts.'
  153. ),
  154. 'pl_postthumbs' => array(
  155. 'version' => 'pro',
  156. 'default' => 'all',
  157. 'type' => 'radio',
  158. 'selectvalues' => array(
  159. 'blog' => 'Only on blog pages and search',
  160. 'single'=> 'Only on single post pages',
  161. 'all' => 'All blog/post pages',
  162. 'hide' => 'Don\'t show',
  163. ),
  164. 'title' => 'Post Thumbnail Placement',
  165. 'shortexp' => 'Where should the theme use post thumbnails?',
  166. 'exp' => 'You can choose between on the blog or articles page, on single posts, or both.'
  167. ),
  168. 'pl_postexcerpts' => array(
  169. 'version' => 'pro',
  170. 'default' => 'blog',
  171. 'type' => 'radio',
  172. 'selectvalues' => array(
  173. 'blog' => 'Only on blog pages and search',
  174. 'single'=> 'Only on single post pages',
  175. 'all' => 'All blog/post pages',
  176. 'hide' => 'Don\'t show',
  177. ),
  178. 'title' => 'Post Excerpt Placement',
  179. 'shortexp' => 'Where should the theme use post excerpts?',
  180. 'exp' => 'This option helps you control where post excerpts are displayed.<br/><br/> <strong>About:</strong> Excerpts are small summaries of articles filled out when creating a post.'
  181. ),
  182. 'pl_postcontent' => array(
  183. 'version' => 'pro',
  184. 'default' => 'single',
  185. 'type' => 'radio',
  186. 'selectvalues' => array(
  187. 'single' => 'Show full content on single pages only',
  188. 'all'=>'Show full content on all blog pages',
  189. ),
  190. 'title' => 'Full Post Content Placement',
  191. 'shortexp' => 'Where should the theme place the full content of posts?',
  192. 'exp' => 'Choose where the full content of posts is displayed. Choose between all posts pages or just single post pages (i.e. posts pages can just show excerpts or titles).'
  193. ),
  194. 'featureblog' => array(
  195. 'version' => 'pro',
  196. 'default' => false,
  197. 'type' => 'check',
  198. 'inputlabel' => 'Show feature template on posts page?',
  199. 'title' => 'Features On Blog/Posts Page',
  200. 'shortexp' => 'Show the features template on your blog or posts page.',
  201. 'exp' => 'Select this option to show features on your main posts or blog page.'
  202. ),
  203. 'post_footer_link' => array(
  204. 'default' => 'leave_response',
  205. 'type' => 'select',
  206. 'selectvalues' => array(
  207. 'post_link'=>'Point Link To Post "Single" Page',
  208. 'leave_response' => 'Point Link To Post Responses',
  209. 'hide' => 'Hide Link On Posts Pages',
  210. 'always_social' => 'Show Sharing Or "Meme" Links Instead'
  211. ),
  212. 'inputlabel' => 'Select Post Footer Link Location',
  213. 'title' => 'Post Footer Link On Posts Page',
  214. 'shortexp' => 'Where should the post footer link point to?',
  215. 'exp' => "This option allows you to choose where the post footer link points to."
  216. ),
  217. 'post_footer_text' => array(
  218. 'default' => 'Leave A Response',
  219. 'type' => 'text',
  220. 'inputlabel' => 'Post Footer Link Text',
  221. 'title' => 'Post Footer Link Text',
  222. 'shortexp' => 'The text for the post footer link',
  223. 'exp' => "This sets the text for the link on the bottom of posts on pages where multiple posts are shown."
  224. ),
  225. 'metacolor' => array(
  226. 'version' => 'pro',
  227. 'default' => '',
  228. 'type' => 'text_small',
  229. 'inputlabel' => 'Hex Code:',
  230. 'title' => 'Post Meta Bar Background Color',
  231. 'shortexp' => 'The background color of your post meta bar',
  232. 'exp' => 'This option controls the background color of the bar with category, date, and ' .
  233. 'author in posts.'
  234. ),
  235. 'metacolortext' => array(
  236. 'version' => 'pro',
  237. 'default' => '',
  238. 'type' => 'text_small',
  239. 'inputlabel' => 'Hex Code:',
  240. 'title' => 'Post Meta Bar Text Color',
  241. 'shortexp' => 'The text color in your post meta bar',
  242. 'exp' => 'This option controls the text color in the bar with category, date, and author in posts'
  243. ),
  244. 'metacolorlink' => array(
  245. 'version' => 'pro',
  246. 'default' => '',
  247. 'type' => 'text_small',
  248. 'inputlabel' => 'Hex Code:',
  249. 'title' => 'Post Meta Bar Link Color',
  250. 'shortexp' => 'The link color in your post meta bar',
  251. 'exp' => 'This option controls the link color in the bar with category, date, and author in posts'
  252. ),
  253. 'post_footer_social_text' => array(
  254. 'default' => 'If you enjoyed this article, please consider sharing it!',
  255. 'type' => 'text',
  256. 'inputlabel' => 'Post Footer Social Links Text',
  257. 'title' => 'Post Footer Social Links Text',
  258. 'shortexp' => 'The text next to your social icons',
  259. 'exp' => "Set the text next to your social links shown on single post pages or on all " .
  260. "posts pages if the post footer link is set to 'always sharing links'."
  261. ),
  262. 'post_footer_share_links' => array(
  263. 'default' => '',
  264. 'type' => 'check_multi',
  265. 'selectvalues'=> array(
  266. 'share_facebook'=> array('inputlabel'=>'Facebook Sharing Icon', 'default'=> true),
  267. 'share_twitter'=> array('inputlabel'=>'Twitter Sharing Icon', 'default'=> true),
  268. 'share_delicious' => array('inputlabel'=>'Del.icio.us Sharing Icon', 'default'=> true),
  269. 'share_mixx' => array('inputlabel'=>'Mixx Sharing Icon', 'default'=> false),
  270. 'share_digg' => array('inputlabel'=>'Digg Sharing Icon', 'default'=> true),
  271. 'share_stumbleupon' => array('inputlabel'=>'StumbleUpon Sharing Icon', 'default'=> false)
  272. ),
  273. 'inputlabel' => 'Select Which Share Links To Show',
  274. 'title' => 'Post Footer Sharing Icons',
  275. 'shortexp' => 'Select Which To Show',
  276. 'exp' => "Select which icons you would like to show in your post footer when sharing " .
  277. "links are shown."
  278. )
  279. ),
  280. 'sidebar_options' => array(
  281. 'the_sidebar' => array(
  282. 'version' => 'pro',
  283. 'default' => 'default',
  284. 'type' => 'radio',
  285. 'selectvalues'=> array(
  286. 'default'=> 'Flow Sidebar',
  287. 'accordion' => 'Accordion Sidebar',
  288. 'dragdrop' => 'Drag and Drop Sidebar'
  289. ),
  290. 'inputlabel' => 'Select Sidebar (optional)',
  291. 'title' => 'Default Sidebar',
  292. 'shortexp' => 'Select the default and posts page sidebar mode',
  293. 'exp' => 'Each sidebar has its own visual style. See the theme demo for examples of each.'
  294. ),
  295. 'lower_sidebar' => array(
  296. 'version' => 'pro',
  297. 'default' => true,
  298. 'type' => 'check',
  299. 'inputlabel' => 'Show lower sidebar by default?',
  300. 'title' => 'Lower Sidebar Positioning',
  301. 'shortexp' => 'Show the lower sidebar by default and on your blog or posts page?',
  302. 'exp' => 'Select this option to show the lower sidebar beneath your primary sidebar; on your main posts or blog page.'
  303. ),
  304. 'sideicons' => array(
  305. 'version' => 'pro',
  306. 'default' => false,
  307. 'type' => 'check',
  308. 'inputlabel' => 'Display "mini" list icons in sidebar widgets?',
  309. 'title' => 'Sidebar List Icons',
  310. 'shortexp' => 'Adds mini icons next to list elements in sidebars',
  311. 'exp' => "Displays mini icons in your sidebar for standard widgets. To use your own replace the icons located in the 'images'>'icons' folder"
  312. ),
  313. 'greeting' => array(
  314. 'default' => "Hi! Welcome to ".SITENAME."!",
  315. 'type' => 'text',
  316. 'inputlabel' => 'Greeting Text',
  317. 'title' => 'Welcome Heading',
  318. 'shortexp' => 'Your main greeting heading in the sidebar',
  319. 'exp' => 'The greeting title text on your site. Format with HTML (e.g. paragraph tags, ' .
  320. 'line breaks, img tags etc..)'
  321. ),
  322. 'welcomemessage' => array(
  323. 'default' => "Thanks for dropping by! Feel free to join the discussion by leaving " .
  324. "comments, and stay updated by subscribing to the <a href='".RSSURL."'>RSS feed</a>.",
  325. 'layout' => 'full',
  326. 'type' => 'textarea',
  327. 'inputlabel' => 'Your Welcome Message',
  328. 'title' => 'Welcome Message',
  329. 'shortexp' => 'Insert your welcome message',
  330. 'exp' => 'The welcome text (underneath your greeting) on your site. Format with HTML (e.g. ' .
  331. 'paragraph tags, line breaks, img tags etc..)'
  332. ),
  333. 'welcomeall' => array(
  334. 'version' => 'pro',
  335. 'default' => '',
  336. 'type' => 'check',
  337. 'inputlabel' => 'Place on all pages?',
  338. 'title' => 'Welcome Message Placement',
  339. 'shortexp' => 'Place the welcome message on your posts page or all pages',
  340. 'exp' => 'By default the welcome message only shows up on your main news/blog page, check ' .
  341. 'this option if you want it on all pages.'
  342. ),
  343. 'sidebar_no_default' => array(
  344. 'default' => '',
  345. 'type' => 'check',
  346. 'inputlabel' => 'Hide Sidebars When Empty (no widgets)',
  347. 'title' => 'Remove Default Sidebars When Empty',
  348. 'shortexp' => 'Hide default sidebars when sidebars have no widgets in them',
  349. 'exp' => 'This allows you to remove sidebars completely when they have no widgets in them.'
  350. ),
  351. 'accordionjs' => array(
  352. 'version' => 'pro',
  353. 'default' => true,
  354. 'type' => 'check',
  355. 'inputlabel' => 'Activate accordion effect',
  356. 'title' => 'Activate accordion',
  357. 'shortexp' => 'Activate or deactivate the accordion functionality',
  358. 'exp' => ''
  359. ),
  360. 'accordion_autoheight' => array(
  361. 'version' => 'pro',
  362. 'default' => false,
  363. 'type' => 'check',
  364. 'inputlabel' => 'Enable accordion autoheight',
  365. 'title' => 'Accordion Autoheight',
  366. 'shortexp' => 'Set the functionality of the accordion height',
  367. 'exp' => 'The autoheight option allows the accordion to either stay at a constant height (defined by the tallest element) or adjust to the height of the selected widget'
  368. ),
  369. 'accordion_active' => array(
  370. 'version' => 'pro',
  371. 'default' => 0,
  372. 'type' => 'text_small',
  373. 'inputlabel' => 'Default "active" accordion widget',
  374. 'title' => 'Default Active Accordion Widget',
  375. 'shortexp' => 'Which widget is open on page load',
  376. 'exp' => "By default this is set to '0' which means the first widget is selected. Set to 1 for the second and so on..."
  377. ),
  378. ),
  379. 'footer_options' => array(
  380. 'bottom_sidebars' => array(
  381. 'version' => 'pro',
  382. 'default' => true,
  383. 'type' => 'check',
  384. 'inputlabel' => 'Show widgetized footer sidebars?',
  385. 'title' => 'Show sidebars above footer',
  386. 'shortexp' => 'Show the three widgetized sidebars above your footer',
  387. 'exp' => 'This enables three widgetized sidebars above your footer that can be ' .
  388. 'customized in the appearance > widgets panel in the admin'
  389. ),
  390. 'footer_logo' => array(
  391. 'version' => 'pro',
  392. 'default' => THEME_IMAGES.'/logo-iblogpro-small.png',
  393. 'type' => 'image_url',
  394. 'imagepreview' => '80',
  395. 'inputlabel' => 'Footer logo Image Url',
  396. 'title' => 'Footer Logo',
  397. 'shortexp' => 'Show a logo in the footer',
  398. 'exp' => 'Add the full url of an image for use in the footer. Recommended size: 140px by 140px.'
  399. ),
  400. 'twitfooter' => array(
  401. 'version' => 'pro',
  402. 'default' => true,
  403. 'type' => 'check',
  404. 'inputlabel' => 'Show twitter entry above footer',
  405. 'title' => 'Twitter Entry in Footer',
  406. 'shortexp' => 'Show a Twitter entry above your footer',
  407. 'exp' => 'Shows the latest tweet above your footer.<br/><br/> <strong>Note:</strong> Your twitter account must be added underneath global options.'
  408. ),
  409. 'terms' => array(
  410. 'default' => '&copy; '.date('Y').' '.SITENAME,
  411. 'type' => 'textarea',
  412. 'inputlabel' => 'Terms line in footer:',
  413. 'title' => 'Site Terms Statement',
  414. 'shortexp' => 'A line in your footer for "terms and conditions text" or similar',
  415. 'exp' => "It's sometimes a good idea to give your users a terms and conditions " .
  416. "statement so they know how they should use your service or content."
  417. )
  418. ),
  419. 'text_options' => array(
  420. 'fontreplacement' => array(
  421. 'version' => 'pro',
  422. 'default' => true,
  423. 'type' => 'check',
  424. 'inputlabel' => 'Use Cufon font replacement?',
  425. 'title' => 'Use Cufon Font Replacement',
  426. 'shortexp' => 'Use a special font replacement technique for certain text',
  427. 'exp' => 'Cufon is a special technique for allowing you to use fonts outside of the 10 or so "web-safe" fonts. <br/><br/>' .
  428. 'This theme is equipped to use it. Select this option to enable it. Visit the <a href="http://cufon.shoqolate.com/generate/">Cufon site</a>.'
  429. ),
  430. 'font_file' => array(
  431. 'version' => 'pro',
  432. 'default' => THEME_JS.'/Carto.font.js',
  433. 'type' => 'text',
  434. 'inputlabel' => 'Cufon replacement font file URL',
  435. 'title' => 'Replacement Font File URL',
  436. 'shortexp' => 'The font file used to replace text.',
  437. 'exp' => 'Use the <a href="http://cufon.shoqolate.com/generate/">Cufon site</a> to generate a font file for use with this theme. Place it in your theme folder and add the full URL to it here. The default font is CartoGothic.'
  438. ),
  439. 'replace_font' => array(
  440. 'version' => 'pro',
  441. 'default' => '.site-description, .fcontent .fsub, .fcontent .ftitle, .pagetitle, .footer-site-title',
  442. 'type' => 'text',
  443. 'layout' => 'full',
  444. 'inputlabel' => 'Additional elements for font replacement',
  445. 'title' => 'Additional CSS elements for font replacement',
  446. 'shortexp' => 'Add selectors of elements you would like replaced (comma separated).',
  447. 'exp' => 'Use standard CSS selectors (separated by commas) to replace them with your Cufon font.<br/> Note: Font replacement must be enabled.'
  448. ),
  449. 'headercolor' => array(
  450. 'default' => '',
  451. 'type' => 'text_small',
  452. 'inputlabel' => 'Hex Code',
  453. 'title' => 'Text Header Color (H1,H2, etc...)',
  454. 'shortexp' => 'Change the color of your titles and subtitles',
  455. 'exp' => 'Use "hex" colors. For example #000000 for black, #3399CC for light blue, ' .
  456. 'etc... Visit <a href="http://html-color-codes.com/">this site</a> for a reference.'
  457. ),
  458. 'linkcolor' => array(
  459. 'default' => '',
  460. 'type' => 'text_small',
  461. 'inputlabel' => 'Hex Code:',
  462. 'title' => 'Text Link Color',
  463. 'shortexp' => 'Change the default color of your links as well as other similar elements.',
  464. 'exp' => 'Same as above'
  465. ),
  466. 'linkcolor_hover' => array(
  467. 'default' => '',
  468. 'type' => 'text_small',
  469. 'inputlabel' => 'Hex Code:',
  470. 'title' => 'Text Link Hover Color',
  471. 'shortexp' => 'Change the default color of your links when users hover over them.',
  472. 'exp' => 'Same as above'
  473. )
  474. ),
  475. 'global_options' => array(
  476. 'colorscheme' => array(
  477. 'version' => 'pro',
  478. 'default' => 'grey',
  479. 'type' => 'radio',
  480. 'selectvalues' => array(
  481. 'grey' => 'Grey',
  482. 'black'=>'Black',
  483. 'blue' => 'Blue',
  484. ),
  485. 'title' => 'Default Theme Color Scheme',
  486. 'shortexp' => 'Choose the default color scheme for the theme',
  487. 'exp' => 'This will also always be the color of the blog/posts page. You can change color scheme for individual pages in page options.'
  488. ),
  489. 'favicon' => array(
  490. 'default' => CORE_IMAGES."/favicon-pagelines.ico",
  491. 'type' => 'image_url',
  492. 'imagepreview' => '16',
  493. 'title' => 'Favicon Image',
  494. 'shortexp' => 'Input Full URL to favicon image ("favicon.ico" image file)',
  495. 'exp' => 'Enter the full URL location of your custom "favicon" which is visible in ' .
  496. 'browser favorites and tabs (typically called favicon.ico ).'
  497. ),
  498. 'twittername' => array(
  499. 'default' => '',
  500. 'type' => 'text',
  501. 'inputlabel' => 'Your Twitter Username',
  502. 'title' => 'Twitter Feed',
  503. 'shortexp' => 'Places your Twitter feed in your site',
  504. 'exp' => 'This places your Twitter feed on the site. Leave blank if you want to hide or not use.'
  505. ),
  506. 'no_wp_format' => array(
  507. 'version' => 'pro',
  508. 'default' => false,
  509. 'type' => 'check',
  510. 'inputlabel' => 'Remove default WP formatting?',
  511. 'title' => 'WordPress Auto-Formatting',
  512. 'shortexp' => 'Prevent WordPress from adding "br" and "p" tags in content',
  513. 'exp' => 'By default WordPress will attempt to add "br" and "p" tags in your content. If you feel more comfortable adding these elements in yourself, you can select this option.'
  514. ),
  515. 'google_ie' => array(
  516. 'default' => false,
  517. 'type' => 'check',
  518. 'inputlabel' => 'Include Google IE Compatibility Script?',
  519. 'title' => 'Google IE Compatibility Fix',
  520. 'shortexp' => 'Include a Google JS script that fixes problems with IE.',
  521. 'exp' => 'More info on this can be found here: <strong>http://code.google.com/p/ie7-js/</strong>.'
  522. ),
  523. 'touchicon' => array(
  524. 'version' => 'pro',
  525. 'default' => '',
  526. 'type' => 'image_url',
  527. 'imagepreview' => '57',
  528. 'title' => 'Apple Touch Image',
  529. 'shortexp' => 'Input Full URL to Apple touch image (.jpg, .gif, .png)',
  530. 'exp' => 'Enter the full URL location of your Apple Touch Icon which is visible when ' .
  531. 'your users set your site as a <strong>webclip</strong> in Apple Iphone and ' .
  532. 'Touch Products. It is an image approximately 57px by 57px in either .jpg, ' .
  533. '.gif or .png format.'
  534. )
  535. ),
  536. 'custom_code' => array(
  537. 'partner_link' => array(
  538. 'default' => '',
  539. 'type' => 'text',
  540. 'inputlabel' => 'Enter Partner Link',
  541. 'title' => 'PageLines Partner Link',
  542. 'shortexp' => 'Change your PageLines footer link to a partner link',
  543. 'exp' => 'If you are a <a href="http://www.pagelines.com/partners">PageLines Partner</a> enter your custom link here and the footer link will become a partner or affiliate link. (Do not include HTML)'
  544. ),
  545. 'customcss' => array(
  546. 'version' => 'pro',
  547. 'default' => 'body{}',
  548. 'type' => 'textarea',
  549. 'layout' => 'full',
  550. 'inputlabel' => 'CSS Rules',
  551. 'title' => 'Custom CSS',
  552. 'shortexp' => 'Insert custom CSS styling here (this will override any default styling)',
  553. 'exp' => '<div class="theexample">Example:<br/> <strong>body{<br/> &nbsp;&nbsp;color: #3399CC;<br/>&nbsp;&nbsp;line-height: 20px;<br/>&nbsp;&nbsp;font-size: 11px<br/>}</strong></div>Enter CSS Rules to change the style of your site.<br/><br/> A lot can be accomplished by simply changing the default styles of the "body" tag such as "line-height", "font-size", or "color" (as in text color).'
  554. ),
  555. 'headerscripts' => array(
  556. 'version' => 'pro',
  557. 'default' => '',
  558. 'type' => 'textarea',
  559. 'layout' => 'full',
  560. 'inputlabel' => 'Headerscripts Code',
  561. 'title' => 'Header Scripts',
  562. 'shortexp' => 'Scripts inserted directly before the end of the HTML &lt;head&gt; tag',
  563. 'exp' => ''
  564. ),
  565. 'footerscripts' => array(
  566. 'default' => '',
  567. 'type' => 'textarea',
  568. 'layout' => 'full',
  569. 'inputlabel' => 'Footerscripts Code or Analytics',
  570. 'title' => 'Footer Scripts &amp; Analytics',
  571. 'shortexp' => 'Any footer scripts including Google Analytics',
  572. 'exp' => ""
  573. ),
  574. 'asynch_analytics' => array(
  575. 'version' => 'pro',
  576. 'default' => '',
  577. 'type' => 'textarea',
  578. 'layout' => 'full',
  579. 'inputlabel' => 'Asynchronous Analytics',
  580. 'title' => 'Asynchronous Analytics',
  581. 'shortexp' => 'Placeholder for Google asynchronous analytics. Goes underneath "body" tag.',
  582. 'exp' => ""
  583. ),
  584. 'hide_introduction' => array(
  585. 'version' => 'pro',
  586. 'default' => '',
  587. 'type' => 'check',
  588. 'inputlabel' => '',
  589. 'wp_option' => true,
  590. 'inputlabel' => 'Hide the introduction?',
  591. 'title' => 'Show Theme Introduction',
  592. 'shortexp' => 'Uncheck this option to show theme introduction.',
  593. 'exp' => ""
  594. )
  595. )
  596. );
  597. if(!get_option('hide_introduction') && VPRO){
  598. $welcome = array(
  599. 'welcome' => array(
  600. 'theme_introduction' => array(
  601. 'default' => '',
  602. 'type' => 'text_content',
  603. 'inputlabel' => '',
  604. 'layout' => 'full',
  605. 'title' => 'Thanks for buying '.THEMENAME."!",
  606. 'shortexp' => 'We mean it, <strong>thanks a ton for supporting us</strong>.',
  607. 'exp' => '<p><img style="width: 200px; padding: 5px;background: #eee" class="alignright border" src="'.THEME_ROOT.'/screenshot.png" /><strong style="">Getting Started With Your New Pro Theme</strong></p>'.
  608. '<p>PageLines has created tons of features and options for you to take advantage of. Here are a few tips to get you started...<br/><small>(Note: This theme intro can be removed below.)</small></p><ul>'.
  609. '<li><strong>Support</strong> <p>For help getting started, we offer our pro customers tons of support including <a href="http://www.pagelines.com/docs" target="_blank">docs</a>, <a href="http://www.pagelines.com/blog" target="_blank">videos</a>, and the <a href="http://www.pagelines.com/forum" target="_blank">forum</a>.<br/> You can also visit our <a href="http://www.pagelines.com/support/">support page</a> for more info.</p></li> ' .
  610. '<li><strong>Theme Options and Feature Setup</strong> <p>This panel (theme options) is where you will start the customization of your theme. Also check out "feature setup" panel where you can set up everything in your feature-page templates.</p></li>' .
  611. '<li><strong>Page Templates</strong> <p>PageLines has created several page templates for you to choose from when creating new pages. This is how you will add elements like the feature pages, and carousel. When you create new pages, you will find these on the right hand sidebar.</p> <p>Find more information about PageLines page templates in the <a href="http://www.pagelines.com/docs">docs</a>. </p></li>' .
  612. '<li><strong>Page/Post Options</strong> <p>There are several more options that you will find on the bottom of the page when creating new WP pages and posts. These allow you to set options specifically related to that page or post. <br/><small>Note: create and save the page or post before setting these options.</small></p></li>' .
  613. '<li><strong>Plugins</strong> <p>Although our themes are universally plugin compatible, we have added "advanced" graphical/functional support for several WordPress plugins.</p><p> It\'s your responsibility to install and activate each plugin, which can be done through "<strong>plugins</strong>" &gt; "<strong>Add New</strong>" or through the <strong>developers site</strong> (e.g. CForms).</p><p>Pre-configured plugins:</p><ul>'.
  614. '<li><p><a href="http://www.deliciousdays.com/cforms-plugin/" target="_blank">CFormsII</a> - Advanced contact forms that can be used for creating mailing lists, etc..</p></li>'.
  615. '<li><p><a href="http://wordpress.org/extend/plugins/wp125/" target="_blank">WP125</a> - Used to show 125px by 125px ads or images in your sidebar.</p></li>'.
  616. '<li><p><a href="http://eightface.com/wordpress/flickrrss/" target="_blank">FlickrRSS</a> - Shows pictures from your Flickr Account in your sidebars or in the carousel page template.</p></li>'.
  617. '<li><p><a href="http://wordpress.org/extend/plugins/nextgen-gallery/" target="_blank">NextGen-Gallery</a> - Allows you to create image galleries with special effects. Use this in the carousel template.</p></li>'.
  618. '<li><p><a href="http://wordpress.org/extend/plugins/wp-pagenavi/" target="_blank">Wp-PageNavi</a> - Creates "paginated" post navigation.. (i.e. the numbers on the bottom of the posts list that allow you to navigate between pages of posts).</p></li>'.
  619. '</ul></li>'.
  620. '<li><strong>Widgets and Dynamic Layout</strong> <p>To make it super easy to customize your layout, we have added tons of sidebars and widget areas. You can find and set these up under "<strong>appearance</strong>" &gt; "<strong>widgets</strong>"</p> <p>Find more information about this themes widget areas in the <a href="http://www.pagelines.com/docs">docs</a>. </p></li>' .
  621. '</ul>' .
  622. '<br/><h3>That\'s it for now! Have fun and good luck.</h3>'
  623. ),
  624. 'hide_introduction' => array(
  625. 'default' => '',
  626. 'type' => 'check',
  627. 'inputlabel' => '',
  628. 'wp_option' => true,
  629. 'inputlabel' => 'Hide the introduction',
  630. 'title' => 'Remove This Theme Introduction',
  631. 'shortexp' => 'Remove this introduction from the admin.',
  632. 'exp' => "This introduction can be added back under the 'custom code' tab (once hidden)..."
  633. ),
  634. )
  635. );
  636. }else{$welcome = array();}
  637. $customoptions = array();
  638. $optionarray = array_merge($welcome, $default_options, $customoptions);
  639. return $optionarray;
  640. }
  641. ?>