Support » Themes and Templates » Odd page behaviour after removing sidebar

  • Resolved J Howard

    (@j-howard)


    Hello,

    One of my web pages is displaying odd behaviour, after selecting a no sidebar template for the page. The sidebar has disappeared, but elements within the sidebar, now show in the bottom right-hand corner of the page

    Here is the PHP for the no sidebar template.

    <?php
    /*
    Template Name: Page without sidebar
    */
    ?>
    
    <?php
    	global $inove_nosidebar;
    	$inove_nosidebar = true;
    	include('page.php');
    ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Here is a link to a image of the how the page looks at present.
    http://www.thedash.org.uk/wp-content/uploads/2013/03/Sidebar.jpg

    Any ideas or suggestions would be greatly appreciated.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    Forum Moderator

    What’s include('page.php'); for? Why aren’t you using get_template_part()?

    esmi

    (@esmi)

    Forum Moderator

    Inove is also a very old, outdated, theme that may no longer be supported by its developer.

    I should state that the site itself, along with all modifications, were setup by another person. What would be a better way of achieving a no sidebar look for the page?

    esmi

    (@esmi)

    Forum Moderator

    I’d suggest that you start with a new theme.

    I was hoping a suggestion for how to fix this one anomaly might be more likely than a suggestion to ‘start with a new theme’. No point fixing what isn’t broken. I do take note of your advice, however.

    Can anyone else suggest a resolution for my problem? More of a helpful one?

    esmi

    (@esmi)

    Forum Moderator

    The level of coding needed is really beyond the scope of the support we are able to provide in the forum, as it requires custom code to be written and tested. If you cannot manage this yourself, perhaps you need to consider hiring someone to carry out the work for you?

    Inove is also a very old, outdated, theme that may no longer be supported by its developer.

    Using an old, unsupported theme is asking for problems – good advice from esmi.

    Oh forget it. Jeez.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Odd page behaviour after removing sidebar’ is closed to new replies.