Announcement

Collapse
No announcement yet.

Display Custom Field on Memberlist

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Display Custom Field on Memberlist

    How to display some of my custom fields on memberlist.php?

    I have several custom fields and I want this custom fields display on my memberlist.php, how to do that?

    I was setting my custom field like this

    Show on Members List *Yes No

    But why, when I try to check on my member list, my custom fields doesn't show up? when I need to edit the templates, which one?

    I also need to make my custom fields sort able

    How to do that?

    Thanks
    Free WordPress Themes
    Please Join #1 Indonesia WordPress Community

  • #2
    Have you edited any of the MEMBERLIST templates? If so, make sure that this is still intact within the MEMBERLIST template:

    Code:
    <if condition="$show['customfields']">$customfieldsheader</if>
    and that this line is still intact within the memberlist_resultsbit template:

    Code:
    <if condition="$show['customfields']">$customfields</if>
    Twitter

    Comment


    • #3
      Originally posted by Gray Matter View Post
      Have you edited any of the MEMBERLIST templates? If so, make sure that this is still intact within the MEMBERLIST template:

      Code:
      <if condition="$show['customfields']">$customfieldsheader</if>
      and that this line is still intact within the memberlist_resultsbit template:

      Code:
      <if condition="$show['customfields']">$customfields</if>
      What must I edit?
      Free WordPress Themes
      Please Join #1 Indonesia WordPress Community

      Comment


      • #4
        Originally posted by jauhari View Post
        What must I edit?
        You don't have to edit anything unless you've removed those two lines of code. Have you?
        Twitter

        Comment


        • #5
          Originally posted by Gray Matter View Post
          Have you edited any of the MEMBERLIST templates? If so, make sure that this is still intact within the MEMBERLIST template:

          Code:
          <if condition="$show['customfields']">$customfieldsheader</if>
          and that this line is still intact within the memberlist_resultsbit template:

          Code:
          <if condition="$show['customfields']">$customfields</if>
          Thanks, right now my problem was solved, I just need to setting on user listing and profile viewing.
          My next question is, how to add sorting by custom field?

          Please Help
          Free WordPress Themes
          Please Join #1 Indonesia WordPress Community

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X