Homepage panes not showing

  • jmek66

    #27731

    I’ve continued to work on it, and discovered that the homepage panes worked if I used the parent version of the theme. Since then, I’ve disabled each individual bit of my child theme and am fairly certain the problem is in my custom footer. Do you see anything in the code below that would cause the homepage panes to disappear?

    <?php
    /**
    * The template for displaying the footer.
    *
    * Closes the <div> for #content, #content-main and #container, <body> and <html> tags.
    *
    * @package WordPress
    * @subpackage Graphene
    * @since Graphene 1.0
    */
    global $graphene_settings;
    ?>

    </div><!-- #content-main -->

    <?php

    /* Sidebar 1 on the right side? */
    if ( in_array(graphene_column_mode(), array('two-col-left', 'three-col-left')) ){
    get_sidebar();
    }
    /* Sidebar 2 on the right side? */
    if ( in_array(graphene_column_mode(), array('three-col-left', 'three-col-center')) ){
    get_sidebar('two');
    }

    ?>

    </div><!-- #content -->

    <?php /* Get the footer widget area */ ?>
    <?php get_template_part('sidebar', 'footer'); ?>

    <?php do_action('graphene_before_footer'); ?>

    <div id="footer">

    <?php if (!$graphene_settings['hide_copyright']) : ?>
    <div id="copyright" <?php if (!$graphene_settings['show_cc'] && !is_rtl()) {
    echo 'style="background:none;padding-left:20px;"';
    } elseif (!$graphene_settings['show_cc'] && is_rtl()) {
    echo 'style="background:none;padding-right:20px;"';
    } ?>>
    <?php if ($graphene_settings['copy_text'] == '') : ?>
    <p>
    <?php _e('Except where otherwise noted, content on this site is licensed under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Licence</a>.', 'graphene'); ?>
    </p>
    <?php else : ?>
    <?php echo stripslashes($graphene_settings['copy_text']); ?>
    <?php endif; ?>

    <?php do_action('graphene_copyright'); ?>
    </div>
    <?php endif; ?>

    <!--
    <div id="w3c">
    <p>
    <a title="<?php esc_attr_e('Valid XHTML 1.0 Strict', 'graphene'); ?>" href="http://validator.w3.org/check?uri=referer" id="w3c_xhtml"><span><?php _e('Valid XHTML 1.0 Strict', 'graphene'); ?></span></a>
    <a title="<?php esc_attr_e('Valid CSS', 'graphene'); ?>" href="http://jigsaw.w3.org/css-validator/check/referer/" id="w3c_css"><span><?php _e('Valid CSS Level 2.1', 'graphene'); ?></span></a>
    </p>

    <?php do_action('graphene_w3c'); ?>
    </div>
    -->
    <div id="developer">
    <p>Website by <a href="mailto:jeannine.klein@webswords.com">Jeannine M. E. Klein</a></p>

    <?php do_action('graphene_developer'); ?>
    </div>
    </div><!-- #footer -->

    <?php do_action('graphene_after_footer'); ?>

    </div><!-- #container -->

    <?php if (!get_theme_mod('background_image', false) && !get_theme_mod('background_color', false)) : ?>
    </div><!-- .bg-gradient -->
    <?php endif; ?>

    <?php wp_footer(); ?>
    </body>
    </html>

    And thank you for your continuing patience and work.

    jmek66

    #27732

    I rebuilt the footer.php and now it works. Thanks for all your help.

Viewing 2 posts - 11 through 12 (of 12 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!