Shortcodes

Shortcodes

Section Shortcode

Section shortcode is intended to wrap content. You can add your custom code and or shortcodes.

Attributes

  • title – The title of the section
  • subtitle – The sub title of the section
  • background-color – The background color for the section container. Default to ‘transparent’. Use hex long format. Es: #cccccc
  • background-image – The ID of the background image to use for the section container. The ID must the media post id.
  • link – The link text to use in conjunction with link_url  when you want to show a cta button that link to another page or an external resource.
  • link_url – The url of the link.
  • link_icon – The icon to use at the right of the link text. Our theme use Lineawesome as default font library, so you should use the icon name you can get from https://icons8.com/line-awesome
[ dl_section title="Title" subtitle="Subtitle" background-color="#ffffff" background-image="128" link="Link Text" link_url="http://www.southemes.com" link_icon="angle-right"]YOUR CONTENT / SHORTCODE[/dl_section ]

FEATURED LISTINGS

Check all the featured listings according to our experts

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Testimonials

Attributes

  • title – The title of the section
  • background-image – The ID of the background image to use for the section container. The ID must the media post id.
  • slider – ‘yes|no’ To enable slider or not. Default to ‘no’.
  • rating– ‘yes|no’ To show or not the rating associated to the testimonial. Default to ‘yes’
  • avatar – ‘yes|no’ To show the testimonial’s avatar. Default to ‘yes’
  • show_meta – ‘yes|no’ To show the meta of the post or not. Default to ‘yes’
  • show_excerpt – ‘yes|no’ To show the post excerpt or not. Default to ‘yes’
[ dl_testimonial title="What our customers say" background-image="2180" slider="yes" ]

What our customers say

Terms / Categories

Attributes

  • taxonomy – The taxonomy name for terms
  • orderby – How to order the retrieved terms. Default to ‘name’. See https://goo.gl/RbKwwF
  • slug – A list of terms slug separated by comma
  • grid – A list of grid definition. Default to ‘1,2,1’.
[ dl_terms taxonomy="listing_categories" slug="activities,food,nightlife" grid="1,2,1" ]

Posts

The Posts shortcode is the base for all other shortcodes that work with posts.
Some other shortcodes may override or remove the attributes.

Attributes

  • post_type – The type of the post. ‘post’ by default.
  • posts_per_page – How many posts do you want to show per page.
  • pubdate_format – The format for the date. Default to get_option(‘date_format’).
  • show_title– ‘yes|no’ To show or not the title of the post. Default to ‘yes’
  • show_thumbnail – ‘yes|no’ To show the thumbnail of the post or not. Default to ‘yes’
  • show_meta – ‘yes|no’ To show the meta of the post or not. Default to ‘yes’
  • show_excerpt – ‘yes|no’ To show the post excerpt or not. Default to ‘yes’
[ dl_posts posts_per_page="6" ]

Listings Posts

Attributes

  • posts_per_page – How many posts do you want to show per page.
  • featured – ‘yes|no’ If the listings must be only the featured ones.
  • pubdate_format – The format for the date. Default to get_option(‘date_format’).
  • show_title– ‘yes|no’ To show or not the title of the post. Default to ‘yes’
  • show_thumbnail – ‘yes|no’ To show the thumbnail of the post or not. Default to ‘yes’
  • show_address – ‘yes|no’ To show or not the address of the listing
[ dl_listings featured="no|yes" posts_per_page="6" pubdate_format="{default to date_format}" show_title="yes" show_thumbnail="yes" show_meta="yes" show_excerpt="yes" grid_class="col--sm-6 col--md-4" /]

Alerts

Attributes

  • type – One of: info, warning, error, success.
  • icon – The icon to use with the alert. Refer to Fontawesome and Lineawesome classes names
[ dl_alert type="success"]Well done! This is a success message.[/dl_alert ]
Well done! This is a success message.
Ok! This is an info message.
Ops! This is a warning message.
Oh Snap! This is a bad error message.