Can i do plugin commits directly from a plugin folder inside an installation using the Trunk SVN

I run a WordPress checkout of trunk, a branch, or a tag. This way I can switch WordPress versions easily: svn sw http://svn.automattic.com/wordpress/trunk svn sw http://svn.automattic.com/wordpress/tags/3.1 In wp-content/plugins I have a trunk checkout for each of my plugins: cd wp-content/plugins svn co http://plugins.svn.wordpress.org/stats/trunk/ stats I do my work on the stats plugin (updating the changelog … Read more

Creating custom field with drop down on new post page

Instead of defining the default values for custom fields, you should do like Milo says. You should have something like this in your functions.php. I tried to follow what you need, but didn’t test it. <?php // action to add meta boxes add_action( ‘add_meta_boxes’, ‘voodoo_dropdown_metabox’ ); // action on saving post add_action( ‘save_post’, ‘voodoo_dropdown_save’ ); … Read more

Custom Post Type Link from Plugin

Magic here is: ‘show_ui’ => true, ‘show_in_menu’ => ‘plugins.php’, Try this: function restaurant_menu_items() { $labels = array( ‘name’ => __(‘Restaurant Menu Items’, ‘post type general name’), ‘singular_name’ => __(‘Restaurant Menu Item’, ‘post type singular name’), ‘add_new’ => __(‘Add New’, ‘product page’), ‘add_new_item’ => __(‘Add New Menu Item’), ‘edit_item’ => __(‘Edit Menu Item’), ‘new_item’ => __(‘New … Read more

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