-
AuthorPosts
-
May 1, 2015 at 9:47 am #263138
AlexParticipantIs it possible to do something like this with the post carousel on my home page only?
http://prntscr.com/70ag79May 1, 2015 at 5:10 pm #263362
Prasant RaiModeratorHello Alex,
Thanks for writing in!
Kindly walk-through the following thread to implement post carousel in footer section of the page:
https://theme.co/x/member/forums/topic/post-carousel-in-widget-footer-area/#post-135095
Hope that helps.
Thanks.
May 4, 2015 at 1:39 pm #265211
AlexParticipantHow can I implement this change to only be on the home page? all other pages to be as they are now.
May 4, 2015 at 3:46 pm #265322
DarshanaModeratorHi there,
Please find the following line in your wp-footer.php file.
<?php x_get_view( 'ethos', '_post', 'carousel' ); ?>Then replace it with the following code.
<?php if ( is_home() ) : x_get_view( 'ethos', '_post', 'carousel' ); endif; ?>Hope that helps.
May 4, 2015 at 9:42 pm #265500
AlexParticipantI’m using a child theme. I searched for a related article on how to set up a “child” wp-footer.php file but couldnt find anything. I just copied the footer.php folder into my child theme. Is this the correct way of doing it? Also is the wp-footer.php and footer.php the same? I cant seem to find a wp-footer.
May 5, 2015 at 2:59 am #265633
Paul RModeratorHi Alex,
Sorry for the confusion.
Please create the file wp-footer.php in wp-content/themes/x-child/framework/views/ethos
and copy the code below into that file.<?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( 'global', '_footer', 'widget-areas' ); ?> <?php if(is_front_page()):?> <?php x_get_view( 'ethos', '_post', 'carousel' ); ?> <?php endif; ?> <?php if ( x_get_option( 'x_footer_bottom_display', '1' ) == '1' ) : ?> <footer class="x-colophon bottom" role="contentinfo"> <div class="x-container max width"> <?php if ( x_get_option( 'x_footer_content_display', '1' ) == '1' ) : ?> <div class="x-colophon-content"> <?php echo x_get_option( 'x_footer_content' ); ?> </div> <?php endif; ?> <?php if ( x_get_option( 'x_footer_menu_display', '1' ) == '1' ) : ?> <?php x_get_view( 'global', '_nav', 'footer' ); ?> <?php endif; ?> <?php if ( x_get_option( 'x_footer_social_display', '1' ) == '1' ) : ?> <?php x_social_global(); ?> <?php endif; ?> </div> </footer> <?php endif; ?> <?php x_get_view( 'global', '_footer' ); ?>Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-263138 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
