Tag: code
-
Dashboard Changelog
I recently moved my site to a new host. And I’ve also added my partner’s site to the WordPress multisite stack running this site and a number of others on this domain and chrisreynolds.io. Previously she was using WordPress.com, but was frustrated by a lack of adequate support and persistent caching bugs that even I…
-
Theme update and a mad dash to fix broken stuff
So Museum Core was pushed live to the WordPress.org repo today. Of course I immediately switched my blog from the Twenty Fourteen theme I was testing to Core because, you know, it’s my freaking theme. And immediately I ran into some issues. If you are using Core and experience any of these, here are the fixes.…
-
WordPress, Genericons, Jetpack and you
Here’s something I learned the hard way today. If you are using Genericons in your WordPress theme, and you’re enqueueing it like this: wp_register_style(‘genericons’,get_template_directory_uri().’/genericons/genericons.css’,false,$theme[‘Version’]); wp_enqueue_style( ‘genericons’ ); …you’re going to run into problems if Jetpack is enabled, because Jetpack uses the same method. Normally this wouldn’t be that much of an issue, but their version of…
-
Developing for a greater cause
So, for a number of years, I’ve had a sort of rule: “don’t do work for free.” There are a number of caveats to this. Doing stuff for myself or my own projects would technically be working for free, but maybe I’m doing it to figure out how to do a new thing in WordPress or development…
-
Dropplets
I’ve been playing with Jason Schuller‘s Dropplets simple blogging platform. You can see what I’ve done and read all about it on chrisreynolds.io.
-
Search Engine Optimized breadcrumbs
I had a need to build some search engine optimized breadcrumbs for a project I’m working on right now. I didn’t want to just use Yoast’s breadcrumbs, because I’m using Twitter Bootstrap, and I wanted to make use of the built-in breadcrumbs support, so I did a Google, found something, tweaked it and am using…
-
How to add customizable header images and customizable backgrounds to your WordPress theme
One of the coolest new features of WordPress 3.0 is the ability to customize the site header image and background color or image. The custom header actually goes one step further and lets you set a unique header for each of your pages. This means that you can create unique headers that tie into the… (read…
-
wordpress shortcodes kick ass (or: shortcodes, an affiliate marketer’s best friend)
this one will make the internet marketing peeps smile… let’s say you have some kind of text or phrase that you use a lot. it could be anything, but let’s — for the sake of argument, and for showing the full power of this code — assume that the text or phrase includes a link.…