Hi @bdorat, the result of that code depends on the theme CSS,
Could you post the URL where are you trying to put these 3 fields on one line? I can have a look and maybe I can come up with a CSS snippet to achieve your goal on your particular page 🙂
Have a wonderful day!
Alex.
Hi @alexmoise I am also using this excellent code you provided on another thread. That topic is closed, so I am adding to this one, which is wrong but still related so hopefully I don’t get in trouble!
So, at the bottom of this code is a function to remove the default comment field so it won’t appear twice. Unfortunately the result of this is that, while people not logged in will see my form as I want it to be seen, people already logged in see no comment area to fill in.
How can I set that last bit to only suppress the default if someone is *not* logged in?
Thanks!
-
This reply was modified 5 years, 3 months ago by
janew.
Hi @janew , that could be easily done by adding an IF in the mo_remove_default_comment_field() function, checking for is_user_logged_in() condition or something similar.
If you need help with that please open a new topic and mention me there and I’ll have a closer look – just to avoid any trouble we both could get in by “hijacking” an old topic 🙂
Best regards,
Alex.
-
This reply was modified 5 years, 3 months ago by
Alex Moise.
(@bdorat)
5 years, 7 months ago
Hello everybody! Hello @alexmoise,
In wordpress, using Divi theme, i try to reorganize in a compact way my comment template… wihtout any success. I try the comments.php, the comment-template.php and a lot of others php files without success.
Goal: align on the same line, for the comment aera, the name (comment-form-author), the url and the email. To save space.
Source for help:
– https://wordpress.org/support/topic/change-comments-form/
– https://divi.space/css-and-jquery/how-to-edit-the-divi-comments-section-without-a-plugin/
And try to adapt this code from Alex, but can’t find a way to display them in a table with 3 columns.
In advance, thanks a lot for your help!!