Bad experiences in #wordpress on Freenode

Common conversation on #wordpress on Freenode:

$new_visitor:
Hello friends, anyone experienced with Elegant Themes Divi theme? I have created a blank page that has no header or footer, I have added a background image to fill the screen and a few other things, my issue is that the theme is not automatically filling in the screen with the layout. Its either too short or too long depending on browsers and screens. Anyone have a solution for this?

$channel_regular:
$new_visitor: sure, learn css
and/or use the theme how it was intended

$new_visitor:
I appreciate the kind words $channel_regular

$channel_regular:
i didnt say anything unkind
its definitely not a wp issue

Obviously it’s not the only kind of common conversation on #wordpress, but there’s really no need for that.

Too bad the community does not enable a better atmosphere on the channel, cause it doesn’t seem like something that would be too hard to do.

Setting up a WordPress install for “theme unit tests”

Documentation for Theme Unit Tests is at http://codex.wordpress.org/Theme_Unit_Test

Did it all through the Mac terminal…

Pre-requisites: Homebrew, homebrew’s mysql package ( brew install mysql ), and homebrew’s php55 package. Ask if you have trouble installing them.

Installing wp-cli

Documentation for wp-cli is at http://wp-cli.org/

curl -kL https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar > wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
wp --info

Creating a WordPress install

mkdir wp-trt
cd wp-trt/
wp core download
wp core config --dbname=wp-trt --dbuser=root
wp db create
wp core install --url=http://localhost:6789 --title=WPTRT --admin_user=danny --admin_password=blastworth --admin_email=dan@bernardic.ca
nohup php -S localhost:6789 &
* I was getting an error recently with a fresh install of mysql from homebrew, saying a database connection can not be established, during the `wp core install` step. After creating the symlinks as shown here, it worked.

Installing theme unit tests

curl -O https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml
wp plugin install wordpress-importer --activate
wp import ./theme-unit-test-data.xml --authors=create
rm theme-unit-test-data.xml

2014 Prairie Dev Con’s Free Code Retreat – Registration is open!

I’m very excited to let you all know that registration is open for the code retreat organized by Prairie Dev Con. Go register here.

I always get excited for code retreats. If you have time and want to know more before you sign up, you can read my previous posts about them here and here, or get in touch and I’ll try to convince ya :)

Follow

Get every new post delivered to your Inbox.

Join 366 other followers