New Blog Widget zero
Hello, how to set “zero” post excerpt ? I try to set “0” value in “”Excerpt lenght”” but not work..
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.
Hello, how to set “zero” post excerpt ? I try to set “0” value in “”Excerpt lenght”” but not work..
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
5Hi Alex
Thanks for getting in touch.
How we’ve traditionally handled a zero value in our theme settings and now in the widget is we’ve assumed it’s an error and defaulted to 55. I’ll chat with Alex here at SiteOrigin about your request. I’m sure we can add a filter for the time being to disable the excerpt. If a few more requests for this arise we can add a setting.
I’ve assigned your request here https://github.com/siteorigin/so-widgets-bundle/issues/1647. I’ll let you know as soon as we’ve made progress.
Ok thanks, the new SiteOrigin Blog Widget is great! The “zero” in excert is an important setting for magazine setting… ;-)
Hi Alex
Thanks for the update. Using the Code Snippets plugin, the following can be added:
function siteorigin_blog_widget_set_excerpt_length( $length ) { return 0; } add_filter( 'siteorigin_widgets_blog_excerpt_length', 'siteorigin_blog_widget_set_excerpt_length' );You can name the snippet as you’d like and set it to run on the site front-end before saving and activating.
This is a private message.
Hi Alex
After the next Widgets Bundle release, you’ll be able to enter 0 as the excerpt count without needing either of the above functions. Thanks for your feedback.
Cheers
Andrew
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.