Move custom fields from sidebar to main content

This topic contains 5 replies, has 2 voices, and was last updated by  Kor 6 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #402098

    boyntonjamie
    Expired Member
    Post count: 25

    Sorry, I can see there are a number of posts about similar things on the forum but I can’t figure out how to make this work for me.

    I’d like to take the custom fields out of the sidebar on the ‘details’ page, and put it under the main content for the place.

    From what I’ve read, I think I need to do a remove_action and an add_action? But I can’t figure out what to add/remove.

    #402109

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Custom fields can be added using this method. https://wpgeodirectory.com/docs/core-place-settings/#show . Have you tried it?

    Thanks!

    #402227

    boyntonjamie
    Expired Member
    Post count: 25

    Hi Kor, I did see this but it doesn’t have the option to place it where I’d like. I want it to go just under the main content of the place/post.

    One solution would be to just add it into the description when creating a place (i.e. the biggest text box on the page when adding a place) – but this would mean lots of copying and pasting, or typing etc. every time.

    I’d like to be able to make a list of ‘amenities’ if you will, and a checkbox allows me to quickly tick off the features that each location has. I’d also like to adjust how they are displayed, for example maybe have bullets for each list item.

    #402282

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Do you think you can share the exact position of the location you’d like to display the custom fields? I’m not sure if I’m getting this correctly. Also, share some links and tell us what are you trying to achieve there. You can post the details here using the private reply option below.

    Thanks!

    #402433

    boyntonjamie
    Expired Member
    Post count: 25

    Nowhere complicated, just below the main body of the post (see image).

    If it’s not overly complex, I’d like for one custom field to be there (as per the image) and another in the sidebar like normal, but I’m worried that may be more difficult.

    #402446

    Kor
    Moderator
    Post count: 16516

    Hi there,

    This would require customization but we’ve provided a code here for our members and I’d like you to give it a try https://wpgeodirectory.com/support/topic/customizing-the-profile-tab-of-the-details-page/#post-388699 .

    Thanks!

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