How To Display a Message on Old WordPress Posts

January 31, 2012 | CSS, WordPress

message

If you post helpful information on your blog chances are some of your early posts are now outdated as technologies have changed over the years. Let’s take a look at how we can add a mix of PHP tags to our WordPress themes to automatically add a small disclaimer or warning message to posts over X years old.

The little snippets of code we’re going to add to our theme will allow us to display a message above our post content, but only on posts over a number of years old. We might only want to display this message on certain types of posts, in my case it’s only my tutorials that have become outdated, so we’ll also add a category filter to target only old posts from a particular section of the blog. Read the full story…

 

PHP Arrays: Array Functions and Multidimensional Arrays

January 26, 2012 | Miscellaneous, Web Development

The difference between one-dimensional and multidimensional arrays is a simple one: a multidimensional array is a simple array that has simple arrays as elements, rather than strings or scalar variables.

Building a Multidimensional Array

Here is how our $arrBooks example from last week’s article can be expanded into a multidimensional array: Read the full story…

 

What is SOPA, PIPA? And why is it being protested?

January 20, 2012 | Miscellaneous

SOPA-Blackout-Success-1-537x326

Supporters of the Stop Online Piracy Act, or SOPA (and its Senate-sister the Protect Intellectual Property Act, PIPA) legislation — like the Motion Picture Association of America (MPAA) — argue that legislation is needed because online piracy puts jobs and industries at risk.

While I agree that content piracy is a real problem, the language and implications of SOPA has the potential to hurt the very industries and content creators the bills purport to protect.

Read the full story…

 

6 Powerful Google Analytics Features

January 17, 2012 | Miscellaneous, SEO

histats

Google Analytics is much more robust than most people give it credit for. Contrary to popular belief, it can do most of the things more advanced analytics suites can do, except Google does it for free.

Many web designers and developers complain about the limitations of Google Analytics. At first glance, it doesn’t seem as powerful as some of the other web analytics suites out there because it doesn’t let you track outbound links or see data in real time. So, developers flock to premium products like Clicky and Mint, but those services can be expensive, especially if your web project isn’t generating any income yet. Also, while they fix some of the limitations inherent in Google Analytics, they lack some of the Google-only tie-in features, such as Adwords and Adsense tracking.

Read the full story…

 

50 Adorable Photos Of Danbo That Make You Go Awww!

| Inspirations

stroll

So in this showcase, we are gonna show you 50 lovely cardboard sets. What? Yes, to be exact, 50 photos of different scenes with a lovely combined set of cardboards named Danbo.

Originally created by Japanese artist Kiyohiko Azuma in his manga “Yotsuba&!“, Danbo was originally intended to be a fake and funny robot which a human wears a combined set of cardboards, and interacts only when other puts coin into the slot located on its body. Amazon Japan spotted the idea, and used it for marketing, and it was a tremendous success.

Since then, photographers everywhere were inspired to make something really fun and even artistic with the Danbo, and this post serves to be a collection of awesome Danbo photos for you to enjoy and even experience some of the most beautiful moments of mini Danbo’s life!

Spend a moment with this post if you didn’t smile for some days, it’ll be interesting – we promise :-)

Read the full story…

 

Internet Explorer Still on Top, But Chrome Is Winning the Browser War

January 4, 2012 | Miscellaneous

browser-wars

Microsoft’s Internet Explorer is still the world’s most popular browser, but it and Mozilla’s Firefox lost a lot of market share to Google’s Chrome in 2011, which is now firmly in second place.

According to StatCounter’s 2011 data, Internet Explorer currently has a 39% market share, Chrome is at 27%, while Firefox holds 25% of the market.

Safari and Opera follow with 6% and 2% market share, respectively.

These numbers alone don’t tell the whole story, however. Internet Explorer started 2011 with a 46% share of the market, and Firefox was over 30%. Both browsers steadily lost their share throughout the year, and almost all of it went to Chrome, which is clearly the year’s biggest gainer.

 

Net Applications’ numbers for 2011 are very different, with Internet Explorer having a much bigger lead (52%), but the trends are similar: Chrome was the only clear winner in 2011, having jumped from 10% to 19% market share.

Interestingly, Net Applications sees Firefox’ current market share almost exactly where it started 2011: at 22%.

Regardless of whose number you believe, it seems that Chrome is on a roll, and its steep upward trajectory shows that other browser makers should take notice. Otherwise, we may have a new king of the browser market in a year or two.

 

Source: Mashable.com

 
WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera