Using DePo Masthead with WP 3+

I’ve used DePo Clean in the past and assuming that its coded the same i can say it is very light weight and easy to customize and worked just fine on WordPress 3.0.4 as far as i can tell.

How to take the help button and link off the dashboard

The code is in wp-admin/includes/template.php, function screen_meta(). However, there’s no hook to disable the help button, so if you want to get rid of the button, you’d have to use CSS or JS. If you choose CSS, a body.index-php .screen-meta #contextual-help-link-wrap { display: none; } should do. If you just want to get rid of … Read more

WordPress blog clone.. wp-admin issue

Here’s 1 way to fix this. Add below inside Site2 wp-config.php: define(‘WP_SITEURL’, ‘http://Site2’); define(‘WP_HOME’, ‘http://Site2’); Once logged in, go to Settings > General and change WordPress address (URL), Site address (URL) to Site2. Then delete those 2 lines that you add inside wp-config.php.

Some blog posts containing source code fail to save draft or publish

From a look at /wp-includes/default-filters.php: Maybe one of the following filters is causing the problem. I’d try to remove_filter() them and see what happens: add_filter( ‘the_content’, ‘wptexturize’ ); add_filter( ‘the_content’, ‘convert_smilies’ ); add_filter( ‘the_content’, ‘convert_chars’ ); add_filter( ‘the_content’, ‘wpautop’ ); add_filter( ‘the_content’, ‘shortcode_unautop’ ); add_filter( ‘the_content’, ‘prepend_attachment’ ); If this doesn’t help, we’ll need another … Read more

wp_set_post_terms example?

Name your fields like car_specs[taxonomy_name], then within “save_post” just do: foreach($_POST[‘car_specs’] as $tax => $term) if(taxonomy_exists($tax)) // && term_exists($term, $tax) wp_set_post_terms($post_id, $term, $tax); Personally I wouldn’t use WordPress for a auto classifieds type of website. There are PHP frameworks out there better suited for building such sites

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)