Hide Field Label

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 4 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #540310

    Andy Mattock
    Expired Member
    Post count: 2

    Hi

    I wanted to hide the field data from my GD Details pages.
    For example, I have a Text field for ‘Service Provided’.
    I only want the information entered in the field and not the actual Field label to appear.

    I found this post which suggests using custom css but as far as I can tell (when using inspector) the label is only controlled as a span, so when I add CSS it hides more content than I’m trying to target.

    I guess, ideally, as a future request there should be a checkbox in the advanced settings in the specific custom field that allows you to hide the label on the front end.

    Thanks
    Andy

    #540317

    Guust
    Moderator
    Post count: 29970

    You can do that using a shortcode like

    [gd_post_meta key="service_provided" show="value"]

    That will only show the value entered, in your case “Herbalist”.
    Adjust the key as required.
    You can also use a block or a widget to achieve the same.

    Thanks

    #540573

    Andy Mattock
    Expired Member
    Post count: 2

    Hi Guust
    That shortcode was perfect – thanks.

    #540582

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount