Tagged: x
-
AuthorPosts
-
July 17, 2016 at 12:47 am #1090357
liz80yParticipantHi there,
I have a page / menu item on hompeage called ‘Destinations’. I would like the exact same slider that i have in each of the other menu items (it’s a slider showing my most recent blog posts) to appear at the top of this page also.
A while ago someone from support advised the following…
“To add revolution slider to archive pages, follow this link : https://community.theme.co/forums/topic/slider-in-category-archive/”
But as a newbie i get very confused once i have to look into the control panel side of things with files etc. Can you explain this to me a little simpler please?
Thanks so much 🙂
July 17, 2016 at 12:48 am #1090359
liz80yParticipantThis reply has been marked as private.July 17, 2016 at 3:26 am #1090451
ChristopherModeratorHi there,
Please connect to FTP, copy the file wp-header.php from wp-content/themes/x/framework/views/ethos and put it in the same path inside child theme which would be wp-content/themes/x-child/framework/views/ethos.
Open file in text editor and update existing code with following :<?php // ============================================================================= // VIEWS/ETHOS/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Ethos. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <?php x_get_view( 'global', '_slider-above' ); ?> <header class="<?php x_masthead_class(); ?>" role="banner"> <?php x_get_view( 'ethos', '_post', 'carousel' ); ?> <?php x_get_view( 'global', '_topbar' ); ?> <?php x_get_view( 'global', '_navbar' ); ?> <?php x_get_view( 'ethos', '_breadcrumbs' ); ?> </header> <?php x_get_view( 'global', '_slider-below' ); ?> <?php if (is_category()): echo do_shortcode('[rev_slider video]'); endif; ?> <?php x_get_view( 'ethos', '_landmark-header' ); ?>Replace
[rev_slider video]with your slider shortcode.Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1090357 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
