-
AuthorPosts
-
July 2, 2020 at 6:13 pm #1227560
All archives show “comments | date” under each post.
1- How to remove date and the separator | in the middle to have just comments in the middle?
2- How to remove everything including the top and bottom pixel lines for that info?
3- Is there a way to change date for tags?Thanks.
July 2, 2020 at 6:56 pm #1227568see loop-index.php lines 373ff:
so you can have a child-theme loop-index.php ( just make a copy and place it in a subfolder of your child-theme : “includes”)if( $blog_style !== 'bloglist-compact' ) { echo "<span class='post-meta-infos'>"; echo "<time class='date-container minor-meta updated' >" . get_the_time( get_option( 'date_format' ) ) . '</time>'; echo "<span class='text-sep text-sep-date'>/</span>"; if ( get_comments_number() != '0' || comments_open() ) { echo "<span class='comment-container minor-meta'>"; comments_popup_link( '0 ' . __( 'Comments', 'avia_framework' ), '1 ' . __( 'Comment', 'avia_framework' ), '% ' . __( 'Comments', 'avia_framework' ), 'comments-link', '' . __( 'Comments Disabled','avia_framework' ) ); echo '</span>'; echo "<span class='text-sep text-sep-comment'>/</span>"; } …
the line is fast commented out by:
// echo "<span class='text-sep text-sep-date'>/</span>";
and
// echo "<span class='text-sep text-sep-comment'>/</span>";
2) this is only a top/bottom border so quick css can solve it.
3) guess this will be possible – i’m looking for it.
July 2, 2020 at 7:17 pm #1227571for example as a substitute for that lines:
if( $blog_style !== 'bloglist-compact' ) { echo "<span class='post-meta-infos'>"; //echo "<time class='date-container minor-meta updated' >" . get_the_time( get_option( 'date_format' ) ) . '</time>'; //echo "<span class='text-sep text-sep-date'>/</span>"; if(has_tag() && !is_single() && ! post_password_required()){ echo '<span class="minor-meta">'; the_tags( __( 'Tags: ', 'avia_framework' ) ); echo '</span>'; echo "<span class='text-sep text-sep-tags'>/</span>"; } if ( get_comments_number() != '0' || comments_open() ) { echo "<span class='comment-container minor-meta'>"; comments_popup_link( '0 ' . __( 'Comments', 'avia_framework' ), '1 ' . __( 'Comment', 'avia_framework' ), '% ' . __( 'Comments', 'avia_framework' ), 'comments-link', '' . __( 'Comments Disabled','avia_framework' ) ); echo '</span>'; echo "<span class='text-sep text-sep-comment'>/</span>"; }
so if it is not a single post and not protected the tags are shown.
see here archive page for allgemein : https://webers-testseite.de/category/allgemein/
July 2, 2020 at 7:20 pm #1227572sorry we had to exclude it for single page – otherwise it is doubled the tags – correction follows
Edit : done – see substitute lines above- or the wholeloop-index.php here: Link on pastebin
By the way : if you have more infos on that position ( comma separated tags – the flex modell is not the best solution here.
just put:#top .fullsize .template-blog .post .entry-content-wrapper > * { max-width: 100%; }
please tell me if you have seen my example page – because i want to get rid of the child-theme loop-index.php.
Ismael would like to look into this installation – to fix a little bug with older posts and list-view of blog or archive pagesJuly 2, 2020 at 7:55 pm #1227574again – i see that the author page has its own loop-author.php.
If you like to adjust this too – it is nearly the same you can change.
___________And PS: if you got more than two or three tags – this will look not so nice.
Then it would be better to have it like on the single post beneath or over that metasJuly 4, 2020 at 12:11 pm #1227900Hi,
Thanks for helping out @guenni007. Did you have any luck with that @peterolle?
Best regards,
RikardJuly 6, 2020 at 11:03 am #1228250Thank you @Guenni007 I will test it and yes, I saw the link.
Will share results after I implement this.
Thanks again.
-
AuthorPosts
- You must be logged in to reply to this topic.