'; if ( ! dynamic_sidebar( 'footer-w1' ) and current_user_can( 'edit_theme_options' ) ) { if ( current_user_can( 'edit_theme_options' ) ) { echo '

' . __( 'Please Add Widgets', 'astronomy') . '

', '
', '

' . __( 'Remove this message by adding widgets to Footer Widget Area 1.', 'astronomy') . '

', '' . __( 'Click here to go to Widget area.', 'astronomy') . '', '
'; }; }; echo ''; } /* Assign function for widget area 2 */ function astronomy_input_footerw2() { echo ''; } /* Assign function for widget area 3 */ function astronomy_input_footerw3() { echo ''; } /* Assign function for widget area 4 */ function astronomy_input_footerw4() { echo ''; } /* Assign function for widget area 5 */ function astronomy_input_footerw5() { echo ''; } /* Assign function for widget area 6 */ function astronomy_input_footerw6() { echo ''; } /* Add Custom Footer Layout */ function astronomy_input_footerlayout() { // Get theme options values. $astronomy_footer_layout = astronomy_var ( 'astronomy_footer_layout' ); $astronomy_footer_widgetswitch = astronomy_var ( 'astronomy_footer_widgetswitch' ); if ( $astronomy_footer_widgetswitch != "1" and ! empty( $astronomy_footer_layout ) ) { echo ''; } } /* ---------------------------------------------------------------------------------- SCROLL TO TOP ---------------------------------------------------------------------------------- */ function astronomy_input_footerscroll( $classes ) { // Get theme options values. $astronomy_footer_scroll = astronomy_var ( 'astronomy_footer_scroll' ); if ( $astronomy_footer_scroll == '1' ) { $classes[] = 'scrollup-on'; } return $classes; } add_action( 'body_class', 'astronomy_input_footerscroll'); /* ---------------------------------------------------------------------------------- COPYRIGHT TEXT ---------------------------------------------------------------------------------- */ function astronomy_input_copyright() { } ?>