-
AuthorPosts
-
March 31, 2015 at 12:37 pm #421068
I have a page where I include a shortcode of the blog roll, to display all posts from one category. The layout I’ve chosen is the “grid blog” only for this page, the rest of the blog is showing the “single author, big preview image”.
My problem is that If the post has no text content (for example it contains only photos) I only see the featured image and the title, but not the meta. If I add some text content, now I see the meta and the first line of content.
Is there any way to customize this? I’d like to always see the title and the meta (comments, date), with no excerpt or content if possible.- This topic was modified 9 years, 7 months ago by usystem.
March 31, 2015 at 9:05 pm #421564Hi usystem!
Try dragging a codeblock element to the page content and add this inside.
<style type = "text/css"> .slide-entry-excerpt { display: none !important; } </style>
If that’s not working then send us a link to your page and we’ll take a look.
Best regards,
ElliottApril 1, 2015 at 9:07 am #421793Hi, thanks for your quick answer. If I understand correctly, with this css code I will be hiding the content but it doesn’t solve the need to add a content in the first place in to make the meta appear. My client is going to manage the blog for itself so I can’t count on a “fake content” being added and then hidden.
Is there any way I can make the meta appear even if there’s no text content added, only images or galleries? Like the rest of the blog layouts.
April 1, 2015 at 4:57 pm #422019Hi!
Thank you for coming back.
There is no easy way to achieve this right now. You have to modify:
enfold\config-templatebuilder\avia-shortcodes\postslider.php line 375:
if($show_meta && !empty($excerpt))
to hardcode and/or you also have to extend the options for:
enfold\config-templatebuilder\avia-shortcodes\postslider.php
\enfold\config-templatebuilder\avia-shortcodes\blog.phpAdditionaly you can post a request on github for this option – maybe it will be implemented in a future release.
Regards,
Günter -
AuthorPosts
- You must be logged in to reply to this topic.