Archive for the ‘WordPress’ Category

15 September, 2013 — Development, Snippets, WordPress

Display A Message On Older Posts

When blog posts get old, sometimes the information in them is not as accurate as they were at the time of writing. This can be misleading and can cause confusion to the reader.

This simple bit of code when either placed in your themes funcions.php file or a functionality plugin will display a message at the top of any posts that are older than 1 year. You can customise the message in the code below and add some styles to your style.css file. Once done upload your file WordPress will automatically take care of the rest.

// display a message on older posts
function tb_older_post_message () {
    $posted = get_the_time('U');
    $current = current_time('timestamp');
    //Convert difference in seconds to days
    $diffTime = ($current - $posted) / (60*60*24);
    if($diffTime > 365){
        echo '<div class=older-post-message>' . __('This post was written more than a year ago and <em>might</em> not be entirely accurate anymore.', 'wptips') . '</div><br />';
5 September, 2013 — Blogging, Development, Tech, WordPress

Pressgram Hits the App Store!

John Saddington a former founder of 8BIT has a little project he started over at Kickstarter. Pressgram v1.0Pressgram is an Instagram like application that will allow its users to take photos using there iOS device, add filters and publish them right to a WordPress website all while drinking a cup of coffee! While some people might think whats the point – I may as well just use Instagram? Well a few months ago now Instagram was purchased by Facebook and not long after that decided it would change its Terms of Service to allow itself to effectively sell your photos for profit without your permission and without paying you a penny. To sum all of that up in one sentence… Instagram owns your photos from the moment they hit there servers! This was when John decided this wasn’t right – photos uploaded should remain the property of the user who took and uploaded the photo. Allowing full creative control to that user. This was when Pressgram

2 August, 2013 — WordPress

WordPress 3.6 Hits The Shelves

WordPress 3.6 has hit the shelves!

Matt Mullenweg announced on the WordPress blog the release of the latest version 3.6, which includes some major updates to autosave, post locking, a revamped revision browser, native support for audio and video embeds and improved integration with Spotify, Rdio and SoundCloud.

The release is called “Oscar” in honor of Canadian jazz pianist Oscar Peterson.

So what are you waiting for? Do download it now

12 July, 2013 — WordPress

WP Daily – Back Online! Well For Now

Say what? Are you confused? I am.

It would appear WP Daily is back online – well for now anyway. The website appeared back online a few hours ago and John Saddington, WP Dailys editor posted the following:

There has been much thought and feedback over the last day about what will happen to WP Daily. Please know that we have a plan in place! We are going to put the site back online for archiving purposes for the community.

Please know that there will be other announcements in the very near future about the long-term plan for WP Daily, but until then all editorial will be halted and no new posts shall be published.

Thank you for your patience and we’re very excited about the future of not only this site but the great content and legacy that’s been created. Again, we couldn’t have done it without your help.

Stay tuned!

Who know’s that they have planned for the website now? Maybe a sale? I guess we just have to wait and see.

11 July, 2013 — Tech, WordPress

WP Daily – Says Goodbye

Today is a sad day for many WordPress fans – as quickly as it came it was gone. WP Daily yesterday evening closed its doors displaying this message to its users.


This sure is a sad day for everyone who loved and used WP Daily – well daily! A press relese on there company blog stated:

It was a great run, to be sure.

We achieved every single goal and metric that we had set out to accomplish (and then some) in this glorious experiment and so we consider it a “success.” But, it did not achieve the much larger global goals and strategy of our organization at this present time.

Consequently, we’ve pulled the plug. A huge-mega-super shoutout to all of our supporters, readers, and financial partners who made it a success – we could not have done it without you!

Let us know if you have any questions.

What will be the next project for 8bit? Who knows…

31 May, 2013 — Blogging, WordPress

Brute Force Attack – The Result

Email Account

I’m sure you may well know, unless you’ve been living under a rock recently? There has been a large botnet attacking WordPress websites all around the world in the way of a Brute Force Attack.

Last weekend my email account went mad, with emails from the plugin Limit Login Attempts about 3-5 emails every minuet, for 48 hours. Unfortunately I was away from home with practically no internet access so was unable to try to stop the attack. From the emails they were targeting 3 different usernames admin, administrator and support. I was pretty sure my server would hold out while the attack was happening and it did. The attack stopped late Sunday night.

My Incoming Emails

My Incoming Emails

When I got home, I opened up my email client and the emails began to download… all 29,861 of them, I guess thats the only downside of Limit Login Attempts… but at least it raised my attention to something that could have been a lot worse.