• Resolved dhomd

    (@dhomd)


    I was curious if anyone knows how to make it so the sidebar is only on the homepage, and none of the subpages?

    This was possible in version iNove 1.2.3, but simply renaming the page-without-sidebar.php to sidebar.php
    When I try this now, it receive many errors and can only load the admin section and the homepage

    I have been tinkering around with the code for hours without luck. When I try if the code below in the footer

    <?php if(is_home()) { ?>
    Your content
    <?php } ?>

    It removed the sidebar on the desired pages, but it kept the 2 column formatting

    I’m probably missing something simple, but would love some help
    ~DHO

Viewing 1 replies (of 1 total)
  • Thread Starter dhomd

    (@dhomd)

    Of course I get inspiration after posting

    open page.php
    Find the first line
    <?php get_header(); ?>

    Mod it so it looks like this:

    <?php
    	global $inove_nosidebar;
    	$inove_nosidebar = true;
    ?>
    
    <?php get_header(); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar on homepage only?’ is closed to new replies.