• 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.
    https://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)
  • What’s include('page.php'); for? Why aren’t you using get_template_part()?

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

    Thread Starter J Howard

    (@j-howard)

    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?

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

    Thread Starter J Howard

    (@j-howard)

    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?

    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.

    Thread Starter J Howard

    (@j-howard)

    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.