Setting up your theme

1) Creating theme pages

Let’s start by adding the pages you are going to need. Go to Pages > Add New and create the following pages:

  1. Home: This will serve as your homepage. Assign to it the Frontpage template from the Page attributes panel on the right. From the Front Page Details panel below the main text editor, you can select between the normal and full screen layout. Also select a slider category if you want to display only certain items on the slider.
  2. Blog: This will be your posts page. Just create it, no further steps needed.
  3. Contact: Here you can place your contact form. You will create it using the Contact Form 7 plugin or Jetpack’s contact form add-on. Assign to it the Contact Page template. A new panel named Contact Page Details will appear. Fill in your location info in the Information tab and select the establishment’s location in the Map tab. Finally, publish the page.
  4. Booking: Your booking form will be placed here. Apply the Booking Page template. Once you publish the page go to Customize > Booking – Contact options select the Booking page, fill in the e-mail you want your booking inquiries sent to and save your changes.
  5. Gallery Listing: This page will display your galleries. Apply the Galleries Listing template from the page attributes panel. In the Gallery Listing Options panel that appears, you can select whether you will display all your galleries or just one category. Also the number of columns for the listing page, whether the first item will be full width and the number of items you want to display per page.
    zermatt-gallery-listing-options
  6. Room Listing: This page will display your rooms. Apply the Rooms Listing template from the page attributes panel and proceed to the Room Listing Options panel to select which room categories to display (if not all). Also the number of columns, whether the first item will be full width, set whether or not to display only rooms on offer and finally the number of rooms per page.
    zermatt-room-listing-options
  7. Attractions Listing: This page will display your attractions. Apply the Attractions Listing template from the page attributes panel. In the Attraction Listing Options panel that appears you can select whether you will display all your attractions or just one category. Also the number of columns for the listing page, whether the first item will be full width and finally the number of items you want to display per page.
    zermatt-attraction-listing-options
  8. Video Listing: This page will display your videos. Apply the Videos Listing template from the page attributes panel. In the Video Listing Options panel that appears you can select whether you will display all your videos or just one category. Also the number of columns for the listing page, whether the first item will be full width and finally the number of items you want to display per page.
    zermatt-video-listing-options
  9. Service Listing: This page will display your services. Apply the Service Listing template from the page attributes panel, in the Service Listing Options panel that appears you can select whether you will display all your services or just one category, the number of columns for the listing page, check if you want the first item full width and finally set the number of items you want to display per page.

(TIP, all page titles serve as examples, you can name your pages according to your needs.)

Once the pages are created, navigate to Settings > Reading. Set the “Home” page to be your static frontpage and the “Blog” page as your posts page, as shown in the image below.

reading-settings

2) Populating your blog

To add new posts to your blog, go to Posts > Add new, title your post and enter the content in the editor. Upload a featured image by clicking Set featured image on the Featured Image panel, add a category and/or tag to the post. Publish the post by clicking Publish.

add-new-post

3) Adding Rooms

To create a new room item go to Rooms > New Room, set the room’s name as a title and enter relevant information in the content editor plus a featured image. Then move to the Room Settings panel. Here you can fill in the room’s Amenities, add images to the room using the Gallery tab, set the room’s Pricing information and finally select if you want to display a sidebar on it from the Layout tab.

zermatt-room-settings

(TIP: under Customize > Room Options you can set the room price text format & random testimonial title.)

zermatt-customizer-room-options

4) Adding Galleries

To create a new gallery item go to Galleries > Add New, set the gallery’s name as a title, enter some text if you wish in the content editor and a featured image. Upload your images by clicking the Add Images button in the Gallery Details panel (please read the Creating Galleries section below, first) and publish the gallery item.

zermatt-gallery-settings

5) Adding Attractions

To add an attraction go to Attractions > Add New. Add the attraction’s name as a title, any text necessary and upload a featured image. In the Attraction Settings panel you can upload images related to the attraction, to create a gallery (please read the Creating Galleries section below, first). When you finish, publish the item.

6) Adding Videos

To add a video go to Videos > Add New. Add the video’s name as a title, any text necessary and upload a featured image. In the Video Settings panel add the URL to your video and when finished, publish the item.

7) Adding Testimonials

To create a new Testimonial, go to Testimonials > New Testimonial, set the author’s name as the title, and the testimonial’s text in the content box. Finally, publish it.

8) Adding Services

To add a service go to Services > Add New. Add the service’s name as a title, any text necessary and upload a featured image. When finished, publish the item.

9) Adding Slider Items

To add items to your homepage’s slider go to Slideshow > New Slide, set a title for the slider item and upload a featured image (which will be the image displayed on the homepage). Next, go to the Slider Settings panel, give the slider a subtitle, a custom link and change the ‘Learn More’ button text if you want. If you would like to add a video to the slider you can paste the video’s URL in the Video Details tab. Finally, publish the slider item. Homepage slider behavior can be controlled under Customize > Homepage Options.

zermatt-slide-settings

Slides can be split in to categories, which allows you to create different sets of slides, for example one for each season and switch between them easily. To select which category of slideshow items you display on the homepage, edit the homepage and select the slider category from the Front Page Details meta box. If you leave it blank all items will be displayed.

NOTICE: If you have created a video slider with multiple slides it is advised to turn the auto slide functionality off, otherwise the slide will change during the playback.

10) Creating your menu

Now that your content is in place, you need to set up the menu. Go to Appearance > Menus and create your menu. Customize it by adding menu items and then go to Manage Locations, to set it as your main menu.

(TIP, for more info on creating and managing menus, please read the WordPress Menu User Guide)

11) Adding content to your Homepage

The homepage of Zermatt consists a slider and the Homepage widgetized area. You can access this area and add content to it  through Appearance > Widgets or Customize > Widgets.

Duplicating the demo’s layout

The demo’s homepage consists three slider items, a CI Testimonials widget displaying one testimonial, one CI Items widget displaying four rooms in a two column layout, a CI Items widget displaying three attractions in a three column layout, a CI Hero and finally a CI Booking Form widget.

12) Customizing the appearance

All theme customization is done via the WordPress’s built in Customizer. If you haven’t used it or want to learn more about it, please read this article.

Go to Appearance > Customize and you will see this:

zermatt-customizer

TIP: Any changes you make in the tabs below will be previewed live on the website that appears in right side of the screen. However to save these changes you need to click the Save & Publish button on the top of the bar. If you have made a change but see the button grayed out (for example changed the font size of a heading), move the cursor outside the input box, to the next input box. Then the button should be clickable again.

Let’s take a look at the options each tab gives you.

Header

You can set the theme’s header image and modify the header’s color scheme. You can also toggle the tagline, menu appearance, booking button and weather. You can also set your location to get accurate weather information at all times.

Site Identity

In this tab you can modify the site’s title, tagline, logo and site icon.

Front Page Carousel

In this tab you can toggle the autoslide feature and control slider timings.

Typography Options

Here you will find various options regarding the theme’s typography. You can change heading, body text and widget title sizes and toggle the capitalization of various elements.

Content Colors

Are you looking to create your own unique color scheme? This tab will help you do it by allowing you to modify the colors of many elements of the content. To do that click the Select Color button and either use a hex color value in the box or use the palette to select a color.

color-picker

Sidebar Colors

This tab will allow you to modify the colors of various sidebar elements. Create your custom color scheme!

Social Networks

Fill in the URL’s to your social network profiles supported by the theme. These will appear on the header and footer automatically. You can also display them in the post/page sidebar by adding the Theme – Social Icons widget in the blog or page sidebar.

Rooms Options

Set a custom title for the random testimonial section in the single room view and modify the room price text appearance.

Layout Options

Toggle your breadcrumbs (a plugin is required, please read the description on the menu item). Also you can modify independently the homepage featured article section layout, the blog layout and the category/tag layout. Additionally you can configure the length of the small article title, the automatic excerpt or choose between numbered and older/newer pagination.

Menus

Here you can create and assing menus to the theme. The theme features two menu locations, the main menu and one on the header. The header bar menu does not support sub menu items. To learn more about menu creation check out the Codex’s menu user guide.

Booking – Contact Options

Select your booking page so the booking bar can lead to it and set your booking & contact email address to the respective forms.

Widgets

Through this tab you can add widgets to the theme’s sidebars. The theme features six sidebars, the blog, the homepage, three footer sidebars and the header ad sidebar.

Footer

Through here you can customize the theme’s footer text.

Static Front Page

Through this tab you can make the Home page your static front page so you can take advantage of the homepage template we created for you.

Other

In this tab you have the custom CSS panel which you can use to insert styles for elements not covered by the rest of the tabs. Additionally you can place your Google Analytics ID, toggle the Google maps API and the animated image pre-loader.

Additional Information

Creating Galleries

To create a gallery use the gallery management system. To do so, simply follow these steps:

  1. On the Gallery Information panel click the Add Images button.
    gallery-settings-add-images
  2. To upload your images, drag & drop them in the Edit Gallery window that will pop-up. Alternatively, select Add to Gallery in order to select already uploaded images. Once you are done, click the Update Gallery button on the lower right side.
    gallery-settings-update-gallery
  3. Your Gallery Information panel will look like this:
    gallery-settings-gallery
  4. You can re-arrange the order of images by drag & drop.
    gallery-settings-rearrange
  5. If you wish to remove an image from the gallery, hover your mouse over it and click the X as shown below:
    gallery-settings-remove
  6. By checking the Randomize order box your gallery images will appear in a random order which will change on every page refresh.
  7. When done, publish the gallery item.

If you need to add images after the gallery’s creation just follow the same procedure.

Useful Plugins

  • CSSIgniter Shortcodes: Use this custom made shortcode plugin, to help you create a variety of layouts and elements on your site. Instructions can be found here.
  • Socials Ignited: Use this plugin to create a widget that links to all your social profiles. You can also customize it with your icons and add new social networks. A guide to do so, can be found here.
  • Contact Form 7: Use this plugin to create a contact form, then copy the shortcode it gives you and paste it in an empty page.
  • WP Instagram Widget: Use this plugin to help you display your Instagram feed in any of the theme’s sidebars.
  • WordPress Jetpack: You can use this to create a contact form instead of Contact Form 7, insert sharing buttons etc.

Image Sizes

The recommended image sizes for the Zermatt theme are:

  • Post Thumbnail: 750x400px
  • Hero Image: 1920x370px
  • Full Width Image: 1140x590px
  • Slider: 1920x800px
  • Listing Thumb: 750x750px
  • Wide Room Listing Thumb: 750x371px