Ready to get started?Download WordPress


WP Custom Fields Search
Adding placeholder text to text field (2 posts)

  1. jeffreyeric
    Posted 9 months ago #

    HI, is there a way to add a placeholder text to a text field via the shortcode or PHP? or, should i edit the actual plugin files? I'd rather avoid doing that so when an update comes out it doesn't get over written.



  2. absikandar
    Posted 8 months ago #

    I have found a small solution for this.

    We can make Label to appear as Placeholder and then using CSS to hide label.

    Go to PLugin directory and look for the file "extra_search_fields"

    At line number 399, add $placeholder = $this->params['label']; below this.

    And modify the line number 401 to add placeholder='$placeholder'

    Thats all.

    Hope it will help you :)


You must log in to post.

About this Plugin

About this Topic