WordPress.org

Forums

[resolved] Odd page behaviour after removing sidebar (9 posts)

  1. J Howard
    Member
    Posted 2 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

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

  3. esmi
    Forum Moderator
    Posted 2 years ago #

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

  4. J Howard
    Member
    Posted 2 years ago #

    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?

  5. esmi
    Forum Moderator
    Posted 2 years ago #

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

  6. J Howard
    Member
    Posted 2 years ago #

    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?

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    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?

  8. WPyogi
    Forum Moderator
    Posted 2 years ago #

    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.

  9. J Howard
    Member
    Posted 2 years ago #

    Oh forget it. Jeez.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags