Table built by search
-
Hi!
Congratulations for the work, it’s very useful.
I was thinking that the table is constructed based on the search made.
I’m new to WP and i don’t know if this code snippet can be used for the above<div style="margin-bottom: 40px;" > <?php $form = '<form role="search" method="get" id="searchform" action="' . esc_url( home_url( '/' ) ) . '"> <div> <label class="screen-reader-text" for="s">' . __( 'Search Sales', 'woocommerce-alter-inventory' ) . ' :</label> <input type="text" value="' . get_search_query() . '" name="s" id="s" placeholder="' . __( 'Sales..', 'woocommerce-alter-inventory' ) . '" /> <input class="button" type="submit" id="searchsubmit" value="'. esc_attr__( 'Search', 'woocommerce-alter-inventory' ) .'" /> <input type="hidden" name="post_type" value="product" /> </div> </form>'; echo $form; ?> </div>
Thanks, greetings from Argentina ??
https://www.ads-software.com/plugins/woocommerce-alter-inventory/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Table built by search’ is closed to new replies.