Profile tab in bubble map

This topic contains 3 replies, has 3 voices, and was last updated by  Diego Betancourt 7 years, 2 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #365361

    Diego Betancourt
    Free User
    Post count: 6

    Hi.

    I´ve added this hook to the function.php child theme in order to show the profile description tab into the bubble map. I followed some tutorials but no results. Can someone give me some advice?

    https://wpgeodirectory.com/support/topic/show-profile-description-in-bubble-map/
    https://wpgeodirectory.com/support/search/?bbp_search=geodir_custom_infowindow_html

    /**
    * Filter to change infowindow html
    *
    * You can use this filter to change infowindow html.
    *
    * @since 1.0.0
    * @package GeoDirectory
    * @param string $html Infowindow html.
    * @param object $postinfo_obj The Post object.
    * @param bool|string $post_preview Is this a post preview?
    */

    $html = apply_filters(‘geodir_custom_infowindow_html’, $html, $postinfo_obj, $post_preview, $geodir_post_detail_fields);
    return $html;

    #365377

    Paolo
    Site Admin
    Post count: 31206

    hi,

    I’ve alerted the developers, they’ll let you know after the week end.

    Thanks

    #365536

    Kiran
    Moderator
    Post count: 7069

    Hi Diego,

    Use this code snippet to show description on map bubble. https://gist.github.com/kprajapatii/0df26fa31bbfc9e9bb270f147899f583

    You can find two hooks in snippet code. One is used to show description BEFORE custom fields and other is used to show description AFTER the custom fields on bubble map.

    Thanks,
    Kiran

    #365607

    Diego Betancourt
    Free User
    Post count: 6

    Hi Paolo and Kiran.

    I really appreciate your help. Kiran, the code works perfectly, well explain and easy to customize for the limit the character count.

    Thanks again for the support.

    🙂

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