-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. 如何讓`scrollbar`出現在左側?
- 2. 如何使字段首先出現?
- 3. UIPicker首先出現黑色
- 4. 如何讓我的側邊欄出現在響應式網頁的底部?
- 5. 如何讓UIViewController工具欄出現?
- 6. 如何讓CheckBoxList中的CheckBox出現在我的文本左側?
- 7. CSS - 讓div在標記中首先出現,但在浮動div下面顯示
- 8. 側邊欄出現在wordpress內容下
- 9. wp頁腳出現在側邊欄
- 10. 如何使導航欄僅在moble視圖中摺疊
- 11. 如何讓側邊欄自動伸展
- 12. 如何讓此側邊欄滾動?
- 13. 如何讓側邊欄向上移動
- 14. 我如何讓頁面的頁腳首先在HTML中顯示
- 15. 如何讓Chrome擴展PageAction圖標出現在地址欄中?
- 16. Yii讓jQuery首先加載
- 17. 如何讓新的文檔選項卡出現在右側?
- 18. CSS:如何讓標籤出現在收音機的右側?
- 19. 尋找在辭典的鍵,首先出現在列表中
- 20. 如何讓自側欄固定到自舉的左側3.1
- 21. 如何讓我的側邊欄向右側漂浮?
- 22. 如何使tkinter對話框首先出現?
- 23. 如何設置哪個表單首先出現
- 24. 如何使精確關鍵字搜索首先出現?
- 25. WordPress的側欄區域沒有出現
- 26. Qt的側邊欄出現太寬
- 27. 實現側邊欄
- 28. 如何正確實現固定側欄?
- 29. 響應側邊欄 - 如何實現?
- 30. 如何做出最後上傳的圖片首先出現在foreach循環
我做到了。但在此之後,它會進入頁面的末尾。 – user2322509 2013-05-05 13:06:09