Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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.

    #1227568

    see 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.

    #1227571

    for 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/

    #1227572

    sorry we had to exclude it for single page – otherwise it is doubled the tags – correction follows
    Edit : done – see substitute lines above- or the whole

    loop-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 pages

    #1227574

    again – 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 metas

    #1227900

    Hi,

    Thanks for helping out @guenni007. Did you have any luck with that @peterolle?

    Best regards,
    Rikard

    #1228250

    Thank you @Guenni007 I will test it and yes, I saw the link.

    Will share results after I implement this.

    Thanks again.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.