Add shortcodes

Shortcodes is a great way to use php-functions in your posts and pages. You can also use it for styling your content, for example [b]Bold text[/b].

As WordPress doesn’t allow code in posts and pages, shortcodes is a good way to implement php-functions in your content.

There are three different kinds of shortcodes:

  • [myshortcode] – Simple shortcode.
  • [myshortcode id="5"] – Shortcode with parameter.
  • [myshortcode]Hello World![/myshortcode] – Shortcode goes BB Code.

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!