Tag: Code

  • Simple Autoresize for WordPress Background Image Function

    Simple Autoresize for WordPress Background Image Function

    In WordPress 3.0 you have the possibility to easily upload and use a background image. The image is positioned via CSS in the background. Thus it is not quite simple to have the possibility of auto resize and the background adapts to the size of the browser. There are some nice possibilities for this request,…

  • 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…

  • The WordPress Exif-Meta-Datas

    The WordPress Exif-Meta-Datas

    WordPress stores when uploading files, some data in the meta data – the metadata. If there are pictures involved and these files contain EXIF data, then it outputs some EXIF data which can be used. For example, as additional information about the picture in a photo blog. No matter what, and how you want to…

  • Use WordPress Post Thumbnail as Background image

    Use WordPress Post Thumbnail as Background image

    Now and then you need in a post or page a catchy image. For editors the thumbnail function is quite comfortable to assign an image to a post or a page. Therefore it is worthwhile to use this picture as a background image for the post. However, it is much better if the image is…

  • 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…

  • Custom Pagination without WordPress Plugins

    Custom Pagination without WordPress Plugins

    On day 9 of our Advents Calendar we show a custom pagination function which allows a user to insert custom next, previous or numbered page links into a post. Use the follow code for an custom plugin or insert the function in your theme, inside the functions.php. Please see the second code-area for an example…