-
AuthorPosts
-
April 25, 2016 at 12:09 pm #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
April 25, 2016 at 1:40 pm #621288Hi pixopolis2222!
remove it using this code inside Quick CSS field:
time.slide-meta-time.updated { display: none; }
Regards,
AndyApril 26, 2016 at 10:00 pm #622545Hi,
please provide us with a PHP-solution. We use a child theme
thanxkind regards Martin
- This reply was modified 8 years, 7 months ago by pixopolis2222.
April 28, 2016 at 4:10 pm #623853Hi!
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 -
AuthorPosts
- You must be logged in to reply to this topic.