I know how to place the widget, but I’m talking about the automatic loading of suggested questions when a user starts typing something into the search box – the live search. It doesn’t appear with the widget when the widget is displayed on pages other than the Anspress page. I want to know how to enable the live search script on the widget.

simply drag search widget like this:

Your q2a custom fields need to be imported as WP post meta. let me try. when you get time contact me from FB chat.

No I cannot add this to core, cause search engine may ignore this link, and will not index it.

I think this are useful features for everyone, I am adding it to my roadmap. 🙂

For activating social login install WordPress Social Login (http://wordpress.org/plugins/wordpress-social-login/) and activate it. Then add API keys of providers. And thats all, rest of things will be handled by AnsPress.

Very simple answer and very simple solution 😀 PhpMyAdmin have this feature, search for “PhpMyAdmin local and remote sync”

Well, this is NOT the answer to my original question. @AcidRaZor, this is the piece of code I am using (and it’s NOT complete). It’s similar to what wordpress help shows on how to make wp-post in PHP. After posting here, My code was automatically modified for unknown reasons. So I have pasted it on pastebin. It’s link is – http://pastebin.com/yeSdxtaK. Please check it there. <?php require('wp-blog-header.php'); define('ANSPRESS_VOTE_META', '_ap_vote'); define('ANSPRESS_FAV_META', '_ap_favorite'); define('ANSPRESS_CLOSE_META', '_ap_close'); define('ANSPRESS_FLAG_META', '_ap_flag'); define('ANSPRESS_VIEW_META', '_views'); define('ANSPRESS_UPDATED_META', '_ap_updated'); define('ANSPRESS_ANS_META', '_ap_answers'); define('ANSPRESS_SELECTED_META', '_ap_selected'); define('ANSPRESS_BEST_META', '_ap_best_answer'); define('ANSPRESS_PARTI_META', '_ap_participants'); define('AP_FOLLOWERS_META', '_ap_followers'); define('AP_FOLLOWING_META', '_ap_following'); $question_title = "This space is for Question Title…"; $user_id = 1; $question_description = "This space is for actual/detailed question post"; $category = array(12, 13, 15); $tags = array(21, 22, 23); $status = 'publish'; $question_array = array( 'post_title' => $question_title, 'post_author' => $user_id, 'post_content' => wp_kses($question_description, ap_form_allowed_tags()), 'post_type' => 'question', 'post_status' => $status ); $post_id = wp_insert_post($question_array); if ($post_id) { wp_set_post_terms($post_id, $category, 'question_category'); wp_set_post_terms($post_id, $tags, 'question_tags'); update_post_meta($post_id, ANSPRESS_VOTE_META, '0'); update_post_meta($post_id, ANSPRESS_FAV_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); ap_add_parti($post_id, $user_id, 'question'); update_post_meta($post_id, ANSPRESS_ANS_META, '0'); do_action('ap_after_inserting_question', $post_id); ap_do_event('new_question', $post_id, $user_id); $question_permalink = get_permalink($post_id); } echo "<a href='$question_permalink'>link</a>"; p.s. – 1. it will only create question. I had not created for posting answers. but I think $answer_array can be created in similar manner and use that array into wp_insert_post inside if ($post_id) block 2. I am NOT a programmer. so, it may be a worst piece of code, one can see in his […]

there is an ap_moderator (Moderator) role for moderating post and comments. We are working on a role editor for AnsPress, will be available soon. 🙂

The plugin running in network mode, the plugin will not devactivate so it can be uninstalled. no error is given, just stays at a blank screen best answer i got