WordPress暖岛B2子主题:搜索模块教程

释放双眼,带上耳机,听听看~!

暖岛B2子主题搜索模块是一个HTML模块,所以没什么难度。

效果图

添加代码

按下面步骤来就行。

  • 网站后台-B2主题设置-模块设置-首页-添加新模块
  • 模块标题:搜索(可修改)
  • 模块key:search(可修改)
  • 调用内容:HTML

代码

<section class="search">
<h2>暖岛 - 美好生活研究所。</h2>
<form method="get" action="https://zizhuti.nuandao.cn/">
<input type="search" placeholder="输入关键字搜索" autocomplete="off" value="" name="s" required="required">
<button type="submit" class="button">搜你喜欢</button>
<i class="b2font b2-search"></i>
</form>
<div class="searchTag">
<span><i class="b2font b2-hot"></i>热门推荐:</span>
<a href="https://zizhuti.nuandao.cn/style/b2" rel="external nofollow" target="_blank">b2主题美化</a>
<a href="https://zizhuti.nuandao.cn/inspiration/webui" rel="external nofollow" target="_blank">网页灵感</a>
<a href="https://zizhuti.nuandao.cn/theme" rel="external nofollow" target="_blank">免费WordPress主题</a>
</div>
</section>

将上面网址修改成自己的网址即可

给TA打赏
共{{data.count}}人
人已打赏
杂乱教程

Wordpress暖岛B2子主题:活跃用户模块教程

2022-4-10 20:20:01

杂乱教程

Wordpress暖岛B2子主题:幻灯设置教程

2022-4-10 20:23:36

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
今日签到
有新私信 私信列表
搜索