Tag: Advent Calendar

  • Small Extension for the Media-Library

    Small changes can sometimes work wonders. If you use the library and use a lot of pictures in the posts, the following small link in the library will surely help you. Thus, images can be easily reused. A link will be created so you can access the image directly and there is no need to…

  • Fix Empty Searches

    Fix Empty Searches

    One minor problem for any web site is duplicate content: the same resource is available under different URIs. Yes, we have <link rel=canonical>, but anything that prevents such cases is better. Today, let’s look at something, that most professionals never see: empty searches. You offer a search input field, and someone hits the submit button…

  • Category And Archive Dropdown With Unobtrusive JavaScript

    Category And Archive Dropdown With Unobtrusive JavaScript

    A good website works when a user comes along with JavaScript disabled, just as well as with scripting enabled. You separate the JS layer of the site from anything else (and waived for example, onclick in HTML) and places the scripts in a way that only improves the already existing functionality of the site. So…

  • Control WordPress Nav Menu via Custom Fields

    WordPress 3.0 also includes the menus, in addition to a number of other new features. Normally you generate a menu automatically by creating pages, but under Appereance / Menus you can create your own menu and assign a place where it replaces the normal menu. But whoever currently uses WordPress as a CMS and blog…

  • Delete all Feed Cache via SQL in WordPress

    The Feed-Cache of WordPress is in the database, it’s in the table options and sometimes you like to delete it. With a little SQL this is done quite quickly – but be careful, there is no way back! Within WordPress I do it with the help of the Plugin Adminer, which allows a complete mySQL…

  • Control When To Display WordPress Admin Bar

    On day 10 of our Advent Calendar we show a little code snippet for the WordPress Admin Bar. At first the easiest way to remove the Admin Bar with new function __return_false; include since WordPress 3.0.