Update users custom profile fields

You have specified the value of the <textarea> in a value attribute, but for a <textarea> you must put it between the two tags: <textarea rows=”10″ cols=”60″ name=”adsense_336″ id=”adsense_336″ class=”regular-text” ><?php echo esc_attr( get_the_author_meta( ‘adsense_336’, $user->ID ) ); ?></textarea>

get_post_meta() problem again

So many issues here… First, I’m not sure what this line is doing: add_action(‘admin_menu’, ‘tweet_fetch1′); If you don’t actually have a function called tweet_fetch1 that runs when the admin loads, you should remove this add_action. And if you do have such a function, why is your add_action in this location? The first step to avoiding … Read more

Are there action hooks for comments?

In WordPress, almost anything is possible. It all depends at times how hard you want to work for it. 🙂 The Comment Post form of course uses HTTP POST to submit to /wp-comments-post.php so you could use that except for the NONCEs if you want to post unfiltered HTML. You’d have to write a page … Read more

Output loop to function return?

First, need to lose query_posts() – it should never be used for secondary loops. Try something like this: $posts = get_posts( array( ‘cat’ => $category->term_id, ‘numberposts’ => 3, )); foreach( $posts as $post ) { $listing_code .= get_permalink( $post->ID ); //or whatever }