All posts tagged “Date”

Save the date for Generate London 2015

Read more about Save the date for Generate London 2015 at CreativeBloq.com


Save the date – net magazine and Creative Bloq would like to invite you to a very special event on 17-18 September 2015, held at the glittering Grand Connaught Rooms (near Covent Garden, London).




Creative Bloq

Save the date with these type-tastic wedding invites

Read more about Save the date with these type-tastic wedding invites at CreativeBloq.com


Designer Gavin Strange brought his creative flair to the table for his wedding invites




Creative Bloq

‘Fast & Furious 7’ release date moved forward to April 3rd, 2015

Fast & Furious 7 was pushed way back after one of its stars, Paul Walker, died in a car crash last year, but now the movie’s release date is being moved forward by just a bit. The film is now planned for release on April 3rd, a week earlier than the April 10th release date that was originally announced to compensate for the changes in script and filming. Since then, it’s been announced that Walker’s brothers would actually step in to help finish out his role in the next film.

Walker himself had completed most of the dramatic and action scenes that he was needed for already, so it appears that the movie may not have to make a dramatic number of changes mid-production. Universal didn’t say why it’s chosen to just slightly push forward the…

Continue reading…

The Verge – All Posts

Slick design concept brings Wikipedia bang up to date

Read more about Slick design concept brings Wikipedia bang up to date at CreativeBloq.com


New ‘grid view’ for Wikipedia’s homepage as part of this comprehensive design concept




Creative Bloq

HTC sets March 25th date for its next flagship phone launch

HTC is distributing press invitations for its next big event, scheduled for March 25th, where the company’s next flagship smartphone will be revealed. As with the HTC One launch in February of last year, the announcement will be made via simultaneous events in London and New York, and HTC promises that the phone in question will be its “primary flagship for 2014.”

Numerous leaks have already identified the new handset as a refinement of the current One — potentially with a larger screen in a similar physical footprint and a dual-sensor camera — with the product name also expected to remain unchanged. Codenamed the M8, the new One is likely to usher in the latest version of HTC’s Sense software atop the Android platform that’s…

Continue reading…

The Verge – All Posts

10 reasons not to date a designer

Read more about 10 reasons not to date a designer at CreativeBloq.com


Everybody loves us designers, right? How could they not? Well, if you really believe that, then it’s time for a dose of unpalatable truth. Here, with tongue planted firmly in cheek, we present some common designer bad habits that are bound to get you in trouble with your other half if you don’t keep them in check. Be honest: does any of this sound like it might be you?
    




Creative Bloq

The FBI’s drone ambitions date back to the 1990s

The FBI began experimenting with drones in 1995, but didn’t view them as a viable option for video surveillance until a full decade later. Since then, however, the agency appears to have slowly but steadily moved forward in building its drone program. Now, details of that program have been revealed in a series of recently released documents sentI to Citizens for Responsibility and Ethics in Washington (CREW), an advocacy group that issued a Freedom of Information Act request in June. Though CREW was interested in learning what company provided the FBI’s drones and where the purchases’ funding came from, that information is largely redacted. Even so, the documents do reveal quite a bit about the program’s development, including how the…

Continue reading…

The Verge – All Posts

Moon Express unveils lunar lander design with planned 2015 launch date

Moon Express, currently a contender for Google’s $ 30 million Lunar Xprize, recently unveiled designs for the robotic spacecraft that could let them continue lunar exploration in the next decade. Dubbed the MX-1, company CEO Bob Richards is calling the coffee table-sized craft the “‘iPhone of space’; a platform capable of supporting many apps including our core plan of exploring the Moon for resources of benefit to humanity.”

Continue reading…

The Verge – All Posts

A look into: WordPress Date Query

We can display posts published on specific dates with the date parameters in WP_Query. The functionality, however, is basic. We can query posts by day, year, and month, but we were not able to query posts within a certain timeframe. Having been a victim once, I used a hack.

However (thanks to Alex Millis who contributed the code), in version 3.7, released recently, WordPress included Advanced Date Query which allows us to display more complex date-based post queries natively with WP_Query. With this, we can display posts that are published before or after certain hours. Let’s have a look at it.

Advanced Date Query

Version 3.7 introduced a new parameter called date_query. How do you use it?

Say, you are working on a news site, and want to highlight the news (or posts) from the previous week. By using date_query, we can write like so:

 $  last_week_news = new WP_Query( array( 'date_query' => array( array( 'after' => '1 week ago', ), ), 'posts_per_page' => 5, )); $  query = new WP_Query( $  last_week_news ); 

We can also display posts in a very specific timeframe. Below is an example of how we display posts between 15 December 2012 and 15 January 2013. This helps feature end of the year to the turn of the new year stories.

 $  new_year_stories = new WP_Query( array( 'date_query' => array( array( 'after' => 'December 15th, 2012', 'before' => 'January 15th, 2013', ), ), 'posts_per_page' => 5, )); $  query = new WP_Query( $  new_year_stories ); 

And, as mentioned, we can also display posts that were published in certain hours.

If your news website need to feature morning newsbits, you can write the code with date_query this way.

 $  morning_news = array( 'date_query' => array( array( 'hour' => 6, 'compare' => '>=', ), array( 'hour' => 9, 'compare' => '<=', ), ), 'posts_per_page' => 10, ); $  query = new WP_Query( $  morning_news ); 

It’s simpler, straightforward, and the code is more readable.

Final Thought

With the addition of advanced date query, WP_Query has become even more extensive. If keeping track of dates is important on your site e.g. if you are an event organizer or host multiple conferences or conventions, this new feature will definitely be very helpful.

For further reference, you can head over to the WordPress Codex page for Date Parameters.


    




hongkiat.com

Design Inspiration: Save the Date

A really nice save the date concept that uses custom typography in a beautiful way. I particularly like the simple layout of the card and the use of clean crisp lines to produce a stylish finish.

This design was featured on Thursday 17th of October 2013. It’s designed by Danielle Riley, and falls under the category of Business Cards.

If you’d like, you can visit this site, or view all our other featured designs.

Design Shack