T_eki_
Forum Replies Created
-
I copied the full-width.php to single-event.php
full-width.php
<?php /** * Template Name: Full Width Page * * @package WordPress * @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ get_header(); ?> <div id="main-content" class="main-content"> <?php if ( is_front_page() && twentyfourteen_has_featured_posts() ) { // Include the featured content template. get_template_part( 'featured-content' ); } ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php // Start the Loop. while ( have_posts() ) : the_post(); // Include the page content template. get_template_part( 'content', 'page' ); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) { comments_template(); } endwhile; ?> </div><!-- #content --> </div><!-- #primary --> </div><!-- #main-content --> <?php get_sidebar(); get_footer();The diferent to the normal side is that there is no entry for the right sidebar.
There was no diferent to the other configuration.
I tested it with the single-event.php. Nothing changed.
As in the tutorial, I copied the config of the body-clas from a page with full-width:
class="page page-id-6 page-child parent-pageid-4 page-template page-template-page-templatesfull-width-php custom-background masthead-fixed full-width singular"Hi,
the new site is secured with .htaccess, at the moment. 🙁
I did to screenshots:
1) Setting:”Full-width template” // Body Classe: empty
http://s1.directupload.net/images/140205/ekv5evmt.png
2)Setting:”Full-width template” // Body Classe: “full-width”
http://s1.directupload.net/images/140205/nmemgvwj.png
With the secound optinon, the content move only right