Short Tags Reference
Using Short Tags in Posts
Short tags can be inserted in the posts with the use of square brackets, i-e:
They will be replaced with specific content before the post is displayed.
Some short tags are built-in features of the b2evolution core while others are handled by plugins.
The order in which short tags are replaced/rendered is the following:
- All Renderer Plugins are executed in their order of priority. They will replace any short tags they can replace. This may happen at save time and/or at display time, depending on the plugin.
[pagebreak]are used to cut blocks of text. This happens at Display Time.
- Built-in renderers such as
[parent:], etc. are resolved last, in case the tags haven’t been replaced by a plugin yet. This always happens at Display Time.
In case Content Blocks are included with
[include:...], this happens recursively at display time.
b2evolution includes some default CSS classes that can be applied to various Widgets and/or Short Tags in order to easily control some display aspects. If these are not sufficient, you can also add your own classes. For widgets children-widgets-inline…
Short tags used to display Custom Fields
The [audio:] short tag is used to render an audio player for an attached file, using the first audio player plugin available.
Built-in Feature This short tag allows grouping paragraphs into a <div> and apply some CSS classes. Note: generates a block element (<div class="optional classnames">...</div>) and cannot appear inside a paragraph.…
This will display an email capture form (through the Email capture / Quick registration widget) and automatically register users to a mailing list.
This short tag will show a link icon that will open the specified attached file when clicked.
This short tag will insert the attached file as a responsive image (typically using the full width of the text column) with optional caption.
Built-in Feature / Renderer Plugin This "short tag" allows displaying a Content Block within the content of any Item/Post or even another Content Block. IMPORTANT: is actually processed by the Include Content Block Plugin (and the built-in…
The short tag [inline:] will insert the attached image file as a very simple tag pointing to the original file.
This tag allows to have multi-page posts. This used to be really popular in the days when CPM ad banners were cluttering the pages and site editors wanted to generate as many page views as possible.
This short tag allows the display of the Poll Widget within the content of any post/article/page. This tag will be rendered by the Polls Plugin renderer (if it is configured to do so).
This short tag allows logged-in Users to subscribe to an email list. If they are already subscribed, the button toggles to allows to unsubscribe.
This short tag allows to mark the separation between the Teaser of a post and the body of the post. In many views, b2evolution will display only the Teaser of a post and a "Read more" or "Full story" link will appear at the position of the tag.
The inline [thumbnail:] tag is a placeholder inserted in the content to be replaced by a thumbnail image when the post is displayed.
The [video:] short tag is used to render a video player for an attached file using the first video player plugin available.