How to add a default placeholder

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to add a default placeholder

This topic contains 2 replies, has 2 voices, and was last updated by JValens98 JValens98 2 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34705
    JValens98
    JValens98
    Participant

    I made a Custom Field for the authors and i wanted to know if it is possible to add a default value filter:all as a placeholder
    as you se in the attached image the first value Author is the current default which filter all the posts.

    Attachments:
    You must be logged in to view attached files.
    #34725
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Sure, you can do it like this:

    ||Choose one
    {get_values}

    That will display the empty “Choose one” option before all the values.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34729
    JValens98
    JValens98
    Participant

    HI,
    Many thanks!
    Regards,
    Rosa

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.