Omit or relocate 'description'

Is it possible to omit this from the registration forms? OR can it be moved from the ‘page’ location to somewhere else on the page?

Hi @Knode,

If you mean the default description field on the listing submission form, you can use the following code snippets to make the field non-required, and the other snippet will hide the field from the form.

These are both PHP snippets which you can add via the Code Snippets plugin for easy maintenance without having to dig through and remember which files/folders you added code to at a later date, should you need to for whatever reason.

Here’s some information on adding snippets, in case you’re unfamiliar with it.

Edit: The Code Snippets plugin automatically adds the <?php part, so you don’t need to add it again when copying over the snippets.

I hope this helps!

Cheers,
Chris :victory_hand:

Thanks for the info Chris! Very helpful! I am not familiar with code, snippets, etc. at all - but it is good to know that this option exists and I can look into how to hide the field. Thank you!

2 Likes

You’re welcome, @Knode! :slight_smile:

Don’t worry, it’s not as scary as it sounds. Essentially, just install the Code Snippets plugin, visit it and click Add New, then paste in the snippets I linked to above; minus the <?php part at the beginning of each code. You can put both Snippets in the same snippet you’re creating in Code Snippets, or keep them separate.

Finally, if the snippet has a number like 1000 near the end, copy this into the Priority box in the right sidebar to ensure the snippet runs after everything else has finished loading. Depending on the snippet you can adjust whether to restrict it running on the front-end, back-end, but generally leaving the default setting of both won’t cause much harm.

I hope this helps!

Cheers,
Chris :victory_hand:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.