How to display update message only to admin

Create your own plugin with this code or put this in theme’s functions.php add_action(‘init’, ‘remove_update_notification’, 1) function remove_update_notification() { if (!current_user_can(‘manage_network’)) { // checks to see if current user can update plugins add_action( ‘init’, create_function( ‘$a’, “remove_action( ‘init’, ‘wp_version_check’ );” ), 2 ); add_filter( ‘pre_option_update_core’, create_function( ‘$a’, “return null;” ) ); } }

Do you use css reset in your child theme [closed]

The _s (or Underscores) theme is a great starter theme. It’s not a child theme, rather a barebones template that you can build on. It includes many features such as HTML5 templates, custom header, custom background and theme options implementations, custom template tags, 5 sample CSS layouts, starter non-presentational CSS that you can build on, … Read more

How to get WPtouch working?

There is this very old post on wordpress.org that I think is the answer to your concerns. From the plugin author (ten months ago): Using a sub-domain is not supported at this time. However, if you mean that you’d like to do your own redirection/detection, you can use one of the many Javascript and PHP … Read more

Can’t get options with $data[‘variable’]

This is actually a PHP question, and not a WordPress question. The issue is that global variables don’t pass through the include()/require() call from the template file into header.php. The solution is to define $data after you globalize it. Without knowing your options framework or your Theme specifically, I can only answer in general terms; … Read more

Turning a WP Site Into an iPhone/iPad App [closed]

The best way to do this would be to use CSS3 media quires: @media (max-device-width: 480px) but requires more work. The quick and dirty way to make your WordPress theme app-like would be to add the viewport meta tag to the <head> of your page: <meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″> Viewport scales you page to … Read more