Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1008870
    Rish
    Participant

    you rock my day christopher 🙂 Awesome

    #1008918
    Christopher
    Moderator

    Glad I was able to help you with this 🙂

    #1131005
    GreenWorksStudio
    Participant

    Dear People,

    I would like to change the order of the menu items in the footer of Icon to
    widget
    navigation
    footer content

    Can I please get the code for the footer.php (I’m using a child theme), and also the css?

    I tried it with the one in another thread where you provided these things for someone using Integrity but it makes my navigation vertical and the css in that thread didn’t work for me (or Icon).

    Thank you,
    Silvia

    #1131237
    Rue Nel
    Moderator

    Hello Silvia,

    Thanks for updating this thread! To resolve your issue, please follow these steps:
    1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
    2] Insert the following code into that new file

    <?php
    
    // =============================================================================
    // VIEWS/ICON/WP-FOOTER.PHP
    // -----------------------------------------------------------------------------
    // Footer output for Icon.
    // =============================================================================
    
    ?>
    
      <?php x_get_view( 'global', '_header', 'widget-areas' ); ?>
      <?php x_get_view( 'global', '_footer', 'scroll-top' ); ?>
      <?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_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; ?>
    
            <?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; ?>
    
          </div>
        </footer>
    
      <?php endif; ?>
    
    <?php x_get_view( 'global', '_footer' ); ?>

    3] Save the file named as wp-footer.php
    4] Upload this file to your server in the child theme’s folder
    wp-content/themes/x-child/framework/views/icon/

    Please let us know if this works out for you.

    #1131479
    GreenWorksStudio
    Participant

    That worked perfect, thank you! 🙂

    #1131511
    Lely
    Moderator

    You’re welcome!

    Cheers!

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