- This topic has 3 replies, 2 voices, and was last updated 2 weeks, 4 days ago by Andre Flores.
- June 25, 2021 at 10:49 am #1147667James WoodsParticipant
Is there a way to make the Accommodation Type Widget (slider) show up on the top of a page other than a page configured with a template type of “Front Page”. If not through configuration… can it be done with modifying one of the php files?
ThanksJune 29, 2021 at 2:12 am #1149104Andre FloresModerator
The widget area is registered in the sidebar-frontpage.php file in the theme:
<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?> <aside id="homepage-widgets" class="homepage-widgets" role="complementary"> <div class="homepage-widget-area"> <?php dynamic_sidebar( 'sidebar-5' ); ?> </div><!-- .widget-area --> <div class="clear"></div> </aside><!-- .homepage-widgets --> <?php endif;
You may try including it in other page templates, which are applied to other pages or create a new page template and include the code there, so you could use it on any desired page.
AndreJuly 8, 2021 at 6:58 pm #1154053James WoodsParticipant
Thanks Andre. I’ll give it a try.July 8, 2021 at 11:09 pm #1154110Andre FloresModerator
You are most welcome. It would be very much appreciated if you share your positive feedback about the Villagio theme at: https://motopress.com/products/villagio/#edd-reviews-respond.
Thank you in advance!
- You must be logged in to reply to this topic.