Extra Year on Dropdown Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Extra Year on Dropdown This topic has 4 replies, 2 voices, and was last updated 3 months, 2 weeks ago by rawmix. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts February 13, 2026 at 3:01 am #56976 rawmixParticipant Hi Ernest I’m using a dropdown to. show a custom Published Year with the following codes: ||Any year** {get_values} However, I just realised there is a year 2997 at the end of the dropdown. I can’t remove it, and this value is not in the database. Can you advise please? Thanks Best Regards Din February 13, 2026 at 3:46 pm #56980 Ernest MarcinkoKeymaster Hi Din, Sure! There is an exclude argument for get values, so you can exclude it simply like so: {get_values exclude="2997"} This should do the trick. February 14, 2026 at 12:04 pm #56982 rawmixParticipant Thanks Ernest! That works. February 14, 2026 at 12:13 pm #56983 Ernest MarcinkoKeymaster You cannot access this content. February 14, 2026 at 12:29 pm #56984 rawmixParticipant Yes please close. Thanks again. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) The topic ‘Extra Year on Dropdown’ is closed to new replies.