This is a list of all the available shortcodes included in the HotelMotel theme. You can create unlimited variations using them. You might also want to check out our shortcode plugin for more shortcodes like buttons or boxes http://wordpress.org/plugins/cssigniter-shortcodes.
1. [ci_shortcode][ci_slider][/ci_shortcode]
Creates a fancybox slideshow out of your Slider Items custom post type.
Example use:
[ci_slider]
[[ci_slider]]
[ci_separator]
2. [ci_shortcode][ci_entry type=”” id=”” slug=””][/ci_shortcode]
Brings an entry from the chosen custom post type (type parameter). Best used wrapped iniside the [ci_columns]
shortcode.
Example use:
[ci_row][ci_column span=”six”][ci_entry type=”post” id=”154″][/ci_column][/ci_row]
[ci_shortcode][ci_row][ci_column span=”six”] [ci_entry type=”post” id=”154″] [/ci_column][/ci_row][/ci_shortcode]
[ci_separator]
3. [ci_shortcode][ci_room id=”” slug=””][/ci_shortcode]
A shortcut to the [[ci_entry]] shortcode, brings your specified room either by ID or slug. Best used wrapped iniside the [ci_columns]
shortcode.
Example use:
[ci_row][ci_column span=”six”][ci_room id=”90″][/ci_column][/ci_row]
[ci_shortcode][ci_row][ci_column span=”six”] [ci_room id=”90″] [/ci_column][/ci_row][/ci_shortcode]
[ci_separator]
4. [ci_shortcode][ci_page id=”” slug=””][/ci_shortcode]
A shortcut to the [[ci_entry]] shortcode, brings your specified page either by ID or slug. Best used wrapped iniside the [ci_shortcode][ci_column][/ci_shortcode] shortcode.
Example use:
[ci_row][ci_column span=”six”][ci_page id=”98″][/ci_column][/ci_row]
[ci_shortcode][ci_row][ci_column span=”six”] [ci_page id=”98″] [/ci_column][/ci_row][/ci_shortcode]
[ci_separator]
5. [ci_shortcode][ci_row]content[/ci_row][/ci_shortcode]
Used before and after every column (used for the [ci_shortcode][ci_column][/ci_shortcode] shortcode).
Outputs:
<div class="row"> your content here </div>
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_shortcode][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_shortcode]
Important Notice: Always have ci_row wrapped around your ci_column shortcode.
Nesting rows will need the use of [ci_shortcode][ci_row2][/ci_shortcode] for level 2 rows and [ci_shortcode][ci_row3][/ci_shortcode] for level 3 rows. It is important not to use [ci_shortcode][ci_row][/ci_shortcode] a second time within itself as it will break the layout of your shortcodes. Example: [ci_shortcode][ci_row] [ci_row2] level 2 content [/ci_row2] [/ci_row][/ci_shortcode]
[ci_separator]
6. [ci_shortcode][ci_column span=”four”]content[/ci_column][/ci_shortcode]
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_shortcode][ci_row][ci_column span=”six”] Your content here. [/ci_column][ci_column span=”three”] Your content here.[/ci_column][ci_column span=”three”] Your content here.[/ci_column][/ci_shortcode]
Important Notice: Always use the [ci_shortcode][ci_row][/ci_shortcode] when using the above shortcode.
[ci_separator]
7. [ci_shortcode][ci_offer text1=”” text2=”” text3=”” url=””][/ci_shortcode]
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_shortcode][ci_offer url=”http://www.cssigniter.com” text1=”Your Title Here” text2=”Line 2 Text” text3=”Line 3 Content Here”][/ci_shortcode]
[ci_separator]
8. [ci_shortcode][ci_big_title]Your Title here[/ci_big_title][/ci_shortcode]
Creates a fancy title.
Example use:
[ci_big_title]Latest News[/ci_big_title]
[ci_shortcode][ci_big_title]Latest News[/ci_big_title][/ci_shortcode]
[ci_separator]
9. [ci_shortcode][ci_galleries number=”” columns=””][/ci_shortcode]
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_shortcode][ci_galleries number=”4″ columns=”4″][/ci_shortcode]
[ci_separator]
10. [ci_shortcode][ci_book_form title=”” button_text=”” note_text=””][/ci_shortcode]
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_shortcode][ci_book_form title=”Make Your Reservation” button_text=”Check Availability” note_text=”This is a small note under the button”][/ci_shortcode]
[ci_separator]
11. [ci_shortcode][ci_newsletter title=”” button_text=”” description=””][/ci_shortcode]
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]
[ci_shortcode][ci_newsletter title=”Our Newsletter” button_text=”Subscribe” description=”your description here”][/ci_shortcode]