badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Footer Sidebar

#18325
johnny
Participant

Hi Rabin,

I hope you can help me.

Same topic: I have changed the following, but i’m not getting the ‘Footer – Column4’ in the admin area.

In the interface_widgets.php i have added the following:

	
// Registering footer sidebar 4
	register_sidebar( array(
		'name' 				=> __( 'Footer - Column4', 'interface' ),
		'id' 					=> 'interface_footer_column4',
		'description'   	=> __( 'Shows widgets at footer Column 4.', 'interface' ),
		'before_widget' 	=> '<aside id="%1$s" class="widget %2$s">',
		'after_widget'  	=> '</aside>',
		'before_title'  	=> '<h1 class="widget-title">',
		'after_title'   	=> '</h1>'
	) );

In the sidebar-extensions.php i have added the following:


|| is_active_sidebar( 'interface_footer_column4' ) ) {

      
<div class="one-fourth">
        <?php
						// Calling the footer column 4 sidebar
						if ( is_active_sidebar( 'interface_footer_column4' ) ) :
						dynamic_sidebar( 'interface_footer_column4' );
						endif;
						?>
      </div>
      <!-- .one-fourth -->

In the interface.pot i have added the following:


#: inc/widgets/interface_widgets.php:113
msgid "Footer - Column4"
msgstr ""

#: inc/widgets/interface_widgets.php:115
msgid "Shows widgets at footer Column 4."
msgstr ""

What do i need for it to work?

Thank you in advance for your help.