WordPress 搜索结果少一个“,代码在哪个文件

2018-08-23 13:23:19 +08:00
 ourunnet

searchform.php

<form action="<?php echo esc_url(home_url('/')); ?>" class="search-form" itemprop="potentialAction" itemscope="" itemtype="http://schema.org/SearchAction" method="get" role="search"> <meta content="<?php echo esc_url(home_url('/?s={search} '));?>" itemprop="target"> <input class="search-field" itemprop="query-input" name="s" placeholder="<?php echo esc_attr_x('Search &hellip;', 'placeholder', 'wordstar'); ?>" required="" title="<?php echo esc_attr('Search','wordstar');?>" type="search" value="<?php echo get_search_query();?>"> <button class="search-submit" type="submit"> </button> </form> 后台有一个搜索文件,没找到修改地方。
1421 次点击
所在节点    程序员
2 条回复
ourunnet
2018-08-23 13:39:11 +08:00
望得到好人指点
Keyblade
2018-08-23 15:01:49 +08:00
兄弟你 2014 年开始建站这么多年了一点技术都没有学习吗

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/482500

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX