...........................................................................................................................................................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%PDF-1.5 MRK IS HERE %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 65.108.66.160 / Your IP : 216.73.217.50 Web Server : Apache System : Linux srv16.asso.com.ar 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64 User : alasaweborg ( 1047) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/alasaweborg/public_html/wp-content/themes/greenture/includes/ |
Upload File : |
<?php
/**
* Register widgetized areas
*/
if ( ! function_exists( 'greenture_widgets_init' ) ) {
function greenture_widgets_init() {
// Primary Sidebar
register_sidebar( array(
'name' => esc_html__( 'Main Sidebar', 'greenture' ),
'id' => 'primary',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'description' => esc_html__( 'The default sidebar used in two or three-column layouts.', 'greenture' ),
) );
// Sidebar
register_sidebar( array(
'name' => esc_html__( 'Sidebar', 'greenture' ),
'id' => 'sidebar-1',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'description' => esc_html__( 'Sidebar Area used for any place using shortcodes.', 'greenture' ),
) );
// Contact Sidebar
register_sidebar( array(
'name' => esc_html__( 'Contact Sidebar', 'greenture' ),
'id' => 'contact-sidebar',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'description' => esc_html__( 'A Contact Sidebar used in page to display social links and contact info.', 'greenture' ),
) );
// Footer Top Sidebar
register_sidebar( array(
'name' => esc_html__( 'Footer Top Area Sidebar', 'greenture' ),
'id' => 'footer-top-sidebar',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'description' => esc_html__( 'Footer Top Area Sidebar used before on footer widget areas.', 'greenture' ),
) );
// Footer Left Sidebar
$footer_layout_style = '';
$footer_layout_style = greenture_get_option( 'footer_layout_style' );
if( isset( $footer_layout_style ) && $footer_layout_style == 'two-column' ) {
register_sidebar( array(
'name' => esc_html__( 'Footer Left Column Sidebar', 'greenture' ),
'id' => 'footer-left-column',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'description' => esc_html__( 'Footer Left Column Sidebar used on footer two column layout style.', 'greenture' ),
) );
}
// Footer Widgets Sidebar
$is_footer_widgets = '';
$is_footer_widgets = greenture_get_option( 'footer_widgets_enable' ) ? greenture_get_option( 'footer_widgets_enable' ) : 0;
if( $is_footer_widgets ) {
$columns = greenture_get_option( 'footer_widget_layout' );
if ( ! $columns ) $columns = 4;
for ( $i = 1; $i <= intval( $columns ); $i++ ) {
register_sidebar( array(
'name' => sprintf( esc_html__( 'Footer %d', 'greenture' ), $i ),
'id' => sprintf( 'footer-widget-%d', $i ),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'description' => sprintf( esc_html__( 'Footer widget Area %d.', 'greenture' ), $i ),
) );
}
}
} // End greenture_widgets_init()
}
add_action( 'widgets_init', 'greenture_widgets_init' );
?>