Tag: Code

  • Know The Constants Of An WordPress Installation

    Today I will show you how to display the constants you use in your WordPress installation. Here is a small code snippet to list the defined constants.

  • Plugin To Add Custom Field To An Attachment In WordPress

    Plugin To Add Custom Field To An Attachment In WordPress

    The media library is on WordPress in some areas, certainly not perfect, but it has great potential. Each attachment can contain various metadata and also WordPress stores some data directly while uploading – for example a part of the Exif data of an image. However, it might not be enough for you and you need…

  • Custom WordPress Login-Page

    In a previous post I wrote about the possibility to adjust the login page in your WordPress backend. But I still receive a lot of questions about it and I would like to point out three simple ways, so that you can customize with little effort the login page to your site – a nice…

  • Post Formats – More Creative Ways For A Theme

    First day of our Advent Calendar we show tiny code snippets and brief informations for the Post Formats from WordPress version 3.1. Some theme authors wanted more defined formats – they wanted the feature “post formats”. This new functionality will be available in WordPress 3.1 and displays an additional meta-information. The Codex for this functionality…

  • Create Users Automatically In WordPress

    WordPress is a web application by many – often you have to create a bridge to other systems. For example, to give users a single sign-on via the web applications. Therefore, automated creating users might be necessary. Depending on which system is the leader, the data must be synchronized. From past experience, the users are…

  • Use The Comments Of WordPress For More

    You might want to have comments displayed on different spots. For example, displaying the last x comments in a central template. This requires the latest comments or all comments on your site. This is a small solution that scans all the comments, or a certain number, and is supplied with markup.