Removed commented code
This commit is contained in:
parent
74adfcccce
commit
f6193228db
|
@ -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' ;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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' ),
|
||||
) );
|
||||
|
||||
/**
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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; ?>
|
||||
<div <?php comment_class( $args['has_children'] ? $class_has : 'parent media' ); ?> id="comment-<?php comment_ID() ?>">
|
||||
<?php
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
<th scope="col"></th>
|
||||
<th scope="col"><?php _e( 'Title', 'tainacan-interface' ); ?></th>
|
||||
<th scope="col"><?php _e( 'Description', 'tainacan-interface' ); ?></th>
|
||||
<!-- <th scope="col"><?php //_e( 'Date' ); ?></th>
|
||||
<th scope="col"><?php //_e( 'Author' ); ?></th> -->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -26,8 +24,6 @@
|
|||
</td>
|
||||
<td class="collection-title text-black"><?php the_title(); ?></td>
|
||||
<td class="collection-description text-oslo-gray"><?php the_excerpt(); ?></td>
|
||||
<!-- <td class="collection-date text-oslo-gray"><?php //echo get_the_date(); ?></td>
|
||||
<td class="collection-create-by text-oslo-gray"><?php //_e( 'Created by', 'tainacan-interface' ); ?> <?php the_author_posts_link(); ?></td> -->
|
||||
</tr>
|
||||
<?php endwhile; ?>
|
||||
</tbody>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<button class="navbar-toggler text-heavy-metal border-0 px-2 pt-2" type="button" data-toggle="collapse" data-target="#menubelowHeader" aria-controls="menubelowHeader" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<?php /* if(wp_is_mobile()) echo $bread; */ ?>
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'navMenubelowHeader',
|
||||
|
|
Loading…
Reference in New Issue