Year: 2009
-
WordPress Database Functions
The WordPress database class is quite extensive and provides a range of methods to work effectively with the database and thereby use the WordPress standard. You can find the class in /wp-includes/wp-db.php where the individual methods are documented. I show the most important ones and give some small examples. It is important to work with…
-
WordPress Searchform, Template Tag or Template
There are several ways to integrate search function into a theme for WordPresss, usually built in a template, which is included into the theme. This is not in all cases necessary and can also be realized by using a WordPress template tag.
-
Filter Duplicate Posts in the Loop
As the question arises quite often I’d like to show how I make sure that the content presented, which were output in a loop, not showed up again in a second loop.
-
Set options on activation Themes
The Photo Blog Theme Greyfoto has been updated and I wanted to make sure that the settings of WordPress are as I need them for the theme. Therefore must be written some data in the database when activate. Currently there is no hook for this, as is known for Plugins. The discussion on WP-Hacker-List was…
-
Add File Types for Mediathek
In WordPress 2.8.5 the whitelist of allowed MIME types for downloads will be valid for administrators the first time. This is a step towards security and you can, with the help of a constant, upload all data types. define ( ‘ALLOW_UNFILTERED_UPLOADS’, true); Who has implemented several projects already with WordPress probably had experienced that a…
-
New Feature for WordPress 2.9 – WordPress Image Editor
We already wrote about some new features, such as new filter and the Trash-function in WordPress. It has long been known that WordPress 2.9 will add some features for image editing – the users want these features, right in the core and not as a Plugin. You can get a first insight into the current…