PluginProbe
SpiceBox / 0.3.3
SpiceBox v0.3.3
trunk 0.2.2 0.2.3 0.2.4 0.2.5 0.2.6 0.2.7 0.2.8 0.2.9 0.3 0.3.1 0.3.2 0.3.3 0.3.4 0.3.5 0.3.6 0.3.7 0.3.8 0.3.9.1 0.3.9.2 0.4 0.5 0.6 0.7 1.0 All 76 releases
spicebox / inc / innofit / default-widgets / default-widget.php

default-widget.php in SpiceBox 0.3.3, at inc/innofit/default-widgets/default-widget.php

54 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $activate = array(
3 'sidebar_primary' => array(
4 'search-1',
5 'recent-posts-1',
6 'archives-1',
7 ),
8 'footer_widget_area_left' => array(
9 'st_featured_latest_news-2',
10 ),
11 'footer_widget_area_right' => array(
12 'categories-2',
13 ),
14 'footer_widget_area_center' => array(
15 'pages-2'
16 ),
17
18 'menu_social_media_sidebar' => array(
19 'innofit_social_icon_widget-2'
20 ),
21
22 );
23
24 /* the default titles will appear */
25
26 update_option('widget_st_featured_latest_news', array(
27 1 => array('title' => 'Latest News'),
28 2 => array('title' => 'Latest News')));
29
30 update_option('widget_categories', array(
31 1 => array('title' => 'Categories'),
32 2 => array('title' => 'Categories')));
33
34 update_option('widget_archives', array(
35 1 => array('title' => 'Archives'),
36 2 => array('title' => 'Archives')));
37
38 update_option('widget_search', array(
39 1 => array('title' => 'Search'),
40 2 => array('title' => 'Search')));
41
42 update_option('widget_innofit_social_icon_widget', array(
43 2 => array('facebook_link' => '#', 'twitter_link' => '#', 'google_plus_link' => '#')));
44
45
46 update_option('widget_pages', array(
47 1 => array('title' => 'Useful Links'),
48 2 => array('title' => 'Useful Links')));
49
50 update_option('sidebars_widgets', $activate);
51 $MediaId = get_option('innofit_media_id');
52 set_theme_mod( 'custom_logo', $MediaId[0] );
53 set_theme_mod( 'header_textcolor', "blank" );
54 ?>