暖岛B2子主题:搜索模块

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

效果图:

暖岛B2子主题:搜索模块

添加代码

按下面步骤来就行。

  • 网站后台-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子主题:活跃用户模块

2021-3-15 17:23:36

WordPress教程

暖岛B2子主题:幻灯设置

2021-3-15 17:29:35

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