Real quick. gmdate almost won, but the coffee ended up taking the lead. Continue reading
In a frenzy of insane, I decided to switch all my sites over to WPMU. Why? I don’t have a clue. One of the big things I had to have was a lightbox plugin on every site. This, of course, was something that initially drew me to MU like a moth to a flame. So many of my WP installs use the same – or similar – plugins, it became a hassle to keep them all updated. But I digress.
I discovered MU is less than friendly with lightbox plugins. My beloved wp-prettyPhoto worked fabulously until I attempted to update the settings. Then all hope was lost. Lather, rinse, repeat with about five other plugins. After I did some Googling, I found a few hacks, as well as a few suggestions. Most of the suggestions didn’t work. I finally settled on the relatively well-reviewed WP Lightbox 2 plugin. Continue reading
You have your website. You have your MailChimp mailing list. You want to connect the two to do something cool. Whether it’s a more advanced sign-up box, sending automatic emails, or keeping track of what types of posts are most popular to your readers, you can probably do it via the API. To do it, though, you’ll need to hook the MCAPI into your existing WordPress install.
Really, you can do whatever the hell you want to do. By default, your image will only be displayed in an RSS feed if you place it in the content of your post and have your feed set to use the full content, rather than the excerpt. The excerpt, while kind of sometimes useful, [typically] strips out any and all HTML. Goodbye, images! Fortunately, using action hooks, you can easily add new nodes to your RSS feeds. The hooks we will need are Continue reading
Within the bowels of my fabric collection, I found about sixteen yards of extremely stretchy pink knit polysomethingblend. There it sat, in a lump, next to my sewing machine, for about 2 months (after I found it of course.) I wracked my brain, trying to figure out what I could do with it. It was no good for clothes. I couldn’t think of a single craft it would be good for. If I just turned it over to the kids, I’d be picking up little shreds of pink for a week. Then, inspiration!
A client recently asked me to modify his yearly archive to display a drop-down of all the months that had posts in that year. Oh, yes yes, no problem, I say. Then I tried to do the *obvious* thing – and I can’t remember now what I thought would be obvious about it – and failed. Tried again. Failed. Finally, after some Googling and playing around, success!
Before we begin, please go read the article on setup_postdata. It’s fun, I swear. The most important part can be found all the way at the top
Set up global post data. Helps to format custom query results for using Template tags.
Sounds simple enough, right? While working on a heavily customized site, I needed to generate a custom query, retrieving posts based on their meta values. This ended up with a long, joined, ugly query which gave me the results I wanted (up to ten post IDs) which I could then iterate through to retrieve the post object using get_post and pass it along to setup_postdata. Continue reading
In WAHM land, the job search isn’t going so well. The unfortunate part about being a mother looking for work is you don’t just factor in material costs, you also factor in the emotional cost of not being with your babies. So when I started, I had to decide how much money would make it worth leaving my children with a stranger. Turns out, all things considered, that’s hard to come by in this economy. I am now returning to the land of revenue-based content.
Form actions can be tricky things, and sometimes not necessary at all. When you want to send an email, such as with a contact or feedback form, you can go about it a number of different ways in PHP. You could submit the form to the same page or direct it to go to another page to handle the entry. But when you’re creating a strictly HTML website, it gets a bit trickier. mailto: may seem like the perfect solution, but it’s not.
After spending (some indeterminate amount but far too much) time trying to wing a diaper cover pattern, I finally Googled and found – surprise! – DiaperSewing.com. They have measurements. And then making a template out of construction paper is, well, super easy.