Categories

shortcode

Kate Daniels abril 15, 2015
No votes yet.
Please wait...

Shortcode is a powerful content building tool for managing content. It is a special tag which consists of different attributes and parameters.

Shortcodes are flexible because they allow us to add/remove parameters in order to make them more functional.

They were introduced to allow people to execute code inside posts and pages without writing any code directly.

Shortcodes simplify the addition of features into website and include numerous options such as displaying posts, images, icons, tags, etc.

Shortcodes are used in WordPress and Drupal based websites.

All available shortcodes are conditionally divided into these groups:

  • Dynamic – used for content output (posts, custom post types, tags, etc.);

  • Grid Columns – various columns for grid forming;

  • Elements – additional elements for content forming;

  • Other – additional elements for advanced/complex content forming:

shortcode

A shortcode is enclosed with square brackets and can be inserted into a page or post. Here is an example of a simple standard shortcode for WordPress:

[alert_box style="message" close="yes" custom_class="message"]Hello, World![/alert_box]
shortcode_1

Shortcodes are added using a shortcode button in a Visual editing mode:

shortcode_2

Here is an example of a simple standard shortcode for Drupal:

[dropcap]Text here[/dropcap] 
shortcode_3

It replaces the given text formatted like a dropcap.

Agregar enlace permanente a marcadores.

Submit a ticket

Si Usted todavía no puede encontrar un tutorial suficiente para arreglar su problema, por favor use el siguiente enlace para enviar un ticket a nuestro equipo de soporte técnico. Nosotros enviaremos nuestra respuesta dentro de próximas 24 horas: Enviar un ticket

Comentarios están cerrados