Are there any updates on this? Time on my site is wrong for both questions and answers… If it is related to time zone, could you please let me know how to fix it? Thanks!
simple use [anspress] shortcode anywhere you want.
Hi Rahul, thank you for this plugin, I’m started to translate to kurdish(Sorani). my profile Halwest Rasul. ^_^ .
Now this new code is working. Thank you so much. But another problem is, this makes “AnsPress Email” sending mail 2 more time :(. The email topic was, New question posted by [USER] A question is edited by [USER] A question is edit by [USER] Do you have any suggestion for other hooks? Thank you so much.
You can always edit the users pages. I have the userPro and Anspress mixed like this: I have in the top menu the links to login/register with userpro. But if you edit the pages, remember that you will lose your changes if you update the plugin.
Dear Rahul and Kenny, I use this code and my server was down with infinite loop (it kept sending notification mail to me because I’ve installed “AnsPress Email”) add_action('ap_after_new_question', 'using_id_as_slug', 10, 2 ); add_action('ap_after_update_question', 'using_id_as_slug', 10, 2); function using_id_as_slug($post_id, $post){ global $post_type; remove_action('ap_after_new_question', 'using_id_as_slug' ); wp_update_post(array('ID' => $post_id, 'post_name' => 'q' . $post_id )); add_action('ap_after_new_question', 'using_id_as_slug' ); } Do you have any suggestion? Thank you so much.
I am aware of this issue. This will be fixed soon.