Skip Navigation

[Résolu] ToolSet Settings Custom Code Missing Description Field

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

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

Marqué : 

This topic contains 2 réponses, has 2 voix.

Last updated by Team DNK Il y a 5 années.

Assisted by: Beda.

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

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