Post whit out sidebar
-
Ey! I need to make some post whith out the sidebar in the right size. I have instaled the plugin “Single Post Template” and I have make a new post template in my panel like this:
<?php
/**
* Template name: post with out sidebar
*/get_header(); ?>
<div id=”primary” class=”content-area eleven columns”>
<main id=”main” class=”site-main” role=”main”><?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?><?php
/* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );
?><?php endwhile; ?>
<?php flaton_paging_nav(); ?>
<?php else : ?>
<?php get_template_part( ‘content’, ‘none’ ); ?>
<?php endif; ?>
</main><!– #main –>
</div><!– #primary –><?php get_footer(); ?>
but I don′t know what happen, the plugin isn′t running and I can make post with out sidebar. Some one can help me?
This is my page: https://www.lapiznomada.com
I can make pages with out sidebar, but I need make post with out sidebar too.
Help please!!
- The topic ‘Post whit out sidebar’ is closed to new replies.