New Landing How can we help? Themeforest Theme Support Dante Dante Recent Posts Display

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #53193
    jfarr
    Member
    Post count: 32

    I’m curious if there’s an easy way to display just partial text with a “read more” link for a “recent post” on the homepage instead of showing the photo cover?

    #53194
    jfarr
    Member
    Post count: 32

    I know how with css and display none to eliminate to just show the title text and date text but I would like it to show an excerpt of text as well.

    #53381
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    The recent posts element does support post excerpt. You can set the ‘excerpt length’. To remove the image, you can either display none with css or on the post itself, for the thumbnail settings, select ‘none’.

    Hope this helps!

    – Kyle

    #92325
    tsimarketing
    Member
    Post count: 267

    Has anyone found a resolution to the original request of showing a “read more” link at the bottom of the recent post element?

    #92429
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @tsimarketing
    – Please open to edit recent-posts.php at /dante/swift-framework/page-builder/builder/shortcodes through FTP software.
    Find this code-:
    $items .= '<div class="excerpt">'. $post_excerpt .'</div>';

    Change to-:
    $items .= '<div class="excerpt">'. $post_excerpt .'<p align="right" ><a href="'.$post_permalink.'">Read More...</a><p></div>';

    Hope that should work and let me know your feedback.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register