Upload
manuel-schmalstieg
View
549
Download
3
Embed Size (px)
DESCRIPTION
A short talk given at WordCamp Switzerland 2014, about the importance of time and date in website architecture, and in WordPress. Presentation of my custom plugin Minimalistic Event Manager: http://wordpress.org/plugins/minimalistic-event-manager/
Citation preview
#wcch 2014
date management
for minimalists
date management
for minimalists
# 1
# 2
n
-1h-2h
-2h
-17h
-22h
-22h
-23h
Apr 28
Apr 16
Jan 3
Dec 19
in WP
structure =
publication date
in real life?
publication date
≠ event date
may 18
june 6
feb. 2015
1892
1930
1955
requirements
flexible date output
fuzzy dates!dates for everything
?
plugins?
testing
things
we
don’t
want
issue #1
date pickers
(don’t allow
fuzzyness)
issue #2
mandatory
event
CPT
solution:
write your
own plugin
yyyy-mm-dd
'meta_query' => array( array( 'key' => '_mem_start_date', 'value' => array( '2012-01', '2012-03-32' ), 'compare' => 'BETWEEN' )
showcase!
tl;dr
use WP core features
#1
make no assumptions about user
content
#2
be easily replaceable
#3
thank you ;-)
!
icons:
Stopwatch by Scott Lewis
Structure by Mister Pixel
from The Noun Project
CC-BY license
typeface:
Encode Sans
Pablo Impallari & Andres Torresi
OFL license
@16kbit
Manuel Schmalstieg