Home › Toolset Professional Support › [Resolved] Want to hide part of standard comment text
Problem:
hide part of standard comment text:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <del datetime=""> <q cite=""> <s> <strike>
Solution:
In your case, you can hide it with simple CSS codes, for example:
p.form-allowed-tags + pre{ display: none; }
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
Tagged: Toolset Starter Theme
This topic contains 3 replies, has 2 voices.
Last updated by Luo Yang 6 years, 3 months ago.
Assisted by: Luo Yang.
I want to use the standard WordPress comments box on a site.
If you have a look to hidden link
[php] <del datetime=""> <q cite=""> <s> <strike> ' which is just below the comments box.
Is there anyway to hide this text using CSS?
Otherwise could you tell me which file the text is contained in so I can change it at source.
Regards
Robert
Dear Robert,
The Comment form is defined in your theme files, for example, in wordpress default theme 2017, it is file "comment.php",
In your case, you can hide it with simple CSS codes, for example:
p.form-allowed-tags + pre{ display: none; }
Dear Luo
Thanks for your advice. Your code works perfectly.
Regards
Robert
You are welcome