Ejemplo n.º 1
0
TIData::set('term_id', $themeOptionPrefix . '_menu_top_woocommerce', array('title' => 'Main', 'taxonomy' => 'nav_menu'));
TIData::set('path', $themeOptionPrefix . '_header_background_image_src', array('title' => 'pattern', 'postType' => 'attachment'));
/***/
TIData::set('post_id', $themeOptionPrefix . '_blog_category_post_id', array('title' => 'Blog Right Sidebar', 'postType' => 'page'));
TIData::set('post_id', $themeOptionPrefix . '_blog_archive_post_id', array('title' => 'Blog Right Sidebar', 'postType' => 'page'));
TIData::set('post_id', $themeOptionPrefix . '_blog_search_post_id', array('title' => 'Blog Right Sidebar', 'postType' => 'page'));
TIData::set('post_id', $themeOptionPrefix . '_blog_author_post_id', array('title' => 'Blog Right Sidebar', 'postType' => 'page'));
/***/
TIData::set('post_id', $themeOptionPrefix . '_maintenance_mode_post_id', array('title' => 'Maintenance Mode', 'postType' => 'page'));
/***/
TIData::set('post_id', $themeOptionPrefix . '_page_404_page_id', array('title' => 'Page Not Found', 'postType' => 'page'));
/***/
TIData::set('path', $themeOptionPrefix . '_footer_top_background_image_src', array('title' => 'pattern', 'postType' => 'attachment'));
/***/
TIData::set('path', $themeOptionPrefix . '_menu_logo_src', array('title' => 'logo', 'postType' => 'attachment'));
/***/
TIData::set('post_id', 'page_on_front', array('title' => 'Home Style I', 'postType' => 'page'));
TIData::set('option', 'show_on_front', 'page');
TIData::set('option', 'posts_per_page', 5);
TIData::set('option', 'thread_comments', 1);
TIData::set('option', 'thread_comments_depth', 2);
TIData::set('option', 'page_comments', 1);
TIData::set('option', 'comments_per_page', 5);
TIData::set('option', 'permalink_structure', '/%postname%/');
TIData::set('option', 'show_avatars', 1);
TIData::set('option', 'avatar_default', 'mystery');
TIData::set('option', 'date_format', 'F d, Y');
TIData::set('option', 'blogname', 'Fable - Children Kindergarten WordPress Theme');
TIData::set('option', 'blogdescription', '');
/******************************************************************************/
/******************************************************************************/
Ejemplo n.º 2
0
 static function set($key, $name, $value)
 {
     global $ti_data;
     TIData::create();
     $ti_data[$key][$name] = $value;
 }