Hey,
I was wondering how I would go about editing the site so that when someone clicked to view a single post, the widgets were removed (So the post was full page). I need the widgets to remain on every other page, I've searched the internet but haven't yet found a solution, since this isn't a page, its for individual posts in single view mode.
the site is:
http://www.Kaotech.co.uk
Any help would be great!
Thanks in advance,
Jamie
Edit your theme's single.php template file to remove the call to the sidebar(s) and ensure your header template uses the body_class so that you can then re-style the single post page using CSS.
My single.php contains:
<?php
get_header();
include(THEME_LIB.'/template_posts.php');
get_footer();
?>
So, I'm guessing everything I need to chance would be in the template_posts.php?
I'm new to recoding of bits like this, so sorry in advance if I'm slow!
It could be in header.php, template_posts.php or footer.php.
What code am I looking for? This theme is coded much differently to others I have seen, I find navigating through it quite confusing!
I'll link each below to save time!
Header.php
[Code moderated as per the Forum Rules. Please use the pastebin]
Footer.php only had something to do with bottom widget which doesn't affect what I need.
I hope you make more sense of it than I do, as most of it means nothing to me!
Thanks again in advance!