How-To: Add Minimal-UI Viewport Meta Tag to WordPress

Introduced with iOS 7.1

I don’t have an iPhone, but my daughter does have an iPad Mini, which is running the latest iOS, 7.1. However, this only works for those of you on iPhone’s, so I see no difference. :

Martin Wolf was kind enough to let me use the image from his post about this subject so that I could more easily illustrate the difference. So, even if you don’t have an iPhone, you can still see the changes this makes in the featured image above.

With the release of iOS 7.1 (and possibly late 7.0.x builds), Safari introduced support for a new value in the viewport meta tag. To me, it sounds like it adds effects similar to how Chrome hides its top bar when a page is loaded, but more. For example, the navigation buttons at the bottom are hidden.

I rarely use Safari, like never. Chrome is available on iOS, so that’s what I’ve always used. That’s not to say that you shouldn’t support Safari to it’s fullest, because I’d wager that a majority of iOS users stick with the default, which is Safari.

Chances are, your theme already has a viewport meta tag defined in it’s header.php file. If it does, add minimal-ui to it, so it should look something like this:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimal-ui" />

If your theme doesn’t already have a viewport meta tag set, you can add one with your functionality plugin or theme’s functions.php file like so:

<?php
function set_viewport() {
?>
<meta name="viewport" content="width=device-width, minimal-ui">
<?php
}
add_action('wp_head', 'set_viewport');
?>

Adding the code above will add a brand new viewport meta tag for you, so only use that if your theme isn’t already using a viewport meta tag in it’s header.php file.

That’s it!

Infographic: Global Cell Phone Statistics

The post title pretty much sums this one up. CouponAudit produced, with a little help from longren.org, an infographic showing Global Cell Phone Statistics. I’m not usually a fan of infographics but this one appealed to me due to it’s simplicity and the fact that I am pretty obsessed with smartphones, tablets, and other portable devices.

There’s not too many surprising things in it, but it’s interesting to note that older age groups (30+) have a higher percentage of e-readers compared with their younger (16 to 29) peers. I guess that makes sense, people like my mom and aunt are more likely to buy a Kindle or similar device than I am. I always go Android, unless I’m gifted an iOS device. Some e-readers just don’t have the flexibility that they should.

Somewhat surprisingly, only 25.6% of people in the 25 to 34 age group have smartphones. 25.6% is the highest percent from all the age groups, too. Every meatspace friend that I can think of owns a smartphone, so I’m not sure I totally agree with those numbers. Actually, there’s one friend who doesn’t own a smartphone, and he is probably the only IT Director in the country without a smartphone, but he refuses to get one. Most of my friends are in the 25 to 34 age range, with some quite older friends who even have smartphones. Perhaps it’s just due to the company I keep, who knows.

More interesting facts:

1. More than $150 billion was spent on mobile media globally in 2013.

2. The average american household spent, on average, $1,226 in 2013 for phone services. In 2007 it was $1,110 a year.

3. Samsung continues to be the most prolific manufacturers of smartphones and dumb phones.

4. 68% of smartphones run some version of Android, with 16.9% running Apple’s iOS.

5. Android recently hit 50 billion downloads on the Play Store.

6. The Apple AppStore hit 50 billion downloads 6 months earlier, but I think it had a considerable head-start with a well established app ecosystem from the git-go.

You can download the infographic right here. The link will open in a new tab. I’ve also included it after the break, if you’re reading from the frontpage, click the “Continue reading” link below to see the infographic embedded into this post. There’s also code you can copy to include the infographic on your website.

Continue reading “Infographic: Global Cell Phone Statistics”

Songbird 0.2

Get SongbirdI’ve been using Songbird 0.2 all day long. The first thing I noticed was how slow Songbird is at parsing ID3 tags. I’ve only got 1,276 songs in my library and it took 5+ minutes to scan all those mp3 files and figure out the artists/albums.

The volume seems flaky too. I’ll set the volume and go work on something else, and I swear it sounds like the volume is rising and falling slightly as I work with other applications.

I really like the interface, it’s very quick and responsive, and it looks pretty too. I really can’t believe how responsive it is. I sort of expected it to be on par with iTunes, slow as hell.

If you’re going to give Songbird a try, the minimize to tray plugin is a must. Well, it is for me, I hate clutter on my taskbar. Songbird 0.2 has been very stable for me so far, it hasn’t crashed or died unexpectedly once. I will probably end up sticking with Songbird as my main music player, mostly because it’s cross-platform.

[via Download Squad]

Gmail For Your Domain

Hosted Gmail, or “Gmail for your domain”, is sweet. It provides the ability to use the Gmail interface with your domains email. So, I go to my hosted Gmail and I can send/receive email at the longren.org domain.

I had to change my MX records at DreamHost over to Google’s, naturally. I didn’t include a priority when switching them over though, stupid. I guess I was expecting a seperate form field for those. Didn’t cause much of a delay though.
dreamhostMX

I really like the idea of “Gmail for your domain.” It serves it’s purpose very well. I could go for a few more features in the administration area. The “Advanced Tools” in the picture is really a “tool” for editing your accounts in bulk. Under “Domain Settings” you’ll have the opportunity to set a custom logo, edit the sign-in page, and enable/disable chat. The only thing you can currently edit on the sign-in page is the color of the username/password boxes. Click for a bigger picture.
hostedGmail_lastTime
I expect a whole slew of new customizable settings as the beta progresses. I believe the chat feature was just added today, although standard Gmail has had that for some time now. I’d really like to be able to edit the title used on pages. It seems to just use the domain as the title right now.

I noticed they’ve got an “Account Plan” indicator on the administration dashboard. Google will probably start charging for this service once it’s out of beta, which could be in like 15 years. I mean, Gmail itself is still in beta. They might even charge per user, I’ve got “Up to 200 users for free.” I’d actually expect a pricing schema very similar to that seen today in web hosting. But probably cheaper.

Hopefully that screenshot isn’t against the TOS or anything. I’m not gonna bother reading that 50 page psycho-babble though. Maybe I’ll post more screenshots later.

On a somewhat related note, Garett Rogers (at ZDNet blogs) is speculating about “Google Music“. It’s not news though, just hardcore speculation.

Information gathered at the Digital Hollywood pre-show suggests Google is holding an invitation only event for twenty top music industry executives this Thursday. This may suggest that Google is moving forward plans to compete with Apple and others in the downloadable music space.

The topic of this meeting isn’t known, but we can speculate that Google may be showing an early stage product that is in the making or trying to form partnerships like they have with CBS.

UPDATE: Science Addiction has a nice review of Gmail for your domain, along with screenshots. Site may be slow as it got slashdotted earlier today, seems to be recovering now.