frontend functions and shortcodes

Signed-off-by: Eduardo Stuart <stuart.eduardo@gmail.com>