WordCamp Sheffield 2014

If you’ve read my blog in the past, you know that I’m a huge fan of WordPress, and before we moved to Boston, an active member of the Sheffield WordPress User Group.

Today, I’ve attended the UK National WordCamp, which has been hosted by some of my friends from my time at the user group in Sheffield. Myself and my friend Dave drank lots of coffee, jumped in the car with Iron Maiden on the stereo, and popped over for the day.

Wordcamp Sheffield

What on earth are you talking about?

For those of you who don’t know what I’m waffling  about, WordPress is basically software for managing a website, most often for running a blog. It’s open source, free software, which anyone can use with no fees. Unlike many online projects, there is a really active community of people who use it.

There’s also an ethos “Code is Poetry“, which is about an appreciation of the beauty and satisfaction that can come from creating and using good technology. The WordPress team name major releases after jazz musicians, and often release haikus celebrating version updates.

(I actually keep track of all these hiakus on my page “All the WordPress Haikus“…)

So, despite Joen waking me up at 5am, we still left late, and even after we hurriedly dropped off my dog with a friend, and walked/ran down to the Mappin building in Sheffield we were just in time… to completely miss the first talk. However, the second talk was on…

Theme Development Workflow from start to finish

Jonny A photoThis talk was from Wonderflux framework creator Jonny Allbut (on twitter as @jonnyauk). It was a pretty informative talk with lots of interesting points from his personal experience as a professional WP developer of many years.

Key points I took out:

  • I really need to learn how to use Version Control (especially Git).
  • Separating non essential-to-theme items out of the functions.php and putting them as seperate plugins can help with future proofing as well as clarity.

The Challenges of managing a Multi-Author Blog

Samantha DeakinSamantha Deakin (@SamanthaJDeakin) gave us a talk about the challenges and pitfalls of running a multi user blog – the award winning enterprise.shef.ac.uk.

Didn’t write it all down, but some key points were that of encouraging frequent contributions (in their case, by having 7 paid interns!) and developing a culture of regular blogging. Some surprising revelations about authors not being aware that stealing other people’s blog posts from across the internet is not cool…

Wow Plugins

kimbWPSheffield organiser, Make Do operator and generally well dressed and nice smelling. He was talking about his favourite plugins, alongside lots of irritating internetz speekz [sic].

Common plugins:

Contact forms:

  • Gravity forms
  • Contact form 7

eCommerce

  • WooCommerce
  • Many of the others have fallen by the wayside somewhat. WP eCommerce is falling out of date

SEO

  • WP SEO (Yoast)
  • Hypercache

Jetpack is 20 plugins in one. People seem to either love or hate it.

Buddypress is also a very cool plugin – people forget that it is just a plugin because it does so much stuff.

WP Remote allows awesome management of all your different sites, managing updates, users, etc.

Cool other plugins

  • Hammy, is a responsive images plugin that works pretty awesomely.
  • Custom Field Suite – a lightweight custom fields plugins. If you want something that is more than a title and a WYSIWYG edit for a post, then this does the magic all for you. Definitely something I’ve been wanting to look for, rather than writing all the code to set up these things mannually.
  • Spots – a little text editor that can do tiny bits of magic, for updating little snippets across your site.
  • Really Static – generates a whole static site from your blog. Faster than any other cache…! Doesn’t work with things that need AJAX.

Live demo

Kimb demonstrated some plugins live next. Predictably, he immediately broke his site trying to run a Change Table Prefix plugin, but he assured us it usually works really well.IMG_20140426_130352

  • Imsanity is a bulk image resizer that works brilliantly, I already use it, but didn’t realise it could reduce jpeg quality settings too, which saves a lot of space..
  • CMS Page Tree View plugin looks like a nice way of making your site pages more navigable in the admin area.
  • TablePress is definitely better than copying and pasting tables directly from word, but still not ideal. The best there is currently though…
  • Ultimate Coming Soon Plugin – creates a holding page that blocks all views from anyone not logged in.

Following  a vast amount of pie and Henderson’s Relish at lunch, and chats with some of the sponsors – pipe (10) – find out more at pipeten.com – it was time for the afternoon sessions. After being told that my live blog has been added to the  I decided to be brave and move into the smaller side stream and catch…

A Simpler WordPress Admin for Clients

Mark WIlkinson PhotoMark Wilkinson (@wpmark) reveals that there are loads of functions built into WordPress to help tidy up the interface for n00b users.

Step 1: Hiding WordPress Stuff that gets in the way

There are several things that can make WordPress hard work for users. A key way to make things easier is removing unnecessary menu items from the admin menu. For example, removing the “Comments” menu item, or the “Updates” submenu item, or random widgets.

This can be done through the WP core, with tags like remove_submenu_page($menu_slug, $submenu_slug):, and remove_meta_box ($id,$page,$context);.

Step 2: Enhance or improve what WordPress gives you

Mark gives us an example of renaming field titles and changing Meta Boxes to make things more obvious. For example, changing the “Featured image” box on a new Slide post type to be called a “Slide image”.Mark gesticulating fabulously

There’s lots of fun functions to do this, with functions along the line of remove_meta_box(); and, unsurprisingly, add_meta_box();. When adding new meta boxes, you need to use the update_post_meta(); tag to update the correct field in the correct post.

All that theory explained, his advice is to use the Custom-Meta-Boxes code available for include at Github, which does all the hard work for you.

He also showed us how to simply use a function to change login logo through hitting up the login_head hook, and adding new items to admin menu pages, even links to non WP pages or resources, using add_menu_page();.

Step 3: Provide Help

Supporting the client from right within the Dashboard “What happens in terms of help after my site goes live?”, “Can I call you if this goes wrong?”.

You could create a top level Menu called “Help”, adding a list of useful articles, or links to informational videos. You can also use the WP-Help plugin

Improving frontend performance in WordPress

Ian ParrIan Parr on Twitter (@devolute) as a user interface guru, tells us his favourite aspects of WordPress.

Have you read the article “Responsive Web Design” was step one. Ian has sold his sold at the altar of responsive web design, and asks: “Have you embraced RWD methodologies into your heart?” How many of us are building all our sites responsive? A show of hands showed about 50% of us are.

A responsive design isn’t limited to layout changes
Ethan Marcotte

WordPress has responded well to RWD, with Twenty 12, Twenty 14 all fully responsive. Website performance is an essential part of modern UX, which WP is not so hot on. Using Google Page Speed Insights, WordPress installed on Twenty 14, scores 60/100, decreasing year on year.

  • Amazon’s stats show that adding 100ms = -1% sales loss. He also showed us his Wishlist, with 55 gallons of water based lubricant a key item.
  • Etsy stats show +160k to a page = +12% bounce rate on mobile.
  • Google have said that speed is going to be linked to their rankings.

Ian fears that WordPress is falling behind in performance terms. Lots of the work in this is best sorted in the front end. How to solve problems:

Step 1 – Admit you have a problem.

Step 2 – Use the Chrome web developer tools. Some pretty cool tips from Ian on how to use these.

Easy tips:

  • Limit the number of DNS requests. They are expensive – regardless of your bandwidth, they tend to be expensive in terms of time (and battery life on mobile).
  • Limit the size of those requests.
  • G-Zip, files compressed, so less data sent. Can be set up with .htaccess tricks.
  • Encourage caching
  • Minify files for css/jss by removing whitespace.
  • Concatenation can reduce number of requests.
  • Sprites can reduce requests by combining images.
  • Performance led design and client education.

His final point is that there is a lot we can do to improve WordPress performance, but there is still a more that can be done to Core. For example, why can’t wp-enqueue_style() automatically concatenate and minify files?

Hitchikers Guide to Custom Post Types

Jenny WongJenny Wong (@miss_jwo) speaking on the fact that Custom Post Types (or CPT) is what turned WordPress from a Blog Platform to a fully fledged Content Management System.

Advantages:

  • Hides content from the default query.
  • Management of content is easier.
  • Improved user interface & usability.
  • Ability to use custom templates.

Disadvantages:

  • Performance issue with querying a large table.
  • If content doesn’t easily fit a post type, could potentially cause problems.

Best place to set up custom post types?

  1. In the functions.php of the theme – theme can be deactivated, post types disappear, or if clients use Christmas theme, CPTs will disappear.
  2. As a plugin – but then users can accidentally deactivate or delete the plugin.
  3. An an mu-plugin – “Must Use” plugins can’t be deleted or deactivated without file access.

 

Dave Allan
PostScript:
My friend Dave says “Hi!”

Blog redesign

Why Not Actually Finish Something You Have Started?I’ve been planning on a blog redesign for at least 6 months now: probably more.

Not much has happened.

A kick up the bum

I got all excited, I made a design, and then I did about a day’s work on the CSS. And then nothing. In order to nag myself into getting more done, I have decided to launch the unfinished theme. This is it. As you can see, its a little rough round the edges.

Shamed into action

The hope is that I will actually want to have a working site, and will thus push on with, well, finishing it.

“Productivity is never an accident. It is always the result of a commitment to excellence, intelligent planning, and focused effort.”

Paul J Meyer

Multiple header sizes…

Are an important part of website design

Even though I never…

…use ones this small!

Things I could do

As you may realise, I’m also using this post to throw a variety of elements into the blog, so I can check I have styling for them all. I also need to display some numbered and bulleted lists, but I can’t think of a relevant list to write. So, instead…

My favourite colours:

  • Blue
  • Purple
  • Golden Yellow
  • Black

Least favourite books ever:

  1. Granddad with Snails
  2. The Go Between
  3. Not really got any others.

The end of the post

Thanks for reading! Keep nagging me to finish this!

New page: MarketPress Grid Plugin

I‘ve been hanging out over at the WPMU-DEV forums quite a lot over the last few months, and I decided to contribute to the community with an update of one of the plugins for MarketPress.

MarketPress is a pretty good, simple e-commerce plugin for WordPress, but it lacks a grid layout option. This plugin adds that feature.

Anyway check out the new page, where you can download version 0.3 of the MarketPress Grid Plugin.

Guest post: May Roundup at SYWP

Wordpress LogoAs any of you who follow me on twitter will know, I have become a proud member of the South Yorkshire WordPress community.

One Tuesday night a month, my twitter feed becomes an irritating and alienating place for my followers, with endless repetitions of #sywp, alongside jabbering about SSL, Custom Post Types and the many amorous moods of @mkjones.

Since we are trying to publicise the community, we are hoping to make the official SYWP blog a little more lived in. As a result, I just wrote a roundup of this month’s meeting. There’s a snippet below:

This month was attended by the usual bunch of marauding geeks, with free coffee prepared and waitered by the servant hearted Kimb Jones. This nearly made up for the disappointment of Jag Gill failing to provide cake…

Anyway, there were three main talks this month (aside from the usual debates on the command line vs GUI, and on whether iPads are pointless). As ever, you can read back through the twitter stream for #sywp, and imagine you were there too.

First up was Paul Marshall, talking about his company’s experiences using Buddypress…

Read the rest at http://wordpresscommunity.thegisthub.net/2011/news/may-roundup-events-security-and-wordpress-on-windows/

Join us at the next SYWP at the GIST Hub on the 2nd Tuesday of every month. More information on the community group site