File tree Expand file tree Collapse file tree 2 files changed +31
-5
lines changed
Expand file tree Collapse file tree 2 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 5555}
5656
5757/* post layout style */
58+
5859.wcf--author-posts {
59- display : flex;
60+ display : grid;
61+ grid-template-columns : 410px 1fr ;
62+ }
63+ .wcf--author-posts__posts {
64+ display : grid;
65+ grid-template-columns : repeat (2 , 1fr );
66+ border-inline-start : 1px solid # 1212121A ;
67+ }
68+ .wcf--author-posts__posts__item {
69+ border-style : solid;
70+ border-width : 0px 1px 1px 0px ;
71+ border-color : # 1212121A ;
72+ padding : 0px 25px 20px 25px ;
73+ margin : 0px 0px 0px 0px ;
74+ text-align : start;
6075}
Original file line number Diff line number Diff line change @@ -235,10 +235,21 @@ protected function render() {
235235 while ( $ query ->have_posts () ) {
236236 $ query ->the_post ();
237237 ?>
238- <div class="wcf--author-posts__posts__item">
239- <h3><a href="<?php the_permalink (); ?> "><?php the_title (); ?> </a></h3>
240- <p><?php the_excerpt (); ?> </p>
241- </div>
238+ <article class="wcf--author-post">
239+ <div class="wcf-post-taxonomy">
240+ <a href="#" class="aae-cat-politics">tt</a>
241+ </div>
242+ <div class="wcf--author-post-thumb">
243+ <img src="" alt="">
244+ </div>
245+ <h3 class="wcf-post-title">
246+ <a href="#"><span class="highlight"></a>
247+ </h3>
248+ <div class="wcf-post-meta">
249+ <span class="wcf-post-date"></span>
250+ <span class="wcf-post-author"></span>
251+ </div>
252+ </article>
242253 <?php
243254 }
244255 wp_reset_postdata ();
You can’t perform that action at this time.
0 commit comments