Posts tagged: tips
Attaching any unattached media files that you may have floating around is a good way to keep things organized and running smooth. Normally, when you're working on a post in the Edit Post screen, you click the Upload/Insert button and use the nifty drag-n-drop media uploader to get 'er done. When you upload your media files in this manner, WordPress "knows" that you want to attach the file to that particular post. Super straightforward sure, but there are situations where WordPress doesn't know which post to use. In this DigWP post, we walk through the process of finding unattached media files and attaching them to their respective posts.
One of the important factors in the speed of your site is the distance between your servers and the browser visiting your site. The time it takes the information to travel from the server to the browser is called latency. Latency increases with distance, so no matter how fast your servers may be, high latency can make your site load slowly for visitors who are geographically removed from your servers.
Donkey work is really the last thing I want to be doing. Piddly tasks that could have been avoided with a little thought and perspective. In this DigWP tutorial, I explain how I worked my way away from becoming a donkey with a dozen child themes to manage and maintain, with just a little knowledge of a native WordPress function.
To make room for new content for the DigWP 3.3 update, we're "excerpting" this section into its own blog post. Here you'll find an extensive round-up of CMS plugins for WordPress. This includes CMS plugins for better admin functionality, user-role management, custom content display, e-commerce and shopping carts, forums, newsletters, and a whole lot more. This isn't a comprehensive list, so be sure to let us know of any awesome CMS plugins that we might have missed.
See those crazy characters in the title of this post? Now see how they don't appear in the post's URL? That's one of the finer details of the WordPress 3.3 update: smarter permalink slugs.
When the Admin Bar hit the streets in WordPress 3.1, people seemed to either love it or hate it. And rightly so, it was a significant change in the appearance of the WP Admin area, and if not disabled in your User Profile, the front-end of your site as well. Many tips, tricks and plugins for customizing the Admin Bar began appearing around the Web. And then just as the dust began to settle, BAM — the "Admin Bar" transforms into the "Toolbar" with the WP 3.3 update.
A cool trick you can do with WordPress is display information directly from your theme's
style.css stylesheet. I recently used this on a site where the theme's version number is used throughout the template to keep things current and consistent.
Everyone loves a good comment. Readers benefit from the shared information and authors appreciate the conversation and feedback. But you gotta keep the spam out. Akismet and other anti-spam plugins do an excellent job of automating the process, but it's a good idea to watch out for false positives: legitimate comments marked as spam. Rescuing ham comments from the spam pile promotes healthy comment threads and improves the quality and reputation of your site. In this DiW post, we explain how WordPress & Akismet deal with spam, discuss anti-spam strategy, and share some ham-saving tips and tricks.
As a popular WordPress resource, we get quite a few requests for 1-to-1 WordPress support, but unfortunately don't have the resources to help everyone directly. We would love to help everyone out with specific questions and technical support, but really it's just a matter of time that's required for our own work, etc. So as you might suspect, we frequently see emails like look like this:
WordPress does an excellent job of keeping track of what's happening with the loop, but once you start customizing parameters and setting up multiple loops, it's a good idea to explicitly reset them using one of three WordPress template tags. In this DigWP post, we'll explore each of these three loop-reset techniques to get a better understanding of when and how to use them in your WordPress themes.
It's been a crazy month, with lots of drama all over the place. Here at DigWP.com, we had an episode where the site was all screwed up and not loading or only partially loading, blank white pages, and the whole bit. During the process of keeping it together and trying to restore full functionality, numerous database imports and exports were performed under a variety of circumstance. During the rush, apparently the most recent database backup file was somehow uncompressed outside of MySQL before final import.
Several days later, that decompression/unzipping basically converted every quotation mark, em dash, en dash, ellipses and other special characters into some really ugly-looking codes.
Here's the really short version:
/%postname%/ as my permalink structure on CSS-Tricks for a long time. I have lots of Pages. My site went down. I changed my permalink structure to begin with a number. Now it's fine.
Tiny little fun idea by Dave Rupert.
It sucks, but a lot of plugins require certain directories to be set at CHMOD 777 for its file permissions. Of course, you should not use any plugin that requires 777 directories, but if you absolutely must, you can help protect the folder by adding a thin slice of htaccess. This works great for any directory requiring "loose-ish" permissions (i.e., anything greater than 755), and may also be useful for other key folders as well.