Can you make tags NOT mandatory

Rahul, it  just doesn’t work no matter what i write. I use all your latest versions at github.  

Can you make tags NOT mandatory

Now tags extension will not check tags count if minimum tag is set to zero. Push has been made to Github repo for AnsPress and tags extension.

Can you make tags NOT mandatory

I think the “field is required” is because you need to have PRESELECTED added tags. The poster can’t write his own tag.

List of websites using Anspress

http://dima.stefantsov.com/qa/ Using it on my personal blog and hoping to use it as comments system as soon as it will be supported by AnsPress.

List of websites using Anspress

Ill share when its complete

What hook should I use if I want to trigger an event after post is published?

It goes like this: process_form() process_ask_form() wp_insert_post() add_action( ‘save_post’, ‘action_on_new_post’) action_on_new_post() do_action( ‘ap_processed_new_question’) add_action( ‘ap_processed_new_question’, ‘after_new_question’) after_new_question() do_action( ‘ap_after_new_question’) // <— add_action( ‘ap_after_new_question’, ‘new_question’ ) new_question() add_action( ‘ap_after_new_question’, ‘new_question’ ); //reputation new_question() //reputation Really simple!

What hook should I use if I want to trigger an event after post is published?

public function after_new_question($post_id, $post) { update_post_meta( $post_id, ANSPRESS_VOTE_META, '0' ); update_post_meta( $post_id, ANSPRESS_SUBSCRIBER_META, '0' ); update_post_meta( $post_id, ANSPRESS_CLOSE_META, '0' ); update_post_meta( $post_id, ANSPRESS_FLAG_META, '0' ); update_post_meta( $post_id, ANSPRESS_VIEW_META, '0' ); update_post_meta( $post_id, ANSPRESS_UPDATED_META, current_time( 'mysql' ) ); update_post_meta( $post_id, ANSPRESS_SELECTED_META, false ); // Update answer count. update_post_meta( $post_id, ANSPRESS_ANS_META, '0' ); // Update user question count meta. ap_update_user_questions_count_meta( $post_id ); /** * ACTION: ap_after_new_question * action triggered after inserting a question * @since 0.9 */ do_action( 'ap_after_new_question', $post_id, $post ); } public function after_new_answer($post_id, $post) { $question = get_post( $post->post_parent ); // Set default value for meta. update_post_meta( $post_id, ANSPRESS_VOTE_META, '0' ); // Set updated meta for sorting purpose. update_post_meta( $question->ID, ANSPRESS_UPDATED_META, current_time( 'mysql' ) ); update_post_meta( $post_id, ANSPRESS_UPDATED_META, current_time( 'mysql' ) ); // Get existing answer count. $current_ans = ap_count_published_answers( $question->ID ); // Update answer count. update_post_meta( $question->ID, ANSPRESS_ANS_META, $current_ans ); update_post_meta( $post_id, ANSPRESS_BEST_META, 0 ); ap_update_user_answers_count_meta( $post_id ); /** * ACTION: ap_after_new_answer * action triggered after inserting an answer * @since 0.9 */ do_action( 'ap_after_new_answer', $post_id, $post ); } Assuming developers are not insane, ap_after_new_question and ap_after_new_answer should do exactly what you want. It’s all in sources.

Reputation points on new registration

This has been solved.