Please search before posting. The VERY SAME question is below yours.
Hi, Any help please? Thanks!
Hello Stacy, This has been fixed already in 3.0.2
Hello, Also emails are being sent out with the From address as “wordpress” and the email as [email protected] – would be good to be able to adjust this… Please use an SMTP plugin to fix this. For HTML email, you have to edit this line: email-header. Replace text/plain to text/html. And then you can add html to your email message.
Please remove wp_unslash from this line: https://github.com/anspress/anspress/blob/master/includes/ask-form.php#L380
This is how it looks before pressing the text box area:
3.0.2, it gives me this error to me yet.
My Questions appear in Google after 2-4 days, as by blog posts do. No xml file is needed, just a good site with good reputation in google eyes.
Below code worked for me. By editing: $args['sortby'] = 'voted'; you can change default sorting. The example shows sorting by votes: <?php add_filter( 'ap_main_questions_args', 'wpdesk_ap_question_sort' ); /** * If filters and sorting are not set then sort questions by votes * */ function wpdesk_ap_question_sort( $args ) { if ( ! isset( $args['sortby'] ) && ! isset( $_GET['ap_filter'], $_GET['ap_filter']['sort'] ) ) { $args['sortby'] = 'voted'; } return $args; } However this is probably not the proper approach to do it, because even when the questions are sorted by votes by default, in the sort dropdown it still shows sorting by “active”. Probably Rahul or other developers will be able to provide a better solution.
This is fixed, what version are you running ?