Everyone is familiar with the WordPress loop, even if they don’t know it. It is a method WordPress uses to display posts on any given page. In addition to being performed on most pages you see it offers tons of flexibility by allowing itself to be modified, and that quite extensively, if needed. The end result of this is the ability to list posts by comment count, show only those with featured images, display only password-protected ones and so on. In this article we’ll take a look at how the default WordPress...
There are a lot of form solutions for WordPress. And why not? After printing "Hello World!", the easiest starter plugin to make is probably some sort of contact form solution. Besides, at some point in their web design and/or development careers, everyone needs to build a form. The typical process involves installing Contact Form 7, if you just want to send yourself some basic emails, or installing something more complex (and paid) like Gravity Forms for anything else. Failing that, you could always...read more
Searching for things on WordPress doesn't have to be a long, slow process with multiple page reloads. Thank God. Instant Search & Suggest is a plugin that speeds up the search process by calling up information from posts, pages, taxonomies, and custom post types on the fly. They show up as drop-down suggestions under the search box, of course, but the content area can also be repopulated on the fly. And it can work with just about any theme. In fact, the plugin's author makes the bold claim that it should...read more
PHP is a server-side scripting language designed for web development, but also used as a general-purpose programming language. With over 240 million indexed domains using PHP, including major websites like Facebook, Digg and WordPress, there are good reasons why many web developers prefer it to other server-side scripting languages, such as Python and Ruby. There are scads of PHP tools available over the internet for php developers, but finding an appropriate PHP tool is quite an arduous task...read more
How do I add extra content to a page, from the admin screen, but outside of the main content block? That’s a question you’ll eventually run into with many different CMSs. And it can be a pain. While sometimes, you’ll be able to use a CMS that takes complex page layouts into account (such as Perch, Concrete5, ImpressPages, and the like), it’s not always an option. A massive percentage of the Internet is built on WordPress for a reason after all. I’ve looked for different options over the years,...read more
Hey WordPress lovers. Every month dozens of incredible free WordPress plugins are released by the community, and we’re here to bring them to you. This seems to be a month of small but useful utilities that only do one or two things, with a few exceptions. So go on. March on down to the list, and get to it! (I'm only a little bit ashamed of that pun.) WP NoteUp ... Notes! Alongside your posts and pages! Use them to remind yourself, or other authors, about things you'd put in a note. That's really all there is to...read more
You’ve been writing HTML/CSS, and a little bit of JS for an hour now. This next template for your WordPress theme is almost complete. With an unconscious sigh of relief, you refresh the page, and there it is! It’s done. You deserve a break. And then you see it. Something is positioned wrong, or missing. Something’s out of order. Something’s wrong. Awww, hell. Why now? Why me? Why do bad things happen to good... ok, decent people? It’s a bug. It hurts to look at. So, incidentally, does your code....read more
Mobile devices are growing in usage worldwide. People are buying more smartphones — and tablets — each and every year. Moreover, people are using their mobile devices more and more to access the web. It’s important to take the web experience on a mobile device into account. It’s important today and it will be even more important tomorrow as the number of users is constantly increasing. Progressive enhancement is a philosophy that makes sure that people have an easy access to your information,...read more