wa2pc_snippet
sidebar para wa2pc
if ( ! function_exists( 'olive_sidebar' ) ) { // Register Sidebar function olive_sidebar() { $args = array( 'id' => 'oliv', 'name' => __( 'main', 'wa2pc' ), 'description' => __( 'es mi sidebar oliveros', 'wa2pc' ), 'class' => 'oliveros', ); register_sidebar( $args ); } // Hook into the 'widgets_init' action add_action( 'widgets_init', 'olive_sidebar' ); }