Merge pull request #2 from IET-OU/master

Merge fixes
refactored post type creation and tied shortcodes
Fixes to prevent PHP notices

* Ensure "$sep" and $trickytopic are defined before they are used