• How do I put placeholder text in the search field when I have the search option enabled? (after the year, make, model fields).

Viewing 1 replies (of 1 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to replace the line:

    
    <input class="input-text ymm-search-field" type="text" name="s" value="<?php echo isset($_GET['s']) ? htmlspecialchars(stripslashes($_GET['s'])) : ''; ?>"/>
    

    with:

    
    <input class="input-text ymm-search-field" type="text" name="s" value="<?php echo isset($_GET['s']) ? htmlspecialchars(stripslashes($_GET['s'])) : ''; ?>" placeholder="my_place_holder_here" />
    

    in the file:
    wp-content/plugins/ymm-search/view/frontend/templates/selector.php

    Stanislav

Viewing 1 replies (of 1 total)
  • The topic ‘Placeholder text for Search Field’ is closed to new replies.