Hi @webepc ,
First of all, Sorry for the late response.
I didn’t find any text text the “previous / next” in the Post Grid widget in your page.
Can you please indicate with screenshot so that I can understand better.
Thanks!
Hi @webepc ,
Since this texts comes firstly from the content, So this is not possible to prevent this as a excerpt in the Post Grid widget.
Have a look: https://d.pr/v/mQhprK
Hope you understand.
Thanks!
is it not possible to somehow exclude a part of the characters from the content?
Hi @webepc ,
Sorry for the late response. Hope you’re doing good.
One good news for you. You can add this custom JS in your page to get this done:
var x = document.querySelectorAll(".eael-post-grid-container .eael-grid-post-holder .eael-grid-post-excerpt p");
for (var i = 0; i < x.length; i++) {
if(typeof x[i].innerText !='undefined' && x[i].innerText !=''){
x[i].innerText = x[i].innerText.replace("Precedente Successivo", "");
}
}
You can add custom JS by using our Custom JS extension of Essential Addons for Elementor: https://essential-addons.com/elementor/docs/custom-js/
Thanks!
This JS code removing all post the text?
Hi @webepc ,
This JS will remove the the “Precedente Successivo” text from your posts excerpt.
Have a look of this video: https://d.pr/v/LEB1tU
Thanks!
Thanks! the theme I use allows the addition of custom js and, with the code you provided me, the problem is solved!