The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Blix sidebar on pages (5 posts)

  1. laslo
    Posted 10 years ago #

    I'm using Blix on my test blog: http://cinencuentro.innereyes.com

    I'm trying to get the sidebar to work for "Pages" too, like here: http://cinencuentro.innereyes.com/lista-de-resenas/

    I added <?php get_sidebar(); ?> right after <?php get_header(); ?> like suggested, but it wont work.

    I should also mention that I'd like some "Pages" to appear on the navigation bar on top, maybe just 2 or 3, and then I plan to do "Pages" for certain topics, but I dont want these to appear on the nav. bar

    I read some posts here someway related to my problem, but they're not clear enough to understand them.
    I hope someone can help me with this. Thanks in advance.

  2. Leann
    Posted 10 years ago #

    Here's one solution:

    If you open up the header template and scan down to the <body> tag you'll see this:

    <div id="container"<?php if (is_page() && !is_page("archives")) echo " class=\"singlecol\""; ?>>

    You need to change it to this:
    <div id="container">

    or you can alter the singlecol styles to match the home page layout.

  3. Rimmon
    Posted 10 years ago #

    I have the same problem, I did write <div id="container">, but it didn't work.

  4. andrewso
    Posted 10 years ago #

    I have the same problem, I added <?php get_sidebar(); ?> and changed the <div id="container"<?php if (is_page() && !is_page("archives")) echo " class=\"singlecol\""; ?>> to <div id="container">

    Still not working, any ideas?



  5. andrewso
    Posted 10 years ago #

    I just got it to work. You should also change the line in sidebar.php from <?php if (is_home()) { ?> to <?php if (is_home() || is_page()) { ?> That should make the sidebar show up in all pages.

Topic Closed

This topic has been closed to new replies.

About this Topic