Navigation überspringen

[Gelöst] ToolSet Settings Custom Code Missing Description Field

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 5 Jahren, 10 Monaten. 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.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Team DNK vor 5 Jahren, 10 Monaten.

Assistiert von: Beda.

Author
Artikel
#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!