i want to make a redirect with the search from users term/query from the user. the term should be after the s=
and before the &post_type=post
thanks for help
this is my code but i get critical error on wordpress:
<p class="woocommerce-info"><?php wp_redirect( "/?s="<?php echo get_search_query(); ?>"&post_type=post" ); ?></p>
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742352037a4427711.html
评论列表(0条)