• I am running a site that embeds various user avatars into a page (using bowe codes shortcode) without any problems to date. But when I try to add additional xprofile custom field, it adds the name of the custom field before the actual content from that field. You can see a live example of this here.

    So instead of calling to field “Title” and returning the value of that field in place of the code, it returns the field name title followed immediately by the data from that field.

    I have searched through all the forums I could find, but couldn’t find quite the same error, or a fix that would handle this. We have a number of pages that use this same format on our site to highlight various people (ex 1), but this is the first one we are trying to include xprofile data in addition to profile avatar. Any suggestions on how to fix this? Thanks in advance! 😉

    Here’s the backend code for this test page.


    <div class="columns">
    <div class="one-fourth clear">
    [bc_member size="125" name="chriscrews" fields="Title"]
    </div>
    <div class="one-fourth">
    [bc_member size="125" name="chriscrews" fields="Bio"]
    </div>
    <div class="one-fourth">
    [bc_member size="125" name="chriscrews" fields="Academic Interests"]
    </div>
    <div class="one-fourth last">
    [bc_member size="125" name="chriscrews" fields="Website"]
    </div>
    </div>


    The site is running WP 3.9.1 and BP 2.0.1.
    http://www.indiachinainstitute.org

    https://wordpress.org/plugins/bowe-codes/

Viewing 1 replies (of 1 total)
  • Have you tried to set the show_labels parameter to 0 ?

    eg:

    [bc_member size="125" name="chriscrews" fields="Title" show_labels="0"]

Viewing 1 replies (of 1 total)
  • The topic ‘xprofile displaying field name before content’ is closed to new replies.