Skip Navigation

[Résolu] Want to hide part of standard comment text

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 5 années et 7 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. 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 réponses, has 2 voix.

Last updated by Luo Yang Il y a 5 années et 7 mois.

Assisted by: Luo Yang.

Auteur
Publications
#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.