Tag archive for "php"
WordPress plugin/theme options page
I use helper methods/functions in my themes and plugins to create the input fields, this was simplified for the example here. more
Automatically tag and categorize WordPress posts on save
The function should probably check if the post already has the tag/category before adding it a second time. I should probably look into the wp_is_post_revision() part again as well. more
Merging and splitting XML files with simpleXML
Here's a way to merge parts of two XML files with PHP's simpleXML. This also preserves the attributes, which was where the information was stored in my case. This script will not work out of the box for you, so edit it. Use var_dump(), print_r() and friends. <?php $file1 = ... more
I am Nicolas Kuttler, a web developer, system administrator and IT consultant from France, currently living in Germany.