Manchester WordPress User Group August

Meeting notes from Manchester WordPress User Group August. Mike Little goes over the usual WordPress news and answers questions from attendees. Then Tom Nowell goes into some of the great things you can do with WP-CLI.

Manchester WordPress User Group

General Session

WordPress 4.0 now in beta

Hoping for an August release.

  • Embedded videos now in preview
  • Plugin install improvements
  • When you first install you can choose the language
  • Improvements to TinyMCE
  • Updates to widgets in the Customizer


wpcore app

Not had a play yet, but does look interesting

The Future of the WordPress Codex

If you do find anything wrong in the Code, please do report it, or get an account, login and fix it yourself :smile:

Underscores now supports Sass

Does come with .css file, but you'll need to run something like grunt or gulp, or a gui such as codekit or livereload to compile further changes.

WordPress is a CMS (Whether You Like it or Not)

Blog post, good if you have a client who says "Isn't WordPress just a blogging platform?"

Other WordPress Events

Rhys Wynne is organising a walk for WordPress Europe -

Q & A

How to prevent audio looping using a playlist

OMG! Mike's doesn't know the answer, that's a first :p

single audio - by default no autoplay, no loop

playlist - can't stop loop

Working Locally

Moving from a one site, to a multi-site.

For main content; Can do an export from the first site, then import it into the new multi-site.

Plugins can be a bit trickier, make sure they all exist on the the new multi-site, then look at copying the 'options' tables from the database.

How to change a multi-site, to a single site

Again export / import for content.

Plugin that may be able to help:

Again, can be done with some fiddling in the database, but can get a bit complicated, such as different table names.

Options for previewing mobile / tablet views of a theme

Mentioned Chrome Dev Tools > Emulation and also what's coming in Chrome Canary.

Also a useful bookmarklet:

Mention of Pattern Lab

Atomic design

I also mentioned about smacss, bem, oocss.

On the break I spoke to Bellinda, who showed me this nice site she's done: / (no longer online)

Responsive as well, nice job :smile:

Also, Judi showed me this rather nice e-commerce site:

Tech news

Make WordPress Training

WordPress Leeds

23/09/2014 - WordPress Dev Night

SVG issue I mentioned

Tom Nowell on WP-CLI

Tom gives examples of some of the things you can do using WP-CLI.

What is The Terminal? "this is an example of an old machine, just running the command line" (erm no it's not lol @ google chrome)

In the examples, Tom uses > also commonly used is $ this character can be set to anything, in fact I change mine to some ascii art and a lighting bolt emoji:

In the following examples you don't type out the >.

> date

Google search data command and you get

> command parameter1 parameter2 etc...

No one remembers all of them! Google is your friend :smile: also --help is nice.

Essential commands:

cd foldername
cd ..


First off you'll need to install it. Some lovely instructions on how to do this are on the WP CLI home page:

Some useful things you can do with WP CLI

  • Create Posts
  • Create Users
  • Download Plugins and Themes
  • Database Queries
  • Installing WordPress

e.g. adding an author to a site:

> wp user create bob [email protected] --role=author

Create a post:

wp post create --post_type=page --post_status=publish --post_title='A future post' --post-status=future --post_date='2020-12-01 07:00:00'

Install a plugin:

# Install the latest version from and activate
wp plugin install bbpress --activate

# Install the development version from
wp plugin install bbpress --version=dev

# Install from a local zip file
wp plugin install ../

# Install from a remote zip file
wp plugin install

Check a status of a plugin:

wp plugin status bbpress

Activate it:

wp plugin activate bbpress

Create a user:

wp user create bob [email protected] --role=administrator

After this command was ran it also nicely generated a secure password.

Install plugin and activate from github:

wp plugin install --activate

Activated but with warnings! Oops, looks like Tom needs to update his plugin.

List plugin info:

wp plugin list

Show a list of plugins that need updating:

wp plugin list --update=available

Update plugin

wp plugin update akismet

Create a script to export the database

cd /srv/www/wordpress-default
mkdir backups
wp db exports backups/backup.sql

run with:


drop tables

wp db drop

oops dropped the database!

wp db create
wp db import <filepath>

Also, thanks to Jack for a quick demo on wp shell

wp shell

Browse by category: