Hi there,
On my site, cattlecreek.wpengine.com, I’d like to switch the position of the footer content to be below the Footer Menu and Social. How could I achieve that? Thanks so much!
Marcus
Hi there,
On my site, cattlecreek.wpengine.com, I’d like to switch the position of the footer content to be below the Footer Menu and Social. How could I achieve that? Thanks so much!
Marcus
Hello Marcus,
Thanks for writing in!
Changes you are looking for will require changes into theme files which falls outside the scope of support we offer. However, I can share the necessary guidelines that you can follow to make the changes:
As you have already installed the child theme, please copy wp-footer.php from /wp-content/themes/x/framework/legacy/cranium/footers/views/ethos/ under /wp-content/themes/x-child/framework/legacy/cranium/footers/views/ethos/.
After that replace the code with following:
<?php
// =============================================================================
// VIEWS/ETHOS/WP-FOOTER.PHP
// -----------------------------------------------------------------------------
// Footer output for Ethos.
// =============================================================================
?>
<?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' ); ?>
Basically what we have done is swap the position the block of code that’s showing footer content after social icon code.
Thanks.
Got it sorted. Thanks so much for the guidance! I had it mostly, but wasn’t following the cranium folder structure.
Appreciate it!
You are most welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.