Custom fields not shown in map bubble/details page sidebar

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

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

Open Support Ticket
  • Author
    Posts
  • #510896

    Andrew
    Expired Member
    Post count: 197

    Hi,

    I’ve configured several custom fields to be shown in the map bubble and the details page sidebar but they’re not being shown in either. See screenshots.

    Any ideas?

    Thanks,
    Andrew

    #510955

    Guust
    Moderator
    Post count: 29970

    PLease post your URL and WP admin details in a private reply and we will check it out.
    Also gives us the URL of the detail page in question.

    Thanks

    #510997

    Andrew
    Expired Member
    Post count: 197
    This reply has been marked as private.
    #511029

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    For the details page I see them working at the link you shared, x_accessible_entrance: Yes
    x_assistance_animal_friendly: Yes

    Listimia does not use GD Output Location for the Map Bubble, you will need to talk to them about that.

    #511030

    Guust
    Moderator
    Post count: 29970

    I added the GD Output Location widget to the Detail page sidebar, that will show all fields marked for the sidebar now. Adjust as required.

    The map bubble issue is because Listimia overwrites the GD map bubble.
    Check this file: /wp-content/themes/listimia/geodirectory/map-popup.php
    You can add the relevant shortcode to display the fields there, similar to what is on line 22 of that file.

    <div class="py-1">[gd_post_meta key='x_accessible_entrance' show='icon-value' alignment="left"]</div>

    Thanks

    #511181

    Andrew
    Expired Member
    Post count: 197

    Hi Guust,

    Thanks for your reply.

    The sidebar is functional now (as you mentioned), except I’m trying to remove the space between the ‘text’ attribute and the ‘gd output’ attribute in the details page sidebar, but no luck. I’ve created a separate request here: https://wpgeodirectory.com/support/topic/cannot-create-neat-heading-above-gd-output-on-details-page-sidebar/

    Adding that piece of code you listed into the map-popup.php file doesn’t actually make it appear in the map bubble. I also tried duplicating line 22 (with the phone attribute) but that wasn’t reflected in the map bubble either. Any ideas on this one?

    Thanks,
    Andrew

    #511293

    Guust
    Moderator
    Post count: 29970

    Make sure that the change is saved and accepted.
    You should also copy the file to the child theme or you will loose the data when the parent theme is updated.
    You need to use the correct field key, which is accessible_entrance.
    Please check now. Thanks

    #511294

    Andrew
    Expired Member
    Post count: 197

    Hi Guust,

    Looks like that worked, not sure why it didn’t before …

    Note that firstly it was only showing the icon, but then I removed the “show=’icon-value'” property and it displayed the property name and value as well.

    Thanks,
    Andrew

    #511355

    Guust
    Moderator
    Post count: 29970

    I corrected to the correct field key. That is why it started working.

    Thanks

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

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

Open Support Ticket