Skip to:
Content
Pages
Categories
Search
Top
Bottom

Editing year shown in profile field dropdown menu

  • @arielmeadow

    Participant

    I run a community for engaged couples. I have a custom profile field for their wedding date. The YEARS dropdown menu currently shows years from 1902-2037, which is total overkill for my needs. Where can I edit it to only display 2010-2015?

Viewing 1 replies (of 1 total)
  • @vinod-dalvi

    Participant

    You can limit the year in the date selector profile field using bp_get_the_profile_field_datebox filter and modifying the for loop year range as shown in following code :

    http://pastebin.com/PNmTKe8k

Viewing 1 replies (of 1 total)
  • The topic ‘Editing year shown in profile field dropdown menu’ is closed to new replies.
Skip to toolbar