control excerpt length by masonry layout id

Home Forums Lite Version control excerpt length by masonry layout id

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #4540

    How can i have different excerpt lengths for different layouts?

    I already use the following:

    add_filter('excerpt_length', 'my_excerpt_length');
    function my_excerpt_length($length) {
       return 25; // Change 25 to your desire length of the excerpts on the Workshop page (WP Masonry Layout Plugin)

    how can i modify this so that it relates to a specific masonry layout id?

    Many thanks for your great plugin

    Masonry Guy

    Hi Olly,

    I did some test but excerpt length as per shortcode is not possible.



    I’m having a similar problem. Because the excerpt length is different in each post the top row is all different, causing the second row to not line up. Is there any way to fix that?
    If nothing else, can we turn off the excerpt and just have the photo and caption?

    Masonry Guy

    Hi Jeffery,

    May be you have used different text length in your post excerpt box ? We use default wordpress excerpt, so if you have kept excerpt text, then it is shown.

    For lite version, there is no settings to remove the excerpt. However, you can hide it with using css.


Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Lite Version’ is closed to new topics and replies.