I've been doing a ton of sites recently using WordPress (almost always as a CMS, and only occasionally as a real BLOG) – and there is a lot of power that can be gained by playing around with the post attachments. Specifically if you want photos or documents that are "attached" to a post to […]
When you use wp_list_pages() – you get a full dump of everything. If you restrict the depth, then you might not be showing the child / subpages under each page. The code I have below will first list only the "main nav" (parent) pages. If you click on one of the main nav / (parent) […]
So I've discovered a new feature in WordPress 2.7 – get_search_form(). What this will do is first (for backward compatibility sake) look for a file named searchform.php in the theme directory – and if it doesn't find it then it generates the HTML for you. (=cringe=) Yeah. You just know I've gotta be overriding that. […]
It's been a while since I made a plea for help on here. But this time I'm really stumped. Here's the short story: A brand new clean install of wordpress – no plugins, no posts even except the default post. No funky characters in the blogs name. As plain vanilla as you can get. Run […]
I've had a few clients ask for this, and I saw some requests to do this on the forums, but no one ever that I found came up with a solution. Here's the scenario, you have your blog posts, and maybe they're long, and rather than make the page *even longer* by dumping the comments […]
One of my clients recently purchased new servers and wanted to migrate all their sites to the new servers. Some of these sites were wordpress powered. Thankfully, I found this article that made the move a breeze. The critical thing I want to save for my future reference is the following sql lines from that […]
Same project I just mentioned below – something funky was going on with WordPress not sending emails. I had a server admin looking at the server and I'd submit a comment on the corporate blog and no emails would get sent. I even tried using a plugin that forced wordpress to use SMTP, still would […]
I had a site I was using WordPress for – and it actually involved two separate installs. One install was set up as the main content management for the site. Pages were obviously the pages of the site. Posts were for news and Press Release articles. A separate install was for the "corporate blog." I […]
For a long time one of the things I've liked about WordPress is it's flexibility. I recently did a project for Savvydog Design for one of their clients: the National WASP WWII Museum – that involved doing some customizations to WordPress. They wanted most of the pages on the site to be editable (I used […]
I was looking for a way to list sub pages in a navigation bar if you were either on the "parent" page or one of it's sub pages. I found this page on Clioweb that was perfect. What's also nice is that it gives you the variable $parent_id to play with if you need to. […]