Tagged: x
-
AuthorPosts
-
September 3, 2016 at 1:57 am #1159461
johnnyp14ParticipantHello
I’m wondering if it’s possible to re-order the elements in the footer. Currently:
[Design by XXX (aka credits section)]
[footer menu]
[social media icons]Is it possible to have the credits at the very bottom instead?
Running latest version of X
Cheers
September 3, 2016 at 2:03 am #1159476
RadModeratorHi there,
Thanks for writing in.
Yes, possible.
1. Copy this file \wp-content\themes\x\framework\views\{YOUR CURRENT STACK}\wp-footer.php to your child theme. Eg. \wp-content\themes\x-child\framework\views\{YOUR CURRENT STACK}\wp-footer.php
2. Edit your child theme’s wp-footer.php and arrange its code,
Example,
<?php // ============================================================================= // VIEWS/INTEGRITY/WP-FOOTER.PHP // ----------------------------------------------------------------------------- // Footer output for Integrity. // ============================================================================= ?> <?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_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' ); ?>3. Save and upload it.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1159461 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
