Free and Premium WordPress Plugins & Themes Forums WordPress Themes Villagio Front Page Slider – Accommodation Type Widget
- This topic has 5 replies, 4 voices, and was last updated 2 years, 11 months ago by J. Davis.
- AuthorPosts
- 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?
Thanks
June 29, 2021 at 2:12 am #1149104Andre FloresModeratorHello James,
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.
Regards,
AndreJuly 8, 2021 at 6:58 pm #1154053James WoodsParticipantThanks Andre. I’ll give it a try.
July 8, 2021 at 11:09 pm #1154110Andre FloresModeratorYou 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!
January 6, 2022 at 7:37 pm #1240656William JepsonParticipantIs there a way for the slider to auto scroll through accommodations at say 5000ms? Also, is there a way for the images to auto zoom?
January 11, 2022 at 12:35 am #1242368J. DavisKeymasterHi William,
You may control the slideshow duration via Appearance > Customize > Theme Options – Speed (ms).
As for the animation so you may try to apply custom CSS code e.g.:.homepage-widget-area .widget_mphb_rooms_widget .mphb_room_type_bg{ animation: zoom-in-zoom-out 7s ease-out infinite; } @keyframes zoom-in-zoom-out { 0% { transform: scale(1, 1); } 50% { transform: scale(1.05, 1.05); } 100% { transform: scale(1, 1); } }
best regards,
J. Davis - AuthorPosts
- You must be logged in to reply to this topic.