jelsie03
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Zerif Lite] How to remove sidebar from pages and postHi no I am not using a child theme yet. I didn’t want to go through the work of a child theme if this theme won’t work for me and I have to change it.
The site is:
http://testphoto.siterubix.com/children-newborns
On my post the sidebar shows archives and meta info, although I have removed everything from my sidebar option in the widget option screen.
Forum: Themes and Templates
In reply to: [Zerif Lite] How to remove sidebar from pages and postI don’t have the below code that I am suppose to remove in my actual coding. Is there something else that I am suppose to remove and do I do the same thing to remove the sidebar from a page?
<div class=”sidebar-wrap col-md-3 content-left-wrap”>
<?php get_sidebar(); ?>
</div><!– .sidebar-wrap –>Below is the code I have in the single.php
<?php
/**
* The Template for displaying all single posts.
*/
get_header(); ?><div class=”clear”></div>
</header> <!– / END HOME SECTION –>
<?php zerif_after_header_trigger(); ?><div id=”content” class=”site-content”>
<div class=”container”>
<?php zerif_before_single_post_trigger(); ?>
<div class=”content-left-wrap col-md-9″>
<?php zerif_top_single_post_trigger(); ?>
<div id=”primary” class=”content-area”>
<main itemscope itemtype=”http://schema.org/WebPageElement” itemprop=”mainContentOfPage” id=”main” class=”site-main”>
<?php while ( have_posts() ) : the_post();get_template_part( ‘content’, ‘single’ );
zerif_post_nav();
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || ‘0’ != get_comments_number() ) :
comments_template(”);
endif;
endwhile; // end of the loop. ?>
</main><!– #main –>
</div><!– #primary –>
<?php zerif_bottom_single_post_trigger(); ?>
</div><!– .content-left-wrap –>
<?php zerif_after_single_post_trigger(); ?>
<?php zerif_sidebar_trigger(); ?>
</div><!– .container –>
<?php get_footer(); ?>