I wrote a tutorial back in September called Custom Post Type Pagination Chaining Method for Wptuts. For Step 3, Page Templates, I wrote some code for maintaining custom post type pagination in a Page Template used for a Static Front Page. Here’s the code that does the trick (more compact than the tutorial). /* Template [...]
I’ve been having a small issue with Disqus and WordPress lately. I should first say I’m using a custom permalink structure for my site, not default queries. Ok, basically what happens is when I publish a post I get this error where the comments are supposed to be: We were unable to load Disqus. For [...]
I constantly second-guess anything I do, always wondering if there’s a more efficient way. It’s part of the reason I’m so afraid to speak at events; there will inevitably be someone who knows more than me and they’ll yell, “There’s a better way to do that, you know?” Then everyone laughs and realizes I’ve wasted [...]
A few months ago I set out to create a WordPress portfolio theme that utilized a custom post type to build portfolio posts. WordPress offers developers a ton of template pages to customize when developing themes, but sometimes you don’t need to customize all those pages and can use the archive-[post type].php page to cover [...]