Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15103

    hi,

    can i put search products instead of search in the dynamic template when i choose heading+ social and search bar

    #86225

    Open up searchform.php and replace:

    <form action="<?php echo home_url( '/' ); ?>" id="searchform" method="get">

    with:

    <form action="<?php echo home_url( '/' ); ?>" id="searchform" method="get" role="search">

    and:

    <input type="text" id="s" name="s" value="<?php _e('search site','avia_framework')?>"/>

    with:

    <input type="text" id="s" name="s" value="<?php _e('search site','avia_framework')?>"/>
    <input type="hidden" value="product" name="post_type">

    #86226

    thanks

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

The topic ‘serach product instead of search in heading+search dynamic template’ is closed to new replies.