Okay
  Public Ticket #2541243
Words Count in Post Carousel
Closed

Comments

  • Romain started the conversation

    Hi,

    I'm trying to use your post carousel from your plugin. In the example shawn of the demo page, it seems that you have limited the number of words in the excerpt since you have only few followed by ... while in my case it seems to show the entire excerpt. I see in the html code that you use this by default : {{item.post.intro|raw}}, but how does this variable work and how to modify it ?

    Thanks,

    Romain

  •  1,174
  • Romain replied

    Yes, you understood correctly and perfectly answer my question, thanks. Unfortunately it doesn't work... When adding the filter, I just got message stating :

    Unlimited Addons Error: Error in addon Post Classic Carousel, Unknown "truncate" filter in "item" at line 8.

    I also add a message related to another post mentioning about the Instagram feed widget not working anymore, any update on this ?

  •   Max replied privately
  •   Romain replied privately
  •   Max replied privately
  • Romain replied

    I put the post carousel from your plugin on the front page : La Thaïlande et l’Asie (on the page list)

  •   Max replied privately
  • Romain replied

    You have to understand that right now you obviously can't see the error since I deleted the piece of code which include the truncate filter, the page being live I cannot leave an error like that. I'll disable the jetpack security so that you can add and test the filter but I'm not currently home until Wednesday. I'll let you know when you can check. 

    Regards, 

    Romain 

  •   Max replied privately
  • Romain replied

    I think you misunderstood me, creating a specific page to show you the error won't change that the error appear wherever I've already put the post carrousel, as long as I add the filter. Anyway, so that you can have a look, this is right on the main page : https://www.thailande-et-asie.com/

    You should see it under "MES COUPS DE COEUR" where you should read : Unlimited Addons Error: Error in addon Post Classic Carousel, Unknown "truncate" filter in "item" at line 8.

    Regards.

  • Romain replied

    From what I understand, your files does not include the twig extension to use the truncate filter, if I'm write, I just don't know where to add the necessary piece of code...

  •   Max replied privately
  • Romain replied

    Hi,


    why not adding this filter on first place? Works like a charm now, thanks a lot.

  •   Max replied privately
  • Romain replied

    Interesting, so according to you, elementor is way better than wp bakery if you put more effort in it? Or just more successful? 

  •   Max replied privately
  • Romain replied

    Ok, thanks for that's insight. Maybe I should think about switching. Thanks again.