When a WordPress theme is heavily dependent on images, such as for thumbnails, featured post images and the like, it becomes heavily dependent on what the user uploads to use as those images. For instance, while the stylesheet might enforce 100 x 100 thumbnails, users often think nothing of uploading images directly from their 12 mega-pixel digital camera for those thumbnails.
Continue reading →
One thing that repeatedly annoys me when attempting to use WordPress as a CMS is the lack of an excerpt field on the Page editor. Happily, it only takes 10 seconds to fix.
Continue reading →
Lazy Loading could be more accurately described as On-Demand Loading, and in the context of internet programming refers to the loading of a resource off the server only when its absolutely required to render the page or perform a function. The main reasons you’d do this are to reduce data transfers off your site and to minimize the server hits required to render the page.
Continue reading →
JoomlaWorks’ Frontpage Slideshow is one of the best commercial “featured post” slideshows currently available. Its designed to show your featured posts in an eye-catching and professional manner and is used by many high-profile websites.
Continue reading →
Its a common requirement to list posts and pages that are in multiple categories. Sometimes you need content that matches any of the categories (ie, an OR type query) and sometimes you need content that needs to be in all the categories (ie, and AND type query). The heavy-duty query_posts makes this straight-forward.
Continue reading →
Counterize is a fairly popular plug-in which gives you Google Analytics type of reports from within WordPress and offers a quick way to see how site traffic is trending and what pages are getting hit.
Continue reading →
One of the most fustrating things for WordPress content managers is linking to other posts or pages within the system. It usually involves opening another window to the site, browsing to the required post or page, copying the URL and pasting it into the page. A simple plug-in using the relatively new shortcode system can make life a lot easier.
Continue reading →
A recent client had a particular requirement to use the Lightbox library for displaying full-sized images within certain posts. While Lightbox is popular and produces an attractive result, because of its dependencies on Scriptaculous and Prototype, its a seriously heavyweight addition to any page the first time its loaded. The lightweight Thickbox alternative was designed in response to the size of these libraries, and is even considerably more flexible. However, Lightbox looks prettier.
Continue reading →
If you use a plug-in or template code to place custom fields on the post or page editor screen, recent changes to WordPress may result in your custom data being deleted or lost.
Continue reading →
These days, when performing searches, or even just looking at a list of pages, most people expect to see the total number of items in the list. If you’ve got a lot of content on your site, the standard WordPress search can return a lot of posts, and yet most themes don’t provide any feedback on the number of matched posts. While there are some plug-ins that provide that functionality, they are all unnecessary because WordPress provides that information in a simple variable.
Continue reading →
Posted in Wordpress
|
Tagged sql, wp_query
|