/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function showMessage($message, $errormsg = false) { if ($errormsg) { echo '<div id="message" class="error">'; } else { echo '<div id="message" class="updated fade">'; } echo "<p><strong>$message</strong></p></div>"; } function showAdminMessages() { showMessage("Working on Theme's function.php, Do not touch it till further notice.", true); } add_action('admin_notices', 'showAdminMessages');
Comments
