Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 35642b7

Browse files
author
claudiuvertistudio
committed
#16 Added new design for comments, search page
1 parent 59cba8f commit 35642b7

File tree

5 files changed

+209
-125
lines changed

5 files changed

+209
-125
lines changed

comments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
wp_list_comments( array(
5252
'style' => 'ol',
5353
'short_ping' => true,
54-
'avatar_size' => 74
54+
'avatar_size' => 105
5555
) );
5656
?>
5757
</ol><!-- .comment-list -->

functions.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -261,22 +261,6 @@ function zillah_excerpt_more($more) {
261261
add_filter('excerpt_more', 'zillah_excerpt_more');
262262

263263

264-
/**
265-
* Adds inline style from customizer
266-
*
267-
* @since Zillah 1.0
268-
*/
269-
function zillah_inline_style() {
270-
$zillah_page_header = get_theme_mod('zillah_page_header', get_stylesheet_directory_uri().'/images/header-top.jpg');
271-
$custom_css = " .page-main-header{
272-
background-image: url(".$zillah_page_header.");
273-
}";
274-
275-
wp_add_inline_style( 'zillah-style', $custom_css );
276-
}
277-
add_action( 'wp_enqueue_scripts', 'zillah_inline_style' );
278-
279-
280264

281265
/**
282266
* Return the site brand

single.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,27 @@
1919

2020
get_template_part( 'template-parts/content', 'single' );
2121

22+
?>
23+
24+
<div class="author-details-wrap">
25+
<div class="content-inner-wrap">
26+
<div class="author-details-img-wrap">
27+
<img alt="" src="http://0.gravatar.com/avatar/f72c502e0d657f363b5f2dc79dd8ceea?s=105&amp;d=mm&amp;r=g" srcset="http://0.gravatar.com/avatar/f72c502e0d657f363b5f2dc79dd8ceea?s=210&amp;d=mm&amp;r=g 2x" class="avatar avatar-105 photo" height="105" width="105">
28+
</div>
29+
<div class="author-details-title">Ash Schweitzer</div>
30+
<div class="author-details-content">When I hear the buzz of the little world among the stalks, and grow familiar with the countless indescribable forms of the insects and flies, then I feel the presence of all of the breathing.</div>
31+
</div>
32+
</div>
33+
34+
<?php
35+
2236
the_post_navigation();
2337

2438
// If comments are open or we have at least one comment, load up the comment template.
2539
if ( comments_open() || get_comments_number() ) :
40+
echo '<div class="comments-area-wrap">';
2641
comments_template();
42+
echo '</div>';
2743
endif;
2844

2945
endwhile; // End of the loop.

0 commit comments

Comments
 (0)