ID] = $page->post_title; }
$categories = get_categories('hide_empty=0'); $allcategory = array(); foreach ($categories as $category) {$allcategory[$category->cat_ID] = $category->cat_name;}
$arr = array(
'General Settings'=>array(
'Logo URL'=>array(
'type'=>'text',
'desc'=>'Paste the URL of your logo here.'
),
'Site Title Type'=>array(
'type'=>'select',
'opt'=>array('Custom Logo','Title Text'),
'desc'=>'Choose between Site Title or choose custom logo and upload your site logo as your site branding.'
),
'Display Author Below Posts'=>array(
'type'=>'select',
'opt'=>array('Yes'=>'yes','No'=>'no'),
'desc'=>'Select yes if you want to display the author information below the post article.'
)
),
'SEO Options'=>array(
'Ads 468x60 Banner Code'=>array(
'type'=>'textarea',
'desc'=>'Paste your ads code here.'
)
),
'Layout Settings'=>array(
'Featured Slider Type'=>array(
'type'=>'select',
'opt'=>array('Use Slider','Use Static'),
'desc'=>'Choose what type you want your featured content be.'
),
'Featured Post Category'=>array(
'type'=>'select',
'opt'=>$allcategory,
'desc'=>'Choose what category to use to populate the featured content.'
),
'Featured Static Content (only if type is Use Static)'=>array(
'type'=>'textarea',
'desc'=>'Note: Skip this if you choose not "Use Static".'
),
'Blurb 1'=>array(
'type'=>'select_index',
'opt'=>$allpage,
'desc'=>'Choose w/c page should be the first blurb.'
),
'Blurb 2'=>array(
'type'=>'select_index',
'opt'=>$allpage,
'desc'=>'Choose w/c page should be the second blurb.'
),
'Blurb 3'=>array(
'type'=>'select_index',
'opt'=>$allpage,
'desc'=>'Choose w/c page should be the third blurb.'
),
'Blurb 4'=>array(
'type'=>'select_index',
'opt'=>$allpage,
'desc'=>'Choose w/c page should be the fourth blurb.'
)
),
'Integration'=>array(
'Header Code'=>array(
'type'=>'textarea',
'desc'=>'Anything you put here will be added to every page of this theme. This is usefull for inserting scripts or styles at the header section.'
),
'Activate Header Code'=>array(
'type'=>'select',
'opt'=>array('No'=>'no','Yes'=>'yes')
),
'Footer Code'=>array(
'type'=>'textarea',
'desc'=>'Anything you put here will be added to every page of this theme. This is usefull for inserting scripts or styles at the footer section.'
),
'Activate Footer Code'=>array(
'type'=>'select',
'opt'=>array('No'=>'no','Yes'=>'yes')
)
),
'Documentation'=>array(
'Requirements'=>array(
'type'=>'docs',
'content'=>
"- Wordpress 3.3.1+
- Host server with PHP5+"
),
'Installation and Setting-Up'=>array(
'type'=>'docs',
'content'=>
"
Configuration Saved!
"; } ?>