the opportunity to collaborate and have fun with some great Australian WordPress people!
$250 AUD per person (paid in advance).
Note: we are not going to profit from this event – any extra money will be spent on additional food/drinks/snacks for everyone.
What do I need to bring?
your laptop and charger
mobile phone (with mobile data) – wifi is not available, so we’ll need to use our phones for internet access
any alcoholic drinks
any specialist snacks/food
your wetsuit (if you’re crazy enough to swim during a Melbourne winter!)
Who is organising this? James Collins and Aaron Rutley.
(Two WordPress developers from Melbourne, and organisers of the WordPress Melbourne User Group).
Can I come?
We are keeping the numbers small – places are limited to 10-12 people. If you’re willing to sleep on the floor (instead of in a bed), it is more likely we’ll be able to squeeze you in.
So if you’re interested in coming, please contact me.
This event is now sold out. Please keep an eye on the blog if/when we organise another one of these events.
I can’t make it on those dates. Will there be another one?
No promises, but we’re really excited about this concept, and we’re hoping to make them a (semi) regular event in different locations around Australia.
Although WordPress themes typically use Responsive Web Design to tailor website for mobile devices, there is sometimes a need to use PHP (backend code) to detect whether the visitor’s web browser is running on a mobile device.
For example, there may be scenarios where you may want to output certain HTML markup (such as a mobile navigation menu) on mobile devices.
Alternatively, you may only want to output a slider containing large images on desktop and not mobile devices. Doing this via PHP (instead of CSS) means that the visitor’s mobile browser won’t have to download all of the slider images even though the slider is never displayed.
wp_is_mobile() is a litte-known function built into WordPress that detects whether the visitor is using a mobile devices such as iPhone, iPad, Android, Silk, Kindle, BlackBerry, Opera Mini, and Opera Mobi.
The function was introduced in WordPress 3.4, and it can be used in a WordPress plugin or theme.
It's a simple function that accepts no parameters, and returns a simple boolean (true/false) value.
Here's a simple example:
Interestingly, WordPress core currently uses this function in a few different places:
To completely disable the Visual Editor for Opera Mini.