• Resolved Number_6

    (@number_6)


    Oulipo does a clever thing. Depending on the type of page, the right-hand sidebar will show different data. I’d like to do a terrible thing and make this function redundant.

    I’m still not profecient enough in PHP, because I can’t work out exactly how to remedy my sidebar.php file to show the regular widgets in every page.

    I’ll keep working on ways of dealing with this. But it would be nice to get some direction from anyone who’s good with this kind of function.

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

    (@number_6)

    Solution Merely adding
    || is_single()
    to

    <?php if (is_home() || is_page()) {?>
    after "is_page()

    And removing the elseif is_single command and its contents

Viewing 1 replies (of 1 total)
  • The topic ‘Oulipo Sidebar’ is closed to new replies.