Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #670094

    Hi,

    when looking at the post archive view (see private), it only show the posted date when the post as a description added,

    1- how do i force the posted date to show regardless if there is a description or not?
    2 – how can i remove the comment counter on that view and within the single post page?
    3 – and remove the post category shown above (called RESULTS in this case)
    4 – Lastly move the Post date above the post title in the archive view

    thanks a lot !

    • This topic was modified 8 years, 5 months ago by yingyang.
    #671673

    Hi,

    1. Open /enfold/config-templatebuilder/avia-shortcodes/productslider.php and look for line:

    if($show_meta && !empty($excerpt))
    

    Replace it by this:

    if($show_meta)
    

    2. Move the whole if($show_meta conditional above, just before line 395:

    $output .= '<header class="entry-content-header">';
    

    3. Remove:

    if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    						{
    							$link_add = $commentCount === "0" ? "#respond" : "#comments";
    							$text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );
    
    							$meta .= "
    <div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div>
    <div class='slide-meta-del'>/</div>
    ";
    						}

    Regards,
    Josue

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