Shortcodes

This is a list of all the available shortcodes included in the HotelMotel theme. You can create unlimited variations using them.

1.

Creates a fancybox slideshow out of your Slider Items custom post type.

Example use:

[ci_slider]

 

[ci_separator]

2.

Brings an entry from the chosen custom post type (type parameter).

Example use:

[ci_row][ci_column span=”six”][ci_entry type=”post” id=”154″][/ci_column][/ci_row]

 

3.

A shortcut to the [[ci_entry]] shortcode, brings your specified room either by ID or slug.

Example use:

[ci_row][ci_column span=”six”][ci_room  id=”90″][/ci_column][/ci_row]

 

[ci_separator]

4.

A shortcut to the [[ci_entry]] shortcode, brings your specified page either by ID or slug.

Example use:

[ci_row][ci_column span=”six”][ci_page  id=”98″][/ci_column][/ci_row]

 

[ci_separator]

5.

Used before and after every column

Outputs:

Example use (bring 2 rooms in 2 columns):

[ci_row][ci_column span=”six”][ci_room  id=”90″][/ci_column][ci_column span=”six”][ci_room id=”46″][/ci_column][/ci_row]

 

 

 

[ci_separator]

6.

Used to create columns. You can create any combinations you need having in mind that the theme uses a 12 column grid. This means that the span parameter will take the following values: one, two, three, four, five, six, seven, eight, nine, ten and a special value of five-col to create a 1/5th column.

Example use:

[ci_row][ci_column span=”six”]In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Duis aliquet egestas purus in blandit. Curabitur vulputate, ligula lacinia scelerisque tempor, lacus lacus ornare ante, ac egestas est urna sit amet arcu. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed molestie augue sit.[/ci_column][ci_column span=”three”]In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Duis aliquet egestas purus in blandit. Curabitur vulputate.[/ci_column][ci_column span=”three”]In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Duis aliquet egestas purus in blandit. Curabitur vulputate.[/ci_column][/ci_row]

 

 

 

 

[ci_separator]

7.

Used to create boxes with text (not necessarily restricted to offers) .

Example use:

[ci_row][ci_column span=”four”][ci_offer url=”http://www.cssigniter.com” text1=”Your Title Here” text2=”Line 2 Text” text3=”Line 3 Content Here”][/ci_column][/ci_row]

 

[ci_separator]

8.

Creates a fancy title.

Example use:

[ci_big_title]Latest News[/ci_big_title]

 

 

[ci_separator]

9.

Brings a number of latest photo galleries in the number of columns you specified (no need to use the ci_row shortcode here).

Example use:

Bring 4 galleries in 4 columns:

[ci_galleries number=”4″ columns=”4″]

 

 

[ci_separator]

10.

Fetches the small booking form. Can be wrapped around the ci_row and ci_column shortcodes in order to restrict its width.

Example use:

[ci_book_form title=”Make Your Reservation” button_text=”Check Availability” note_text=”This is a small note under the button”]

 

 

[ci_separator]

11.

Fetches the newsletter form.

Example use:

[ci_row][ci_column span=”four”][ci_newsletter title=”Our Newsletter” button_text=”Subscribe” description=”In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Duis aliquet egestas.”][/ci_column][/ci_row]