fix post meta issue and adds a number of new functions and correlating shortcodes