cat_ID] = $category->cat_name;
}
// Pull all tags into an array
$options_tags = array();
$options_tags_obj = get_tags();
foreach ( $options_tags_obj as $tag ) {
$options_tags[$tag->term_id] = $tag->name;
}
// Pull all the pages into an array
$options_pages = array();
$options_pages_obj = get_pages('sort_column=post_parent,menu_order');
$options_pages[''] = 'Select a page:';
foreach ($options_pages_obj as $page) {
$options_pages[$page->ID] = $page->post_title;
}
// If using image radio buttons, define a directory path
$imagepath = get_template_directory_uri() . '/acosmin/framework/images/';
$imagepath_extensions = get_template_directory_uri() . '/acosmin/framework/extensions/images/';
$options = array();
$options[] = array(
'name' => __('Basic Settings', 'acosmin'),
'type' => 'heading');
$options[] = array(
'name' => __('Information', 'acosmin'),
'desc' => __('- You can upload a logo and see it live by using the', 'acosmin') . ' ' . __('Theme Customizer', 'acosmin') . '.
',
'type' => 'info');
$options[] = array(
'name' => __('Favicon', 'options_framework_theme'),
'desc' => __('Upload a favicon image for your website. (16x16px)', 'acosmin'),
'id' => 'ac_favicon_desktop',
'type' => 'upload');
$options[] = array(
'name' => __('Custom RSS Feed Url:', 'acosmin'),
'desc' => __('Ex: http://feeds.feedburner.com/acosmin', 'acosmin'),
'id' => 'ac_custom_rss_url',
'std' => '',
'type' => 'text');
/* ------------------------------------------------------------------- */
$ac_theme_options = apply_filters( 'ac_other_theme_options', array( 'acosmin/framework/extensions/options-theme.php' ) );
if ( $other_theme_options_file = locate_template( $ac_theme_options ) ) {
$maybe_other_theme_options = require_once $other_theme_options_file;
}
return $options;
}