How do you get custom field to show in the listing area and not the sidebar?

This topic contains 5 replies, has 2 voices, and was last updated by  Kathy Long 4 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #540484

    Kathy Long
    Expired Member
    Post count: 71

    I created a custom field called “short description” that I want to show on the detials page under the title — not the sidebar. I also want the standard “special offers” field to show there as well. But this option is not available in the “extra output locations.”

    How can I put these fields where I want on the details page?

    #540502

    Alex Rollin
    Moderator
    Post count: 27815

    The main area , you can either edit the GD Details template, or, visit the Tabs UI.

    Either one will allow you to add your custom fields in the main area.

    #540525

    Kathy Long
    Expired Member
    Post count: 71

    I’m sorry. I didn’t know you had to be a developer to set this up, so please excuse my ignorance.

    How do I get the custom field in there? I’m assuming with a short code so I tried [short_description], then [gd_short_description]. Nothing gets replaced.

    #540587

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    GD has a lot of options, it’s true. Most other plugins don’t come with a complete system for custom fields, templates, and UX, so, the number of configuration options for GD can be a little overwhelming. That’s why the setup wizard will get you a working setup with a couple button clicks.

    Once you have the site setup, you should make a choice about how you will edit templates.

    Most people use the tabs.

    https://wpgeodirectory.com/docs-v2/places/tabs/

    In that screen, click the field you want and it shows up in the tabs. No shortcodes needed.

    If you want to use shortcodes, you can use them in the tabs, too. There is a shortcode field there to use.

    You can also edit the template directly. That is the GD Details template that controls how the listing pages work.

    I recommend you use the classic editor with the shortcode builder. This page describes how to set those up.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    Once you have that in place, you can use the shortcode builder to access configuration options for all the GD shortcodes.

    You might use GD Post Meta to display fields.

    https://wpgeodirectory.com/docs-v2/design/gd-post-meta/

    #540769

    Kathy Long
    Expired Member
    Post count: 71

    I’m probably not your typical user. Conversion optimization is my schtick, so having the ability to put a custom text field wherever I want is really important. I don’t want to put it in a tab. That would completely defeat the purpose of what I’m trying to accomplish.

    I know about the shortcode builder and I have to say, it’s brilliant!!! You guys rock. But my problem is my custom fields are not in the builder. So then what do I do? That’s really where I’m stuck here. I don’t need a filter or anything fancy. I just want my custom field to print to the page wherever I put it in the template.

    How is the question when it’s not available to me in your shortcode builder. Must be obvious, but I’m not getting that piece.

    Thanks so much!

    #540815

    Kathy Long
    Expired Member
    Post count: 71

    I figured it out. GD Post meta did the trick.

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

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

Open Support Ticket