New Landing How can we help? Cardinal Cardinal blog mini excerpt length

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #178654
    JeffDSmith
    Member
    Post count: 31

    Hi

    How do we set the excerpt length in a blog mini view like this?
    http://helmsbakerydistrict.com/blog/

    We did not use page builder, we simple set Blog to show the posts in the General Reading Settings in WordPress.

    We tried adding filters in functions.php to no avail.

    Thank you

    #178670
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit archive.php file at /cardinal/swift-framework/layout/

    Find this code:-
    <?php echo sf_get_post_item($post->ID, $blog_type, "yes", "yes", "yes", "20", $content_output, $show_read_more); ?>
    
    Change to:-
    
    <?php echo sf_get_post_item($post->ID, $blog_type, "yes", "yes", "yes", "40", $content_output, $show_read_more); ?>

    Thanks
    Mohammad

    #178919
    JeffDSmith
    Member
    Post count: 31

    Excellent. Thank you. It worked.

    #178974
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    It’s my pleasure.
    Thanks
    Mohammad

    #292087
    balint.sipos
    Member
    Post count: 11

    Hey Swiftideas,

    I am having the same problem but maybe in a slightly different way.
    I am using the blog mini element here: http://idioplatform.com/in-the-know/
    But instead of using posts, I’ve used the Post Type Override to display Portfolio.

    I’ve made the change that written above but U see no change.
    Is there anything I need to change in the PHP code? or what else can I do to increase the number of text displayed in this excerpt.

    Balint

    #292201
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Just increase the number of text displayed in this excerpt.
    Thanks
    Mohammad

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

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

License required for one of the following items
Login and Registration Log in · Register