• Resolved brandon206

    (@brandon206)


    I’ve got Aquafluid installed: https://themes.wordpress.net/columns/2-columns/795/aquafluid-10/

    What I want to know is how to get the sidebar to show on ALL pages, not just the home page. Here’s the code:

    <div id="sidebar">
    <ul>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
    <?php if(is_home()) {?>
    <li>
    <h2><?php bloginfo('name');?></h2>

    </li>
    <?php }?>
    <?php global $aq_pages; if ($aq_pages <> "" ){ ?>

    <?php }?>

    <edit> snipped code </edit>

    I removed: <?php if(is_home()) {?>`, but that throws an error.

    Anyone know how I can keep the entire sidebar on ALL my pages?

    Here’s my site, BTW: https://wearedepthrecordings.com/1/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter brandon206

    (@brandon206)

    I should add… the reason I removed <?php if(is_home()) {?> was because I found that everything below it didn’t show up on other pages.

    But why when I delete it out, does it throw an error?

    No need to post the entire sidebar content.

    Looks like the theme wrote a custom function to list pages, so you should really ask the theme author.

    Thread Starter brandon206

    (@brandon206)

    I was afraid of that. Thanks for the info.

    Thread Starter brandon206

    (@brandon206)

    hmmm… well, I can’t seem to find contact information for the designer, so does anyone else know how I can get this sucker to work right?

    This shows up on all pages:

    <div id="sidebar">
    <ul>
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
    <?php if(is_home()) {?>

    <?php if (function_exists('WeatherIcon')) : ?>
    <li><strong>Seattle, WA</strong>
    <ul><?php WeatherIcon('station=KSEA'); ?></ul>
    </li>
    <?php endif; ?>
    <hr align="left" width="55%" />
    *snip*
    <?php if(is_home()) {?>

    and I can tell that <?php if(is_home()) {?> is the trouble code. But whether I delete 1 or both occurances, I get this error “Parse error: syntax error, unexpected ‘}’ ”

    I’d REALLY like uniformity and to have all the sidebar content on ALL my pages… but I just don’t see how I can do that, when I keep getting this error.

    Thread Starter brandon206

    (@brandon206)

    fixed it. the is_home tag before the links phph code was the only one that needed to be removed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Question on aquafluid theme/sidebar format’ is closed to new replies.