-1
A
回答
0
找到您的模板文件中的<?php get_sidebar(); ?>
,并将其移动到顶部。所以,例如,当你看到index.php时,你会得到:
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Eleven
*/
get_header(); ?>
<?php get_sidebar(); ?>
<div id="primary">
<div id="content" role="main">
相关问题
- 1. UIPicker首先出现黑色
- 2. 如何让我的侧边栏出现在响应式网页的底部?
- 3. 如何让CheckBoxList中的CheckBox出现在我的文本左侧?
- 4. 如何让UIViewController工具栏出现?
- 5. wp页脚出现在侧边栏
- 6. 如何使导航栏仅在moble视图中折叠
- 7. 如何让侧边栏自动伸展
- 8. 如何让此侧边栏滚动?
- 9. 时,首先呈现
- 10. 我如何让页面的页脚首先在HTML中显示
- 11. 如何让Chrome扩展PageAction图标出现在地址栏中?
- 12. CSS:如何让标签出现在收音机的右侧?
- 13. 寻找在辞典的键,首先出现在列表中
- 14. Qt的侧边栏出现太宽
- 15. WordPress的侧栏区域没有出现
- 16. 实现侧边栏
- 17. 如何使精确关键字搜索首先出现?
- 18. 如何正确实现固定侧栏?
- 19. 如何做出最后上传的图片首先出现在foreach循环
- 20. 获取标签首先在Kivy中出现?
- 21. 侧边栏小工具不出现在WordPress管理面板中
- 22. 如何让jQuery的表演方法,从右侧比左侧出现
- 23. 如何在lower.tri输出中首先选择?
- 24. 如何让dojo.style出现在Firefox中
- 25. 如何让mod_rewrite出现在php.ini中
- 26. 如何让Colorbox出现在div中?
- 27. 如何让Android SlidingDrawer从左侧滑出?
- 28. 如何在Firefox中切换侧边栏
- 29. 如何定义一个只在父元素内首先出现的子元素?
- 30. 如何避免内部div中悬停的内容首先出现?
我做到了。但在此之后,它会进入页面的末尾。 – user2322509 2013-05-05 13:06:09