Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1298284
    pdopchev
    Participant

    Hi guys,

    Currently have the carousel in Ethos at the bottom of the page by following this thread: https://theme.co/x/member/forums/topic/post-carousel-in-widget-footer-area/#post-135095

    But is showing below the widget area. Is it possible to have it display above the widget area and footer?

    Thank you!

    link:http://www.enjoycrestedbutte.com/crested-butte-webcams/

    #1298361
    Thai
    Moderator

    Hi There,

    Please replace your current code in the wp-footer.php file with this:

    <?php
    
    // =============================================================================
    // VIEWS/ETHOS/WP-FOOTER.PHP
    // -----------------------------------------------------------------------------
    // Footer output for Ethos.
    // =============================================================================
    
    ?>
      <?php x_get_view( 'global', '_header', 'widget-areas' ); ?>
      <?php x_get_view( 'global', '_footer', 'scroll-top' ); ?>
      <?php x_get_view( 'ethos', '_post', 'carousel' ); ?>
      <?php x_get_view( 'global', '_footer', 'widget-areas' ); ?>
    
      <?php if ( x_get_option( 'x_footer_bottom_display' ) == '1' ) : ?>
    
        <footer class="x-colophon bottom" role="contentinfo">
          <div class="x-container max width">
    
            <?php if ( x_get_option( 'x_footer_content_display' ) == '1' ) : ?>
              <div class="x-colophon-content">
                <?php echo do_shortcode( x_get_option( 'x_footer_content' ) ); ?>
              </div>
            <?php endif; ?>
    
            <?php if ( x_get_option( 'x_footer_menu_display' ) == '1' ) : ?>
              <?php x_get_view( 'global', '_nav', 'footer' ); ?>
            <?php endif; ?>
    
            <?php if ( x_get_option( 'x_footer_social_display' ) == '1' ) : ?>
              <?php x_social_global(); ?>
            <?php endif; ?>
    
          </div>
        </footer>
    
      <?php endif; ?>
    
    <?php x_get_view( 'global', '_footer' ); ?>

    Hope it helps 🙂

    #1298726
    pdopchev
    Participant

    You are awesome! Thank you!

    #1298944
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1298284 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>