• Resolved nhradar

    (@nhradar)


    I use the Image Rotator Widget (version 1.0.7) to insert a simple slideshow into my home banner area. This has worked well with the Church theme for the past year and a half that I’ve been using it.

    When I upgraded to 0.7.5 yesterday, it stopped working, and there was no banner image. I typically manage my widgets from Appearance->Widgets, but as I was troubleshooting, I went into the customizer and noticed that the Home Banner was not available as a place to put widgets (I do not know if this is new behavior, since I don’t usually use the customizer).

    I’m wondering if the banner fixes in 0.7.5 wiped out this capability somehow?

    As a stopgap, I am using the theme’s randomized image selector to put up a static image, but I still have the widget loaded into the Home Banner area if you want to see the behavior at https://www.ankenyucc.org

    Thanks, Han, for all you do on this excellent theme for us folks in low-budget church land.

Viewing 1 replies (of 1 total)
  • Theme Author Han

    (@hwijaya)

    Hi, I fixed this in version 0.7.6, submitted it last week. You’ll get update notification in a few days via WP admin or you can download latest church theme here and update it manually.

    If you want to fix it manually, please find church_banner function in themes/church/functions.php and replace with this,

    function church_banner() {
    
    ?>
        <div class="banner">
            <div class="wrap">
                <?php
                if(is_front_page() && is_active_sidebar( 'banner' ) ) {
                    dynamic_sidebar( 'banner' );
                } elseif ( !is_front_page() && get_theme_mod( 'church_header_home' ) ) {
                        echo '';
                } else {
                    // get title
                    $id = get_option('page_for_posts');
                    if ( is_day() || is_month() || is_year() || is_tag() || is_category() || is_singular('post' ) || is_home() ) {
                        $the_title = get_the_title($id);
                    } else {
                        $the_title = get_the_title();
                    }
    
                    if (( 'posts' == get_option( 'show_on_front' )) && (is_day() || is_month() || is_year() || is_tag() || is_category() || is_singular('post' ) || is_home())) {
                            church_get_header_image();
                    } elseif(is_home() || is_singular('post' ) ) {
                        if ( has_post_thumbnail($id) ) {
                            echo get_the_post_thumbnail( $id, 'full' );
                        } else {
                            church_get_header_image();
                        }
                    } elseif ( has_post_thumbnail() && is_singular('page' ) ) {
                            the_post_thumbnail();
                    } else {
                        church_get_header_image();
                    }
                }
                ?>
            </div><!-- .wrap -->
          </div><!-- .banner -->
    <?php
    }
Viewing 1 replies (of 1 total)
  • The topic ‘0.7.5 upgrade broke banner slideshow’ is closed to new replies.