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… Continue reading Dashboard Changelog
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.… Continue reading Theme update and a mad dash to fix broken stuff
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 the Genericons font is older and doesn’t include some of the newer icons — which will just be missing if you’re using the Jetpack version. So, to resolve this, you’ll need to make your Genericons handle more unique, e.g.
wp_register_style('mytheme-genericons',get_template_directory_uri().'/genericons/genericons.css',false,$theme['Version']); wp_enqueue_style( 'mytheme-genericons' );
This has officially been fixed and will be resolved in the next Jetpack release. There’s also a discussion over here about possibly including Genericons in core, which I wholeheartedly support. Thanks George and Jeremy for being so on top of things that they happened to notice my little blog post out in the middle of Nowhere, Blogosphere USA.
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… Continue reading Developing for a greater cause
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… Continue reading Search Engine Optimized breadcrumbs
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 more)
You might also be interested in these:
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.… Continue reading wordpress shortcodes kick ass (or: shortcodes, an affiliate marketer’s best friend)