Skip Navigation

[Resolved] Want to hide part of standard comment text

This thread is resolved. Here is a description of the problem and solution.

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 support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Our next available supporter will start replying to tickets in about 1.60 hours from now. Thank you for your understanding.

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)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 5 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#1097935

I want to use the standard WordPress comments box on a site.

If you have a look to hidden link

I cannot hide the text '<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> [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

#1098400

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;
}
#1098789

Dear Luo

Thanks for your advice. Your code works perfectly.
Regards

Robert

#1098834

You are welcome

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.