gdkob_note

This shortcode is used to display formatted Note block.

Attributes

Shortcode has several attributes:

  • class: additional CSS class name to add
  • type: type of the Note: ‘info’, ‘warning’, ‘error’, ‘ok’. The default is ‘info’
  • title: title for the Note.
  • hide_icon: option to┬áhide Note icon: ‘yes’ or ‘no’. The default is ‘no’.

Example #1

Shortcode:

[gdkob_note title="The Info Note" type="info" hide_icon="no"]Nulla pretium dolor ac porttitor euismod. Praesent sit amet pharetra libero. Suspendisse feugiat neque a dui accumsan lacinia. Donec eget porttitor nisl, at venenatis lorem. Phasellus sed felis diam. Mauris scelerisque luctus consectetur. In a erat eget sapien efficitur aliquet sed non felis.[/gdkob_note]

Output:

The Info Note
Nulla pretium dolor ac porttitor euismod. Praesent sit amet pharetra libero. Suspendisse feugiat neque a dui accumsan lacinia. Donec eget porttitor nisl, at venenatis lorem. Phasellus sed felis diam. Mauris scelerisque luctus consectetur. In a erat eget sapien efficitur aliquet sed non felis.

Example #2

Shortcode:

[gdkob_note title="The Warning is Here" type="warning" hide_icon="no"]Nulla pretium dolor ac porttitor euismod. Praesent sit amet pharetra libero. Suspendisse feugiat neque a dui accumsan lacinia. Donec eget porttitor nisl, at venenatis lorem. Phasellus sed felis diam. Mauris scelerisque luctus consectetur. In a erat eget sapien efficitur aliquet sed non felis.[/gdkob_note]

Output:

The Warning is Here
Nulla pretium dolor ac porttitor euismod. Praesent sit amet pharetra libero. Suspendisse feugiat neque a dui accumsan lacinia. Donec eget porttitor nisl, at venenatis lorem. Phasellus sed felis diam. Mauris scelerisque luctus consectetur. In a erat eget sapien efficitur aliquet sed non felis.
0
0
29
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply