This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function newWidgetsArea() { | |
register_sidebar( array( | |
'name' => __( 'Stopka 1', 'text-domain' ), | |
'id' => 'footer-1-col', | |
'description' => __( 'Widgets in this area will be shown on all posts and pages.', 'text-domain' ), | |
'before_widget' => '<li id="%1$s" class="widget %2$s">', | |
'after_widget' => '</li>', | |
'before_title' => '<h2 class="widgettitle">', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// if WPML active | |
if ( class_exists('SitePress') ) { | |
// stuff | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// if Polylang active | |
if ( function_exists('pll_the_languages') { | |
// stuff | |
} |