0
我有一个插件可以在WordPress中显示优惠券代码列表。我想在优惠券页面中放置搜索框来搜索优惠券代码。在pluign页面上的WordPress搜索
<form method="get" id="searchform" action="">
<input type="text" value="Search" name="s" id="s" />
<input type="hidden" name="cat" value="5" />
<input type="submit" id="searchsubmit" value="Search" />
</form>
当我点击搜索按钮时,它将我重定向到wordpress后页而不是插件默认页面。
建议我在插件页面中执行搜索的工作解决方案。
没有人对自定义帖子类型的搜索有任何解决方案。 – 2013-02-12 05:20:48