POS

IOS Application Development

Using Shortcodes

Estimated reading: 1 minute 454 views

When a shortcode is inserted in a WordPress post or page, it is replaced with some other content. In other words, we instruct WordPress to find the macro that is in square brackets ([]) and replace it with the appropriate dynamic content, which is produced by a PHP function.

[direction]
[direction]

You may see some direction or steps highlighted

Conditional Content [conditional_data]
Conditional Content [conditional_data]

You may see a dropdown list of OS

[terms]
[terms]

With this shortcode, you can show any post

Leave a Comment