Display different number of accommodations in Home Page

Free and Premium WordPress Plugins & Themes Forums WordPress Themes Villagio Display different number of accommodations in Home Page

This topic contains 3 replies, has 3 voices, and was last updated by   J. Davis 1 year, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #702417

    Gabi Miguel Lda


    Is it possible to display for example 9 accommodations instead of 10, and if it’s possible where do I can change it?

    Best regards,


    Stacy Lind

    Hi Gabi,

    To change the number of the displayed accommodation types, you will need to edit the shortcode on the Home Page. So instead of:
    [mphb_rooms view_button=”true”]
    specify the ids of the accommodation types that should be displayed like:
    [mphb_rooms view_button=”true” ids=”44,42″]
    The accommodation type ids can be found in the Accommodation tab > Accommodation Types > hover over an accommodation type to see its id to use in the shortcode.
    You can read more about the available shortcodes and their configurations in Accommodation > Shortcodes.


    Gabi Miguel Lda

    Hi Stacy,

    Thank you for your response, but what was I looking for is posts_per_page, I simply set to 9 and it’s all working.

    [mphb_rooms class="columns-3" posts_per_page="9"]

    • This reply was modified 1 year, 5 months ago by   Gabi Miguel Lda.

    J. Davis

    Hi Gabi,

    Yes it is also possible to show accommodation types with pagination by posts_per_page= attribute.

    best regards,

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.