Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Reduce Excerpt text length

Home / Forums / Virtue Theme / Reduce Excerpt text length

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
December 12, 2013 at 7:38 am

Hi Ben,

I’m showing two blog posts on the home page but as some posts titles are quite long the height of the two boxes varies.

I know this has come up before but rather than increase the box height I’d like to reduce the excerpt text count so the boxes stay the same height as the thumbnail images (270px?). The post titles are more relevant on the home page than the body of the text.

I tried using a bit of code in my child themes functions.php to set a new excerpt_length but this does not appear to work. I understand this can be theme related so thought I’d better ask you if it can be done?

Many thanks for your help

Steve

  • The forum ‘Virtue Theme’ is closed to new topics and replies.