Skip to:
Content
Pages
Categories
Search
Top
Bottom

xprofile displaying field name before content


  • chriscrews
    Participant

    @chriscrews

    I am running a site that embeds various user avatars into a page (using bowe code 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. I’m not sure if I need to add a missing loop into the members page or somewhere else, but it is querying and returning the data fine. 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

  • The topic ‘xprofile displaying field name before content’ is closed to new replies.
Skip to toolbar