hi i need help how hide sidebar for someone post…
or from page is: http://i.imgur.com/Aths2h6.jpg , hod add this function for posts?
i need full width for post, thx for help.
1 Answers
To resolve this issue, you can use the following plugin: https://wordpress.org/plugins/wp-custom-post-template/
Then add the following code to the new single-page.
<?php
/*
Template Name:News post page
*/
get_header(); ?>
<section id="content" class="site-content">
<div id="primary">
<div id="primary-inner">
<div id="main-content">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php dw_gamez_content_nav( 'nav-below' ); ?>
<?php dw_gamez_related_post($post->ID); ?>
<?php if ( comments_open() ) comments_template(); ?>
<?php endwhile; ?>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>
Please login or Register to submit your answer
replied 4 years ago
payday loans online same day [url=https://ausapaydayloans.com/]usa payday loans[/url] payday loans definition best online payday loans 1 hour payday loans no credit check