How to register a shortcode in WordPress
In WordPress you can’t add php code into posts by default. Sure, you can use Exec-PHP plugin that will let you do that but it is not the best option. A community accepted way to add some advanced code, or show something depending on the status of the user viewing the post can be achieved […]