最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Wordpress怎么让自带的侧边栏和自定义的侧边栏同时存在
时间:2013-05-20 编辑:简简单单 来源:一聚教程网
修改前:
代码如下 | 复制代码 |
ul id=”sidebar”> php /* Widgetized sidebar, if you have the plugin installed. */ li> ul> |
php endif;
修改后:
代码如下 | 复制代码 |
php /* Widgetized sidebar, if you have the plugin installed. */ php endif; h2> |
归档
此处省略部分代码….
其实也就是把
代码如下 | 复制代码 |
php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar() ) : |
此处省略部分代码…
关于动态sidebar的内容放到默认的前面,不让它替换默认的就可以了.
-
上一个: wordpress 读者墙实现程序代码
相关文章
- WordPress文章列表添加自定义字段方法 11-12
- HTML简单购物数量小程序代码展示 10-31
- html canvas实现弹幕功能 10-31
- HTML中空格表示的意义 10-31
- html area标签解读 10-31
- html使用表单标签实现注册页面代码展示 10-31