Apache errors when retrieving taxonomies

It’s a PHP error, not an Apache error. What’s happening is that get_the_terms() returns an array of terms, or false if there are no terms or the post doesn’t exist. You can fix this like this: $thiscategory = get_the_terms( $post->ID, $taxonomy_name ); if ( is_array( $thiscategory ) ) { // Only runs if $thiscategory is … Read more

Incompatible Archive. PCLZIP_ERR_BAD_FORMAT (-10)

This error comes from the library that manages ZIP formatted archives: http://www.phpconcept.net/pclzip/user-guide/19?showall=1 After a quick web search, two solutions came up: 1) Which version of WordPress are you using? For version 2.8 this seems to be a known and fixed issue. Hence, an update of WordPress could help. 2) You perhaps have to increase your … Read more

Color palet in the WordPress’ front-end?

The color is being saved in a cookie set via javascript. This is more of a JavaScript question. How to change the background color with a color picker: https://stackoverflow.com/questions/4146621/changing-colors-with-jquery-with-a-color-picker How to use jQuery to manage cookies: http://www.ilovecolors.com.ar/using-cookies-jquery/