This week’s posts are:
- How to Create Variation Using WordPress Conditional Tags
This sounds complicated, but if you’ve been using WordPress for a little while, this shouldn’t be hard to do. It tackles the ins-and-outs of using WordPress’s built in conditional tags to set up elements (hand-coded sidebars in this case) which change depending on what page you’re on. I give sample code for three different pictures in a sidebar, depending on whether you’re on the homepage, a single post page, or any other page. This is also useful in headers and footers.
I approached this assuming that you know next-to-nothing about php and wordpress tags. You can essentially copy the if, else if, etc code and just put your own conditional tags and code in it.
- How to Fix the Italics on the Redie 3.0 Theme Like my cutline header fix, this addresses a particular WordPress theme and how to change it. Unlike Cutline, where the header is merely an aesthetic change, there’s something a bit wrong with the Redie 3.0 theme. If you try to italicize a word or words, they show up on a completely different line:
While this may have seemed like a fun idea to the designer, it’s confusing for ordinary people who expect the italics option to render in generally-accepted italics, not break the line onto several lines. So I’ve addressed the issue and included a fix. Otherwise, the theme is pretty user-friendly.
If you’ve been having similar problems with a WordPress theme, the fix might be relevant for you as well.
That’s all until next week folks. And speaking of next week, I have some big announcements coming up this week, so stay tuned!