Support » Theme: Reposter » Struggling to create full page width template…

  • Resolved jamiehoyles



    Am hoping somebody will be able to help… I’ve tried numerous times to create a full page width template but have been unable to do so. I’ve tried a number of guides but just can’t figure it out – hoping somebody can help…

    This is my Full page width sheet (with instructions to pull sidebar removed):

    Template Name: WidePage
     * The template for displaying the pages.
    get_header() ?>
    	<div id='reposter_width'>
    		<div id='reposter_main' class='wrapper'>
    			<?php if( get_header_image() != '' ) { ?>
    				<div id='reposter_header-image'>
    					<img src='<?php header_image(); ?>' alt='' />
    			<?php } ?>
    			<div id='reposter_title'>
    				<div id='reposter_article_head'>
    						<a href='<?php the_permalink(); ?>'><?php the_title(); ?></a>
    					<p><?php reposter_the_breadcrumb();?></p>
    				</div><!--end #reposter_article_head-->
    				<div id='reposter_search' class='reposter_widget_search'><?php get_search_form(); ?></div>
    			</div><!--end #reposter_title-->
    			<div id='reposter_main_content'>
    				<section id='reposter_left-side'>
    					<?php $i = 0;
    					global $query_string;
    					if ( !$user_ID ){
    					if( have_posts() ) : the_post(); ?>
    						<article id='post-<?php the_ID(); ?>' <?php post_class(); ?>>
    							<div class='reposter_cont'>
    								<!--post title url-->
    								<p class='entry-title'>
    									<a href='<?php the_permalink(); ?>'><?php the_title(); ?></a>
    								<?php if ( has_post_thumbnail() )
    									echo "<div class='featured-image'>" . get_the_post_thumbnail() . "</div><div class='featured-image-title'>" . reposter_featured_img_title() . "</div>";
    								comments_template( '', true ); ?>
    							</div><!--end .reposter_cont-->
    							<?php if ( has_tag() ) { ?>
    								<div class='tags'><?php the_tags( __( 'Tags: ', 'reposter' ) ); ?></div><!--styling tags-->
    							<?php }
    							else { ?><!--else tags block empty-->
    							<?php } ?>
    							<div class='reposter_back-top'><!--scrolling top-->
    								<span class='reposter_orange'><a href='javascript:scroll( 0,0 );'><?php _e( '[Top]', 'reposter' ); ?></a></span>
    							<div class='reposter_clear'></div>
    						</article><!--end #post-->
    					<?php endif; ?>
    					<nav id='reposter_nav-pages'>
    						<div id='pre-page'><?php previous_posts_link(); ?></div>
    						<div id='next-page'><?php next_posts_link(); ?></div>
    					</nav><!--end #reposter_nav-pages-->
    				</section><!--end #reposter_left-side-->
    			</div><!--end #reposter_main_content-->
    			<div class='reposter_clear'></div>
    		</div><!-- end #reposter_main -->
    	</div><!-- end #reposter_width -->
Viewing 1 replies (of 1 total)
  • Hi,

    If we understand you correctly, you want to remove sidebar from Page Template.
    If you don’t have the original page.php file of the Reposter theme, please download the theme once again and delete the following line:

    <?php get_sidebar(); ?>

    and save the changes. Please note that the changes will be overwritten if you update the theme.

    BestWebSoft Support Team

Viewing 1 replies (of 1 total)
  • The topic ‘Struggling to create full page width template…’ is closed to new replies.