Front Page Slider – Accommodation Type Widget

Free and Premium WordPress Plugins & Themes Forums WordPress Themes Villagio Front Page Slider – Accommodation Type Widget

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1147667
    James Woods
    Participant

    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

    #1149104
    Andre Flores
    Moderator

    Hello 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,
    Andre

    #1154053
    James Woods
    Participant

    Thanks Andre. I’ll give it a try.

    #1154110
    Andre Flores
    Moderator

    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!

    #1240656
    William Jepson
    Participant

    Is 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?

    #1242368
    J. Davis
    Keymaster

    Hi 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.