• This topic has 10 replies, 4 voices, and was last updated 11 years by aovivo.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Flexform
  • #10711
    josefstevens
    Member
    Post count: 7

    I am having issues with the length of the blog excerpt. No matter what I do I cannot get the blog to show only an excerpt (this site is primarily a blog and uses the blog page as home page). I set the excerpt length when adding the Blog template to the page using the Page Builder. I read a previous post where it says to use a Custom Excerpt if not using the Swift Page Builder for blog posts, but this does not work for me.

    I am re-designing a site that has hundreds of posts that have to be imported, and they cannot all be transferred into the Page Builder but I need to show only an Excerpt.

    Any help?

    #10908
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    Try editing /includes/sf-content-display/sf-post-formats.php and on line 260 replace this:

    custom_excerpt($custom_excerpt, $excerpt_length);

    with this:

    excerpt($excerpt_length)

    Save the file, test and let me know how it goes.

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #10913
    josefstevens
    Member
    Post count: 7

    Thank you for the response.

    Unfortunately this did not work.

    #10918
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Ed, any tips on having it use the standard excerpt, so that he doesn’t have to edit all the posts?

    Regards,
    ————————————————————————————————————

    Cosmin – Support

    #11021
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    By default it’s limited to 60 characters, you can change this in functions.php line 1202:

    function new_excerpt_length($length) {
    	return 60;
    }
    

    – Ed

    #11170
    josefstevens
    Member
    Post count: 7

    The issue is not the length of the excerpt. The issue is the fact that I cannot get an excerpt to show. No matter what I do only the full length post shows.

    I have tried setting the excerpt in the Page Builder – no luck. I have tried using a custom excerpt (as suggested elsewhere) – no luck.

    The site will be primarily a blog and I need to show excerpts.

    #11366
    josefstevens
    Member
    Post count: 7

    It may be interesting to note that when I click on a category archive that the page does show and Excerpt. It is only on the home page, which uses the Swift Page Builder and the Pre-Built Blog template where I cannot get excerpts to show.

    Hopefully this may help.

    #11555
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Josef,

    What version of the theme are you using? Can you provide a link to the page so that I can check your setup?

    – Ed

    #11568
    josefstevens
    Member
    Post count: 7

    Thank you for the response. I have been able to correct the issue by eliminating the Pre-built blog template in the page builder and then selecting it from “Choose elements”.

    Why it works in one way and not the other I do not know. Right now the site is behind a maintenance page so cannot be viewed without logging in. If you would like to see it let me know and I’ll send login information in a private reply.

    Thanks again.

    #11743
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Glad you managed to get around it. We’ll double check to make sure nothing is wrong before the next update.

    – Ed

    #26414
    aovivo
    Member
    Post count: 51

    yes, i experienced the same issue.

    no excerpt on my main page.. once i filled some text in the ‘Custom Excerpt’ Section – it appears on the post-preview (but not the complete text it wys supposed to display).. weird…

Viewing 11 posts - 1 through 11 (of 11 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