I’ve seen a variety of posts from people devising different ways to customize the_excerpt length. In WordPress, most people are familiar with 2 ways to display their content: the_content, and the_excerpt. Both give fairly predictable results as to what you get. the_content gives you all of your content, with formatting intact. the_excerpt gives you your set excerpt, stripping away formatting, links, etc. But you had one excerpt length, and that was it! What if you want various excerpts? Well I’ve seen ways to craft various excerpts by creating different functions that had to be called per template, but as of WP 3.3 that is no more! Check it out!
Category Archives: Themes
I Want True Full Width! A Wide Responsive Theme!
So here’s something that I think is totally lacking in WordPress theme that are available. Quality, WIDE themes! Apparently full-width template doesn’t mean to others what it does to me. I’ve been testing a variety of theme on my blog, and I have found a lot of quality stuff to be certain. I plan to keep switching things up now that I’ve made it so easy on myself with my plugin. I literally have every customization I want in there, I just have to install a new theme, figure out what templates do what, make a child theme, and drop in a few custom template tags and I’m good. Less than half an hour of work… BUT, here is what I want!!
Set Your Featured Image Automagically From the First Image in the Post
Here’s a nifty trick that just came through my RSS reader. Let’s give credit where it’s due first because I didn’t come up with this! It came through my reader from the WP Snippets site, this post right here. We’re going to grab the first image from the post, and set it as your featured image automagically!
Development Tip: How to Know What Template is Being Used
I’ve been working on an overhaul of my personal blog for a while now. My old theme was pretty bloated, and way more than I needed since I offloaded everything away. The site used to have everything on it, but I moved all my WordPress posts to VoodooPress, and all my Voodoo Empire specific stuff to its own site. My blog doesn’t need all the features it had, and it was slowing things down. I haven’t had time to finish my custom theme, so in the meantime I decided to play around with some available themes, starting with Fanwood from DevPress. I have all of my custom stuff that used to be in the theme living in its own functionality plugin now. So I can activate any new theme, and within 20 minutes, have all my custom stuff in place. But the one problem I ran into – FanWood is a complex theme, not always using the standard WordPress templates I would expect – single.php for instance. Well, what’s an easy way to know what template is being loaded at all times? I’ve got the answer for ya!
How I Built My Nifty Login Box at the Top of VoodooPress
When you visit the site, you can see our nifty login/out and register box at the top of the page. Go ahead, take a peak! See it there? Cool! I wanted to add that into my theme, make it easy to move from site to site, and between themes. Let’s take a peak and see how that’s done!
Twenty Twelve Theme Will no Longer Ship With WordPress 3.4
It wasn’t that long ago that I made a post about my excitement to be getting a new theme, twentytwelve (2012) which would be shipping with WordPress 3.4. You see, I always run the latest and greatest default WordPress theme here on VoodooPress, tweaked through a child theme of course – to fit my needs. But according to this discussion over on the WordPress Development Blog, time is running out on the development cycle for WP 3.4, and the 2012 theme isn’tt yet ready for primetime. Too bad, I was looking forward to a VoodooPress overhaul, and a new series of posts about the things we could do with this new theme! BUt no matter, WP 3.4 will still bring a host of cool upgrades to our favourite CMS, and we’ll get 2012 soon enough to have fun with!
CSS3 Lightbox Effect For Your Featured Images
I keep mentioning that I’m slowly working on a custom theme for my personal blog. I work in fits and starts whenever something inspires me. Well today that inspiration struck! I saw this post from c.bavota of bavotasan.com and I really wanted to work this out. One of my main goals for my new theme is to keep things lightweight, and use css whenever possible. This gave me my opportunity! First you’ll need to check out the link above to see how the idea works. Then we adapt:
Reader Request – Use Category Slug Based Images for Posts
One of our VoodooPress readers had a question recently. Seems they were using the front end posting form we started talking about here. They became concerned that allowing users to upload new images for every post using this technique would soon fill their hosting allotment. That’s a valid concern. Let’s look at one possible technique here.
Preserving Pagination With Query Posts – Why Do My Page 1 Posts Appear on Page 2?
So you’ve made a custom template of some sort, or you’ve tried to exclude a category from your home page. You used query_posts because that’s what all the cool kids are doing. But now when you click to go to the next page of your site, it says page 2, but you see all the same posts as page 1. Why is WordPress lying to you? Let’s take a look!
Post Formats and Developers, Why so Slow on the Uptake?
Well recently I’ve been looking at overhauling my personal blog. At first, I really didn’t feel like starting from scratch. I was hoping to grab a great theme, and rework it for my needs. Something I noticed, not a lot of people have quality post format support yet. What gives? When I realized that I would have to rework a theme to include post formats, and style each of those differently, that was a fair bit of work. I might as well just do the whole thing myself.
There’s my question, why aren’t post formats getting some quality lovin’? I’d probably buy a theme if I could find more options with the formats.