| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 2 months |
| seen | Mar 13 '12 at 8:20 | |
| stats | profile views | 2 |
|
Feb 29 |
comment |
Problem with meta box in Links I did and still can't see the problem. no problem while checking nonce or if I can manage links, it goes in my first 'if'-no previous meta value in db-and none of my var given in add_post_meta are empty. it gives me the same thing when editing the box to one of friday's post but saves the link. did I get my add_post_meta wrong for links? 'if ( $new_meta_value && '' == $meta_value ){ add_post_meta( $post_id, $meta_key, $new_meta_value, true ); // wp_die($post_id.' '. $meta_key.' '.$new_meta_value); }' Only showing the if part, not enough space but i can give the whole code |
|
Feb 29 |
comment |
Problem with meta box in Links Thank you, your post helped me a lot. I have a problem though that I just found... if it's a link I created before the meta box worked, it lets me save the data, and it doesn't if it is new (even if I update it next), any idea why ? |
|
Feb 27 |
awarded | Scholar |
|
Feb 27 |
accepted | Problem with meta box in Links |
|
Feb 24 |
awarded | Student |
|
Feb 24 |
asked | Problem with meta box in Links |