diff --git a/library/functions/functions.php b/library/functions/functions.php index 55659be..63af651 100644 --- a/library/functions/functions.php +++ b/library/functions/functions.php @@ -333,11 +333,31 @@ function travelify_widgets_init() { // Registering footer widgets register_sidebar( array( - 'name' => __( 'Footer', 'travelify' ), + 'name' => __( 'Footer One', 'travelify' ), 'id' => 'travelify_footer_widget', 'description' => __( 'Shows widgets at footer.', 'travelify' ), - 'before_widget' => '
', + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

' + ) + ); + register_sidebar( array( + 'name' => __( 'Footer Two', 'travelify' ), + 'id' => 'travelify_footer_widget_2', + 'description' => __( 'Shows widgets at footer.', 'travelify' ), + 'before_widget' => '', + 'before_title' => '

', + 'after_title' => '

' + ) + ); + register_sidebar( array( + 'name' => __( 'Footer Three', 'travelify' ), + 'id' => 'travelify_footer_widget_3', + 'description' => __( 'Shows widgets at footer.', 'travelify' ), + 'before_widget' => '', 'before_title' => '

', 'after_title' => '

' ) @@ -438,4 +458,4 @@ function travelify_posted_on() { } endif; -?> \ No newline at end of file +?> diff --git a/library/structure/sidebar-extensions.php b/library/structure/sidebar-extensions.php index 84630c8..c002e25 100644 --- a/library/structure/sidebar-extensions.php +++ b/library/structure/sidebar-extensions.php @@ -41,21 +41,41 @@ function travelify_display_right_sidebar() { * Shows all the widgets that are dragged and dropped on the Footer Sidebar. */ function travelify_display_footer_widget() { - if( is_active_sidebar( 'travelify_footer_widget' ) ) { - ?> -
-
-
- -
-
-
- +
+
+
+
+
 
+
+
+
 
+
+
+
 
+
+
+
+
+ \ No newline at end of file +?>