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
|
* Custom header to change the banner image
|
||||||
*/
|
*/
|
||||||
$header_args = array(
|
$header_args = array(
|
||||||
//'default-text-color' => '000',
|
|
||||||
'width' => 2000,
|
'width' => 2000,
|
||||||
'height' => 280,
|
'height' => 280,
|
||||||
'header-text' => false,
|
'header-text' => false,
|
||||||
|
@ -43,15 +42,6 @@ if ( ! function_exists( 'tainacan_setup' ) ) {
|
||||||
*/
|
*/
|
||||||
add_theme_support( 'title-tag' );
|
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' ;
|
require_once get_template_directory() . '/functions/enqueues.php' ;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -108,7 +108,6 @@ function tainacan_customize_register( $wp_customize ) {
|
||||||
'settings' => 'tainacan_facebook_share',
|
'settings' => 'tainacan_facebook_share',
|
||||||
'section' => 'tainacan_social_share',
|
'section' => 'tainacan_social_share',
|
||||||
'label' => __( 'Display Facebook button', 'tainacan-interface' ),
|
'label' => __( 'Display Facebook button', 'tainacan-interface' ),
|
||||||
//'description' => __( 'This checkbox display or no the Facebook Share.', 'tainacan-interface' ),
|
|
||||||
) );
|
) );
|
||||||
|
|
||||||
//Twitter
|
//Twitter
|
||||||
|
@ -123,7 +122,6 @@ function tainacan_customize_register( $wp_customize ) {
|
||||||
'settings' => 'tainacan_twitter_share',
|
'settings' => 'tainacan_twitter_share',
|
||||||
'section' => 'tainacan_social_share',
|
'section' => 'tainacan_social_share',
|
||||||
'label' => __( 'Display Twitter button', 'tainacan-interface' ),
|
'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(
|
$wp_customize->add_setting( 'tainacan_twitter_user', array(
|
||||||
|
@ -149,7 +147,6 @@ function tainacan_customize_register( $wp_customize ) {
|
||||||
'settings' => 'tainacan_google_share',
|
'settings' => 'tainacan_google_share',
|
||||||
'section' => 'tainacan_social_share',
|
'section' => 'tainacan_social_share',
|
||||||
'label' => __( 'Display Google Plus button', 'tainacan-interface' ),
|
'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
|
//Style
|
||||||
wp_register_style( 'tainacan_bootstrap4CSS', get_template_directory_uri() . '/assets/vendor/bootstrap/css/bootstrap.min.css' );
|
wp_register_style( 'tainacan_bootstrap4CSS', get_template_directory_uri() . '/assets/vendor/bootstrap/css/bootstrap.min.css' );
|
||||||
wp_enqueue_style( 'tainacan_bootstrap4CSS' );
|
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
|
//Javascript
|
||||||
wp_register_script( 'tainacan_bootstrap4JS', get_template_directory_uri() . '/assets/vendor/bootstrap/js/bootstrap.min.js', array( 'jquery' ), '', true );
|
wp_register_script( 'tainacan_bootstrap4JS', get_template_directory_uri() . '/assets/vendor/bootstrap/js/bootstrap.min.js', array( 'jquery' ), '', true );
|
||||||
wp_enqueue_script( 'tainacan_bootstrap4JS' );
|
wp_enqueue_script( 'tainacan_bootstrap4JS' );
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
function tainacan_comments_callback( $comment, $args, $depth ) {
|
function tainacan_comments_callback( $comment, $args, $depth ) {
|
||||||
//get comment to determine type
|
//get comment to determine type
|
||||||
global $post;
|
global $post;
|
||||||
//var_dump($args);die;
|
|
||||||
$class_has = 'has-children media comment-' . $comment->comment_ID; ?>
|
$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() ?>">
|
<div <?php comment_class( $args['has_children'] ? $class_has : 'parent media' ); ?> id="comment-<?php comment_ID() ?>">
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
<th scope="col"></th>
|
<th scope="col"></th>
|
||||||
<th scope="col"><?php _e( 'Title', 'tainacan-interface' ); ?></th>
|
<th scope="col"><?php _e( 'Title', 'tainacan-interface' ); ?></th>
|
||||||
<th scope="col"><?php _e( 'Description', '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>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -26,8 +24,6 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="collection-title text-black"><?php the_title(); ?></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-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>
|
</tr>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -6,18 +6,17 @@
|
||||||
<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">
|
<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>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
<?php /* if(wp_is_mobile()) echo $bread; */ ?>
|
<?php
|
||||||
<?php
|
wp_nav_menu( array(
|
||||||
wp_nav_menu( array(
|
'theme_location' => 'navMenubelowHeader',
|
||||||
'theme_location' => 'navMenubelowHeader',
|
'container' => 'div',
|
||||||
'container' => 'div',
|
'container_class' => 'collapse navbar-collapse',
|
||||||
'container_class' => 'collapse navbar-collapse',
|
'container_id' => 'menubelowHeader',
|
||||||
'container_id' => 'menubelowHeader',
|
'menu_class' => 'navbar-nav mr-auto',
|
||||||
'menu_class' => 'navbar-nav mr-auto',
|
'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback',
|
||||||
'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback',
|
'walker' => new WP_Bootstrap_Navwalker(),
|
||||||
'walker' => new WP_Bootstrap_Navwalker(),
|
) );
|
||||||
) );
|
?>
|
||||||
?>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Loading…
Reference in New Issue