Why content in my page can’t display?
-
I edit a new page,here is the content.
Publish and view it.
Why nothing display?
The theme is twentyfourteen
sudo cat /var/www/html/wp/wp-content/themes/twentyfourteen-child/page.php<?php /* Template Name: Custom Front Page */ ?>
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that
* other ‘pages’ on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/get_header(); ?>
<div id=”main-content” class=”main-content”>
<div id=”primary” class=”content-area”>
<div id=”content” class=”site-content” role=”main”>
<p>it is a test</p></div><!– #content –>
</div><!– #primary –>
<?php get_sidebar( ‘content’ ); ?>
</div><!– #main-content –>
<?phpWhy all the double quotation marks are ” instead of ” ,and single quotation mark is ‘ instead of ‘ ?
1.How to display my page?
2.The quotation marks are in right format?
- The topic ‘Why content in my page can’t display?’ is closed to new replies.