lobbit
Forum Replies Created
-
I have the same problem. If I wanted to modify it by myself, on which file should I work? because I deleted the amount locked to 1 in the class-lp-cart.php file but it doesn’t work
Forum: Developing with WordPress
In reply to: How do I remove comments entered by a specific user?This code, where I to add it? In function.php
Forum: Developing with WordPress
In reply to: How do I remove comments entered by a specific user?I know, but the method you referred to did not take the id of the user I want, but none at all. So, I solved it by hiding all the comments posted by that user anywhere, entering the code in the comment template. Do you have another solution?
Forum: Developing with WordPress
In reply to: How do I remove comments entered by a specific user?Thanx very much. I changed your code like this:
<article id=”div-comment-<?php echo comment_ID() ?>” class=”comment-body comment-user-id-<?php echo $post->post_author ?>”>
because using user_id it took me the id of the current user and not the one related to the user I wanted.
Thank you again
Forum: Developing with WordPress
In reply to: How do I remove comments entered by a specific user?We hypothesize that I now insert a comment in this forum… I would need the comments entered by my user to be hidden (only mine) using a script. This because I need the wordpress core to count the comments made by that user, but I don’t want them to be seen
Forum: Developing with WordPress
In reply to: How do I remove comments entered by a specific user?Thanx for your reply, but I need only to hide the comments a specific user.
That’s right, the error is with the Twig library. In fact, the Synaptics plugins use it and it conflicts. So I’m going to downgrade MailPoet waiting for your update.
Thanks a lot