Show Content To Super Admin User Only

This is just a little FYI -

I found many articles online showing how to display content to admin users only.
This is accomplished by checking to see if the current user is level 10 (admin).

if( current_user_can('level_10') ) .....

Full Details: http://wptricks.net/how-to-display-content-for-admin-only/

However, Wordpress does not have a level to identify Super Admin users. So instead of checking to see what level a user is, we can check to see what capabilities the user has, like so:

if( current_user_can('update_core') ) ......

In other words, if the user has the capability to update the core, he must be a Super Admin.
For a full listing of Wordpress roles and capabilities, check this link:
http://codex.wordpress.org/Roles_and_Capabilities

Below is the full code which will display content for Super Admin users only.

<?php global $user_ID; if( $user_ID ) : ?>
<?php if( current_user_can('update_core') ) : ?>

<p>Hello Super Admin, you are looking good today.</p>

<?php else : ?>

<p>Hello, you are not a Super Admin.</p>

<?php endif; ?>
<?php endif; ?>

Cheers!