It’s really simple to use Google’s Display Advertising code, so I thought I’d share how.
To enable the new GA features:
- Check the “Show Advanced Settings”
- Under “Advanced Settings,” check the checkbox for “Host ga.js locally:”
- In the text field that appears, enter:
- Note: The missing
https is intentional – if your site’s in secure mode, it will use
- Save your settings!
Get control over your custom taxonomy’s Title Tag
With Yoast’s Simple Taxonomies plugin, you can set up a custom categorization system for posts on your site known as a custom taxonomy. When trying to optimize these pages, I realized that the All in One SEO Pack plugin doesn’t have support for custom taxonomies, so it will not format the title properly. I’ve slapped together some code to improve the formatting of the title tag. See this code in action. Continue reading “Add Custom Taxonomy Title Tags Support to All-In-One SEO Pack”
I’ve been using Joost de Valk’s Simple Taxonomies plugin for a couple of projects, and I’ve been very disappointed by the formatting of the terms output code.
When configuring the plugin, you have the option of choosing “Add terms to the end of posts” or “Add terms to the end of excerpts.” If you do, you get a
<div> and a couple of
spans. Not very semantic. Also, the code uses an #id, instead of a .class, meaning that if you have more than one post on a page with taxonomies, it no longer validates.
Simple Taxonomies uses terms, so let’s make a list of them!
Here’s a way to reformat the code and prevent overwriting in future plugin updates. We’re going to strip the code and use a definition list instead (
<dl>). Definition lists in HTML have a term and description; just as a custom taxonomies creates a taxonomy and its terms. Continue reading “Simple Taxonomies Formatting — Improve the Plugin's Code Output”