Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1276486

    Hey, so I’m building this website and I’m using a plugin to build out a blog grid. Here is the link: https://hemefoundation.org/learn/

    Seems simple enough, but I’ve tried several plugins, and I always run into the same issue. For all of the plugins, the content word limit just simply doesn’t work… and in this case… on the second page (of pagination) … for article 1… the thing just breaks.

    I’m not sure if there is a PHP conflict somewhere, but this doesn’t seem to be specific to the plugin… its seems to be an issue with the site itself.

    Is there a way to solve this?

    Cheers,
    -Daniel

    #1276843

    Hey Dzimnikov,

    It seems you are using a Code Block for it.
    If you use a Blog Post element, try using this hook:

    add_filter('avf_postgrid_excerpt_length','avf_increase_postgrid_excerpt_length', 10, 1);
    
    function avf_increase_postgrid_excerpt_length($prepare_excerpt) {
      $prepare_excerpt = 300;
      return $prepare_excerpt;
    }

    Hope it helps.

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.