From f6193228dbeca861f283d1f7d04469ef24daafc4 Mon Sep 17 00:00:00 2001 From: Fabiano Alencar Date: Wed, 20 Feb 2019 16:26:41 -0300 Subject: [PATCH] Removed commented code --- src/functions.php | 10 -------- src/functions/customizer.php | 3 --- src/functions/enqueues.php | 3 --- src/functions/single-functions.php | 1 - .../loop-tainacan-collection-table.php | 4 ---- src/template-parts/menubellowbanner.php | 23 +++++++++---------- 6 files changed, 11 insertions(+), 33 deletions(-) diff --git a/src/functions.php b/src/functions.php index 8c819c6..81952fb 100644 --- a/src/functions.php +++ b/src/functions.php @@ -26,7 +26,6 @@ if ( ! function_exists( 'tainacan_setup' ) ) { * Custom header to change the banner image */ $header_args = array( - //'default-text-color' => '000', 'width' => 2000, 'height' => 280, 'header-text' => false, @@ -43,15 +42,6 @@ if ( ! function_exists( 'tainacan_setup' ) ) { */ add_theme_support( 'title-tag' ); - /* register_default_headers( - array( - 'default-image' => array( - 'url' => '%s/assets/images/capa.png', - 'thumbnail_url' => '%s/assets/images/capa.png', - 'description' => __( 'Default Image', 'tainacan-interface' ), - ), - ) - ); */ require_once get_template_directory() . '/functions/enqueues.php' ; /** diff --git a/src/functions/customizer.php b/src/functions/customizer.php index 49db8cc..e1a6953 100644 --- a/src/functions/customizer.php +++ b/src/functions/customizer.php @@ -108,7 +108,6 @@ function tainacan_customize_register( $wp_customize ) { 'settings' => 'tainacan_facebook_share', 'section' => 'tainacan_social_share', 'label' => __( 'Display Facebook button', 'tainacan-interface' ), - //'description' => __( 'This checkbox display or no the Facebook Share.', 'tainacan-interface' ), ) ); //Twitter @@ -123,7 +122,6 @@ function tainacan_customize_register( $wp_customize ) { 'settings' => 'tainacan_twitter_share', 'section' => 'tainacan_social_share', 'label' => __( 'Display Twitter button', 'tainacan-interface' ), - //'description' => __( 'This checkbox display or no the Twitter Share.', 'tainacan-interface' ), ) ); $wp_customize->add_setting( 'tainacan_twitter_user', array( @@ -149,7 +147,6 @@ function tainacan_customize_register( $wp_customize ) { 'settings' => 'tainacan_google_share', 'section' => 'tainacan_social_share', 'label' => __( 'Display Google Plus button', 'tainacan-interface' ), - //'description' => __( 'This checkbox display or no the Google Plus Share.', 'tainacan-interface' ), ) ); /** diff --git a/src/functions/enqueues.php b/src/functions/enqueues.php index a6f54d0..43b5864 100644 --- a/src/functions/enqueues.php +++ b/src/functions/enqueues.php @@ -14,9 +14,6 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) { //Style wp_register_style( 'tainacan_bootstrap4CSS', get_template_directory_uri() . '/assets/vendor/bootstrap/css/bootstrap.min.css' ); wp_enqueue_style( 'tainacan_bootstrap4CSS' ); - /* //Popper - wp_register_script( 'tainacan_popper_bootstrap4', get_template_directory_uri() . '/assets/vendor/bootstrap/js/popper.min.js', '', '', true ); - wp_enqueue_script( 'tainacan_popper_bootstrap4' ); */ //Javascript wp_register_script( 'tainacan_bootstrap4JS', get_template_directory_uri() . '/assets/vendor/bootstrap/js/bootstrap.min.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'tainacan_bootstrap4JS' ); diff --git a/src/functions/single-functions.php b/src/functions/single-functions.php index 6e1969f..7d13cd0 100644 --- a/src/functions/single-functions.php +++ b/src/functions/single-functions.php @@ -8,7 +8,6 @@ function tainacan_comments_callback( $comment, $args, $depth ) { //get comment to determine type global $post; - //var_dump($args);die; $class_has = 'has-children media comment-' . $comment->comment_ID; ?>
id="comment-"> - @@ -26,8 +24,6 @@ - diff --git a/src/template-parts/menubellowbanner.php b/src/template-parts/menubellowbanner.php index 615100c..8e523cb 100644 --- a/src/template-parts/menubellowbanner.php +++ b/src/template-parts/menubellowbanner.php @@ -6,18 +6,17 @@ - - 'navMenubelowHeader', - 'container' => 'div', - 'container_class' => 'collapse navbar-collapse', - 'container_id' => 'menubelowHeader', - 'menu_class' => 'navbar-nav mr-auto', - 'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback', - 'walker' => new WP_Bootstrap_Navwalker(), - ) ); - ?> + 'navMenubelowHeader', + 'container' => 'div', + 'container_class' => 'collapse navbar-collapse', + 'container_id' => 'menubelowHeader', + 'menu_class' => 'navbar-nav mr-auto', + 'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback', + 'walker' => new WP_Bootstrap_Navwalker(), + ) ); + ?>