Skip Navigation

[Resolved] html in description field for custom fields in WP admin?

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

Problem:

I want to add an helper image for a custom field description in WP admin.

Solution:

You can save HTML codes into field description option directly, for example:

https://toolset.com/forums/topic/html-in-description-field-for-custom-fields-in-wp-admin/#post-1875443

Relevant Documentation:

This support ticket is created 3 years, 4 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.

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 2 replies, has 2 voices.

Last updated by Simon 3 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#1875397

I want to add an helper image for a custom field description in WP admin.
I guess that all html tags and attributes are removed before inserting in database due to security.
Is it possible to change this to allow html in description fields in WP-admin?

#1875443
field-desciption.JPG

Hello,

I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins, I can save HTML codes into field description option without any problem, for example:

<a href="<em><u>hidden link</u></em>">google</a>
<img src="<em><u>hidden link</u></em>" />

see my screenshot field-desciption.JPG

Please provide detail steps to reproduce the same problem, thanks

#1875487

My issue is resolved now. Thank you!

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