Change excerpt length

  • Posted in : Editor
  • Solari
    Participant

    How can I change the excerpt length on simple blog layout?

    Thanks,
    Ray

    serkan
    Moderator

    Hi Ray,
    You can not control all posts excerpt length with one click. You should disable the excerpt feature on customizer and should write the excerpt manually in each post.
    Thanks

    Solari
    Participant

    I have tried this but the theme is still cutting off the excerpts the same way as before…

    In browsing the blog simple no sidebar template, I see this line:

    <?php pixelwars_theme_excerpt_max_charlength( 55 ); ?>

    It seems like this cannot be overridden? Any other suggestions?

    Thanks,
    Ray

    Solari
    Participant

    Any word on this?

    Ray

    serkan
    Moderator

    Hi Ray, I forwarded this issue to the WordPress developer. He will get back to you soon. Thanks for your patience.

    Mehmet S.
    Keymaster

    Hi,

    You can play with the number 55 for the related function.

    Thanks

    Solari
    Participant

    I see that, but in your theme options panel it has option to turn excerpts off or on. The way this is coded above, there is no way to honor those settings — it is always “on”. Does this mean the theme options panel for excerpt is not functional?

    I need to be able to turn it off or on and;

    I would like to be able to have it pull manual excerpts if they are entered in the post as opposed to just truncating the story.

    Thanks,
    Ray

    Solari
    Participant

    Any update on this?

    Ray

    serkan
    Moderator

    Hi Ray,
    You can go to appearance > theme options > blog > disable excerpt.
    Then edit the posts and use the more tag. (text tab) There is a button called “more” in the content editor. You can add it after your excerpt area in the post. Just there is one detail. “More” feature should not be added directly after the drop shortcode. So, in this way, you can control the excerpt area in each post.
    Thanks

    Solari
    Participant

    That’s the thing I’ve been trying to say — even when excerpts are disabled, they still show up. I browsed through the theme code and it looks like they are hardcoded in and also with a set excerpt length. This needs to be fixed?

    Ray

    serkan
    Moderator

    Hi Ray,
    I just tested in our demo website and it is working well. I disabled the excerpt feature from theme options. And edited a post and used read more options. Also instead of read more options, you can copy and paste your excerpt in the excerpt area which is located at the bottom of the post.
    Thanks

    Solari
    Participant

    For whatever reason, even when I have excerpts disabled in theme options, they are still showing (via simple layout). How do I fix this?

    Ray

    serkan
    Moderator

    Hi Ray,
    Could you check your post’s excerpt area, please? Also I would recommend you to deactivate all your plugin and try it again.
    Thanks

    Mehmet S.
    Keymaster

    Hi, the “Excerpt” option is only functional on regular blog layout in this theme.

    Thanks

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