Wordpress 如何使边栏在移动中首先出现?
我怎样才能使边栏在2011年主题的内容之前出现 现在,如果我将浏览器侧栏的大小调整到末尾,我需要在Mobile中首先添加侧栏。在模板文件中找到Wordpress 如何使边栏在移动中首先出现?,wordpress,Wordpress,我怎样才能使边栏在2011年主题的内容之前出现 现在,如果我将浏览器侧栏的大小调整到末尾,我需要在Mobile中首先添加侧栏。在模板文件中找到,然后将其移动到顶部。例如,当您查看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 f
,然后将其移动到顶部。例如,当您查看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">
是的。但在那之后,它会转到这一页的末尾。