diff --git a/social_media_shortcode_plugin.php b/social_media_shortcode_plugin.php index cdb86ef..9fcd018 100644 --- a/social_media_shortcode_plugin.php +++ b/social_media_shortcode_plugin.php @@ -52,6 +52,10 @@ function smsc_shortcode_handler( $atts, $enclosed, $shortcode ) { $link = $smsc_shortcodes[$shortcode][1]; if ( empty($text) ) $text = "$name ($service)"; - - return "$text"; + + if( empty($name) ) { + return "You forgot a username for the website"; + } else { + return "$text"; + } }