Updates
This commit is contained in:
parent
05c8670de0
commit
194fc42be3
|
@ -35,6 +35,14 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
a[href^="tel"]{
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-style: inherit;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Rulers
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* Custom functions / External files
|
||||
*/
|
||||
|
||||
require get_template_directory() . '/functions/example.php';
|
||||
require_once 'functions/example.php';
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
@ -18,14 +19,15 @@ if ( function_exists( 'add_theme_support' ) )
|
|||
add_image_size( 'custom-size', 700, 200, true );
|
||||
|
||||
// Add Support for post formats
|
||||
add_theme_support( 'post-formats', ['post'] );
|
||||
add_post_type_support( 'page', 'excerpt' );
|
||||
// add_theme_support( 'post-formats', ['post'] );
|
||||
// add_post_type_support( 'page', 'excerpt' );
|
||||
|
||||
// Localisation Support
|
||||
load_theme_textdomain( 'barebones', get_template_directory() . '/languages' );
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Remove junk
|
||||
*/
|
||||
|
@ -53,6 +55,7 @@ function barebones_remove_comments_rss( $for_comments )
|
|||
add_filter( 'post_comments_feed_link', 'barebones_remove_comments_rss' );
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* jQuery the right way
|
||||
*/
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
<article <?php post_class(); ?>>
|
||||
|
||||
<header role="heading">
|
||||
<h3 class="post__title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||
<p class="post__date"><time><?php echo human_time_diff( strtotime( $post->post_date ) ) . ' ' . __( 'ago' ); ?></time></p>
|
||||
<p class="post__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
|
||||
<header class="post__header" role="heading">
|
||||
<h3 class="post__header__title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||
<p class="post__header__date"><time><?php echo human_time_diff( strtotime( $post->post_date ) ) . ' ' . __( 'ago' ); ?></time></p>
|
||||
<p class="post__header__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
|
||||
</header>
|
||||
|
||||
<?php the_content( __( 'Read More' ) ); ?>
|
||||
|
|
Loading…
Reference in New Issue