how to align widgets side by side, theme customizr
-
Please tell me how to align widgets in customizr.
https://ordinary.net46.net/wordpress/
it is below featured page.add_filter( 'tc_default_widgets' , 'add_featured_page_widget' ); function add_featured_page_widget( $default_widgets_area ) { $default_widgets_area ['fp_widgets'] = array( 'name' => __( 'Featured Pages Widget One' , 'customizr' ), 'description' => __( 'Below the featured pages area on home' , 'customizr' ) ); $default_widgets_area['fp_widgets_two'] = array( 'name' => __( 'Featured Pages Widget Two' , 'customizr' ), 'description' => __( 'Below the featured pages area on home' , 'customizr' ) ); $default_widgets_area['fp_widgets_three'] = array( 'name' => __( 'Featured Pages Widget Three' , 'customizr' ), 'description' => __( 'Below the featured pages area on home' , 'customizr' ) ); $default_widgets_area['fp_widgets_four'] = array( 'name' => __( 'Featured Pages Widget Four' , 'customizr' ), 'description' => __( 'Below the featured pages area on home' , 'customizr' ) ); return $default_widgets_area; } add_action('__after_fp' , 'display_my_fp_widget'); function display_my_fp_widget() { dynamic_sidebar('fp_widgets'); dynamic_sidebar('fp_widgets_two'); dynamic_sidebar('fp_widgets_three'); dynamic_sidebar('fp_widgets_four'); }
I am using this code to display four text widgets
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to align widgets side by side, theme customizr’ is closed to new replies.