• Resolved tiitosport

    (@tiitosport)


    Hey support team,

    I recently added the default age filter to the members directory of Ultimate Member plugin, and when I check the members page, the filter appears like an age slider like follows:

    Age : {minimum} – {maximum} ans (“ans” meaning “years old” in French)

    First of all, I’m happy that the filter is a slider and not two separate date pickers because it’s better for the user to use an age slider instead of filtering between two birth dates.

    So I guess this part works fine, but the display of {minimum} and {maximum} is not fine. I expect those macros should be replaced with the lowest and highest values of the database.

    In the profile form, I use the default birth date field (date picker with the meta_key: birth_date), and I picked the user-friendly display setting so users don’t see the birth date and they see “25 years old” instead for example.

    I made sure to check in phpMyAdmin that all users displayed in the member directory (subscriber role) have a birth date in the database. It is a mandatory field for subscribers, so they all have one anyways.

    Do you know what could be the root cause of the display issue of the age slider filter in the member directory?

    I use WP 6.1.1 and UM 2.5.4

    Let me know if you need more information from my side.

    I use the French version of the plugin, so the default date format is “j M Y” (j being the day). I tried switching to “Y M j” but without success.

    Best,

    Tiito

    • This topic was modified 2 years ago by tiitosport.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Age filter not populating minimum and maximum macros automatically’ is closed to new replies.