Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

bug? missing location text on member profile card and header

This topic is resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • lalaine
    Participant
    • 11 Topics
    • 22 Posts
    @lalaine

    if you could please take a look only change made was i had to deactivate GEO my WP
    for BP Maps for Members as suggested by BP xProfile Location plugin

    see before and after attachments
    Thanks

    Ive changed the previous login i gave you before

    lalaine
    Participant
    • 11 Topics
    • 22 Posts
    @lalaine
    This reply has been marked as private.
    lalaine
    Participant
    • 11 Topics
    • 22 Posts
    @lalaine

    any updates?

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @lalaine,

    Our developers are looking for the root cause of this issue. We’ll be back to you ASAP.

    Regards,

    lalaine
    Participant
    • 11 Topics
    • 22 Posts
    @lalaine

    ok thanks

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi @lalaine,

    Thank you for your patience. As a matter of fact, the Location field that you have probably created -as recommended by the plugin author- is never printed in any pages by Gwangi.

    To change this and display it’s value next to your member avatar, please add the following code snippet to your website:

    if ( ! function_exists( 'gwangi_buddypress_member_location' ) ) :
        /**
         * Print the HTML for the BP xProfile Location field.
         *
         * @since 1.0.0
         */
        function gwangi_buddypress_member_location() {
            if ( function_exists( 'xprofile_get_field_data' ) ) :
                $location     = xprofile_get_field_data( 'Location', bp_get_member_user_id() );
                $allowed_html = array(
                    'a' => array(
                        'href' => array(),
                        'rel'  => array(),
                    ),
                );
                if ( ! empty( $location ) ) : ?>
                    <div class="bp-member-xprofile-custom-field bp-member-location"><?php echo wp_kses( $location, $allowed_html ); ?></div>
                    <?php
                endif;
            endif;
        }
    endif;

    To add this code snippet to your site, we recommend that you use a the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). If you have never activated this plugin, please read the following post:

    Adding Custom PHP Without Changing Your Child Theme

    We hope this will solve your issue. ?

    Best,

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

The topic ‘bug? missing location text on member profile card and header’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site