Skip Navigation

[Resolved] ToolSet Settings Custom Code Missing Description Field

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

Problem:
How to add a Custom Code description to Toolset Custom Code?

Solution:
Read more about the precise steps here https://toolset.com/forums/topic/toolset-settings-custom-code-missing-description-field/#post-1226644
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.

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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Team DNK 5 years, 7 months ago.

Assisted by: Beda.

Author
Posts
#1226580

Hey support,

I'm currently enjoying the Toolset -> Settings -> Custom Code feature. The issue I found is that there is no field that allows me to define the description column of my code snippet. Any help would be greatly appreciated.

Thanks,
Bula

#1226644

When you create a new snippet, there is a default code.

<?php
/**
 * New custom code snippet (replace this with snippet description).
 */

toolset_snippet_security_check() or die( 'Direct access is not allowed' );

// Put the code of your snippet below this comment.

The description you put in "New custom code snippet (replace this with snippet description).", will then appear in the list of code snippets as a description.

#1227473

My issue is now resolved. Thanks!