updated php-shortcode from wordpres to custom functions