Skip to:
Content
Pages
Categories
Search
Top
Bottom

Editing year shown in profile field dropdown menu

  • Avatar of arielmeadow
    arielmeadow
    Participant

    @arielmeadow

    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)
  • Avatar of Vinod Dalvi
    Vinod Dalvi
    Participant

    @vinod-dalvi

    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)

You must be logged in to reply to this topic.