Adding Placeholder Text to Search Field
-
I’m trying to add placeholder text to the search field that gets displayed by the shortcode “pdb_search”. The shortcode works great but I want to add the placeholder text in the input field.
I see that in /templates/pdb-list.detailed.php, there is a comment that suggests adding it there. For some reason it’s not working. I’ve cleared server/browser cache.
Any ideas or am I doing it wrong?
Here is what I have:
<input placeholder="My Placeholder Text" id="participant_search_term" type="text" name="value" class="search-item" value="<?php echo $this->list_query->current_filter('search_term') ?>">
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding Placeholder Text to Search Field’ is closed to new replies.