Join the Voxel Guide Community!

Get Involved

Display form field descriptions by default, without requiring users to click the info icon.

Description/Instructions

From time to time someone on the group asks about this, so I decided to add something here that got lost on the getvoxel.io forum, and the solution itself was added by Arian.

Copy templates/widgets/create-post/title-field.php to child theme

Simple change, but you have to do it for every field in the create-post folder

Instructions

Find this part 

<div class="vx-dialog" v-if="field.description">
<?= \Voxel\get_icon_markup( $this->get_settings_for_display('info_icon') ) ?: \Voxel\svg( 'info.svg' ) ?>
<div class="vx-dialog-content min-scroll">
<p>{{ field.description }}</p>
</div>
</div>

  • HTML
Copy Code

Instructions

Replace with this 

<small>{{ field.description }}</small>

  • HTML
Copy Code

Let's Chat About this Snippet

Chat Toggle
Voxel Guide AI
Voxel Guide AI
Voxel Guide AI
Voxel Guide AI
Ask me anything about Voxel!
Send
Powered by AI24