I simply need to fix a Wordpress Widget Function display

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

Hi All,

I am stumped here. Perhaps I've been at it too long and am missing something elementary or it really is a missing link. I hope someone can point me in the right direction here.

I have this piece of code for my new widget functions:

function underslider_widgets_one_init() {

register_sidebar( array(

'name' => 'Under Slider 1',

'id' => 'under_slider_1',

'before_widget' => '<div class="under_slider_container">',

'after_widget' => '</div>',

'before_title' => '<h2 class="rounded">',

'after_title' => '</h2>',

) );

}

add_action( 'widgets_init', 'underslider_widgets_one_init' );

function underslider_widgets_two_init() {

register_sidebar( array(

'name' => 'Under Slider 2',

'id' => 'under_slider_2',

'before_widget' => '<div class="under_slider_container">',

'after_widget' => '</div>',

'before_title' => '<h2 class="rounded">',

'after_title' => '</h2>',

) );

}

add_action( 'widgets_init', 'underslider_widgets_two_init' );

function underslider_widgets_three_init() {

register_sidebar( array(

'name' => 'Under Slider 3',

'id' => 'under_slider_3',

'before_widget' => '<div class="under_slider_container">',

'after_widget' => '</div>',

'before_title' => '<h2 class="rounded">',

'after_title' => '</h2>',

) );

}

add_action( 'widgets_init', 'underslider_widgets_three_init' );

Followed by this piece of code to call on it:

case 'header_layerslider':

$this->html.= '<div class="header-wrapper">

' . (isset($header_background_array['back_html']) ? $header_background_array['back_html'] : '') . '

<div class="header-main-container">';

$layerslider_id = (isset($args['_uncode_layerslider_list']) && $args['_uncode_layerslider_list'][0] != '') ? $args['_uncode_layerslider_list'][0] : '';

$this->html.= __(do_shortcode('[layerslider id="' . $layerslider_id . '"]'));

$this->html.= '</div><div id="under-slider-widgets-area">';

/****** NEW CUSTOM CONTENT BOXES UNDER SLIDER *********/

if ( is_active_sidebar( 'under_slider_1' ) ) :

$this->html.= '<div id="under-slider-1">';

dynamic_sidebar( 'under_slider_1' );

$this->html.= '</div><!-- #primary-sidebar -->';

endif;

if ( is_active_sidebar( 'under_slider_2' ) ) :

$this->html.= '<div id="under-slider-2">';

dynamic_sidebar( 'under_slider_2' );

$this->html.= '</div><!-- #primary-sidebar -->';

endif;

if ( is_active_sidebar( 'under_slider_3' ) ) :

$this->html.= '<div id="under-slider-3">';

dynamic_sidebar( 'under_slider_3' );

$this->html.= '</div><!-- #primary-sidebar -->';

endif;

$this->html.= '</div></div>';

break;

The widgets display but are not nested in the <div id="under-slider-1">,<div id="under-slider-2">,<div id="under-slider-3"> divs.

You can see where the div is display in the attached image.

I really do appreciate any and all help on this.

PHP WordPress

Nº del proyecto: #11927061

Sobre el proyecto

14 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

$10 USD en 1 día
(0 comentarios)
0.0

14 freelancers están ofertando un promedio de $32 por este trabajo

sismaster

Hi There, Greetings !! We have a team of 8 full time, dedicated developers having expertise in Magento, Wordpress, iPhone, Android, Joomla & Core PHP. We are willingly to fix this . If you can reply us with Más

$35 USD en 3 días
(276 comentarios)
6.8
BitLabs

Hello, I have gone through your outsourced requirements "I simply need to fix a Wordpress Widget Function display" and have analyzed that I have right skills (PHP, WordPress) to execute your esteemed project. I w Más

$36 USD en 1 día
(112 comentarios)
6.2
promaker19

Hi, Just got your requirement and ready to fix this issue. I can assure you quality work on time. Let me know if you have any question. Hope to hear from you soon!!

$20 USD en 1 día
(52 comentarios)
4.8
afcn007

Hello, I am a 6 years PHP programmer, JavaScript programmer, where is the attched image? I can not see the image. Su Weisi

$35 USD en 1 día
(7 comentarios)
3.4
salleh2012

hello i can do it right now. already online now. if u give me access i can do it now or inbox me to do on my pc and show the working result. thanks,.

$20 USD en 0 días
(2 comentarios)
1.3
milanpundir109

Hi I am very much sure that I can complete work as per your requirements.I assure you that I will provide you quality work and within the decided time frame and budget. Please drop me a message for further discussio Más

$35 USD en 1 día
(1 comentario)
0.0
pinakil

I have good knowledge of Wordpress and I able to do this task very well with good quality. our main motto is client satisfaction and make a long term relationship with you. Thank you.

$25 USD en 1 día
(1 comentario)
0.0