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_slider]
Creates a fancybox slideshow out of your Slider Items custom post type.
Example use:
[ci_slider]
2. [ci_entry type="" id="" slug=""]
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]
3. [ci_room id="" slug=""]
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]
4. [ci_page id="" slug=""]
A shortcut to the [ci_entry] shortcode, brings your specified page either by ID or slug. Best used wrapped iniside the [ci_column]
shortcode.
Example use:
[ci_row][ci_column span="six"] [ci_page id="98"] [/ci_column][/ci_row]
5. [ci_row]content[/ci_row]
Used before and after every column (used for the [ci_column]
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]
Important Notice: Always have ci_row wrapped around your ci_column shortcode.
Nesting rows will need the use of [ci_row2]
for level 2 rows and [ci_row3]
for level 3 rows. It is important not to use [ci_row]
a second time within itself as it will break the layout of your shortcodes. Example: [ci_row] [ci_row2] level 2 content [/ci_row2] [/ci_row]
6. [ci_column span="four"]content[/ci_column]
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"] Your content here. [/ci_column][ci_column span="three"] Your content here.[/ci_column][ci_column span="three"] Your content here.[/ci_column]
Important Notice: Always use the [ci_row]
when using the above shortcode.
7. [ci_offer text1="" text2="" text3="" url=""]
Used to create boxes with text (not necessarily restricted to offers) .
Example use:
[ci_offer url="http://www.cssigniter.com" text1="Your Title Here" text2="Line 2 Text" text3="Line 3 Content Here"]
8. [ci_big_title]Your Title here[/ci_big_title]
Creates a fancy title.
Example use:
Latest News
[ci_big_title]Latest News[/ci_big_title]
9. [ci_galleries number="" columns=""]
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"]
10. [ci_book_form title="" button_text="" note_text=""]
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"]
11. [ci_newsletter title="" button_text="" description=""]
Fetches the newsletter form.
Example use:
[ci_newsletter title="Our Newsletter" button_text="Subscribe" description="your description here"]