Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #621196

    Hi
    in “Settings–>Blog Styling” you find that:

    Blog meta elements
    You can chose to hide some of the default Blog elements here:

    These settings are for the category / archive or for a single post?

    If it is made for category than something is not working.
    Whatever settings i made…nothing happens
    http://www.trauerkarten-druck.com/magazin/ratgeber/trauerkarten/

    The reason: I want to remove the publish date from the category

    Regards Martin

    #621288

    Hi pixopolis2222!

    remove it using this code inside Quick CSS field:

    time.slide-meta-time.updated {
    display: none;
    }
    

    Regards,
    Andy

    #622545

    Hi,
    please provide us with a PHP-solution. We use a child theme
    thanx

    kind regards Martin

    • This reply was modified 8 years, 7 months ago by pixopolis2222.
    #623853

    Hi!

    Please refer to this post – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/ and move enfold/config-templatebuilder/avia-shortcodes/postslider.php file to your child theme and then remove following lines

    $meta  = "<div class='slide-meta'>";
    						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>";
    						}
                            $markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup));
    						$meta .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>";
    						$meta .= "</div>";
    						
    						if($blogstyle !== "elegant-blog")
    						{
    							$output .= $meta;
    							$meta = "";
    						}

    Cheers!
    Yigit

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