WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. J Howard
    Member
    Posted 1 year 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
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

  4. J Howard
    Member
    Posted 1 year 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
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

  6. J Howard
    Member
    Posted 1 year 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
    Theme Diva & Forum Moderator
    Posted 1 year 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
    Volunteer Moderator
    Posted 1 year 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 1 year ago #

    Oh forget it. Jeez.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags