This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: add ajax field onto the page #5932
    Dominik LechnerDominik Lechner
    Participant

    thanks we will try it… Is here a way to receive a result like google just a automatic suggestion? without images?

    in reply to: add ajax field onto the page #5908
    Dominik LechnerDominik Lechner
    Participant

    <div id=”search-form-recipes”>
    <form role=”search” method=”get” id=”search-form” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>
    <input type=”text” name=”s” placeholder=”<?php echo esc_attr_x( ‘Suche hier alle’, ‘progression’ ); ?> <?php $count_posts = wp_count_posts(‘recipe’); echo $count_posts->publish; ?> <?php echo esc_attr_x( ‘Rezepte’, ‘progression’ ); ?>” value=”<?php echo esc_attr( get_search_query() ); ?>”/>
    <input type=”hidden” name=”post_type” value=”recipe” /> <!– // hidden ‘products’ value –>
    <input type=”submit” value=”Los” id=”search-recipes-btn” />
    <div class=”clearfix”></div>

    </form>

    </div>

    </form>

    </div>
    [/php]

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