Custom Metaboxes, multiple post selection

I’m not sure if select multiple value from the select box is what you want, but from a quick look at you code i would say you should put <select name=”‘.$field[‘id’].'[]” id=”‘.$field[‘id’].'”> instead of <select name=”‘.$field[‘id’].'” id=”‘.$field[‘id’].'”> since you want a multiple select. This is then a html problem, not a WP related.

I want to add a custom field in the rss title of each post, but don’t want it to be shown on the site

I’ve never actually tried this, but I think the following should work: function wpse_96096_append_author( $title, $post_id ) { if( is_feed() ) { $author = get_post_meta( $post_id, ‘{YOUR CUSTOM FIELD KEY}’, true ); $title = $title . ‘ by ‘ . $author; } return $title; } add_filter( ‘the_title’, ‘wpse_96096_append_author’, 10, 2 ); What this does is … Read more

Upload image to wordpress

Output during saving You can not print something during the data is saved. If you use die( var_dump( $your_var ) ); it will print the values, but also stops the script. The reason is, first the data will be parsed. Then you will be redirected back to profile.php. So everything you print while parsing the … Read more

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