Tagged: ,

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

    demo image

    • This topic was modified 9 years, 8 months ago by usystem.
    #421564

    Hi 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,
    Elliott

    #421793

    Hi, 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.

    #422019

    Hi!

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

    Additionaly you can post a request on github for this option – maybe it will be implemented in a future release.

    Regards,
    Günter

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