WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Oulipo Sidebar (2 posts)

  1. Number_6
    Member
    Posted 3 years ago #

    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.

  2. Number_6
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic