My ‘How to answer’ field is empty too… and cannot find where to edit : / Anyone can suggest please? Thank you
@viktor and @Rahul, I’m having this comment issue, which I clicked on the comment link and nothing happened. I switched to theme twenty fifteen and disable any comment plugins, but still no luck. How can I fix it? Thanks,
You can copy this: About reputation by Terence
Its due to tooltip plugin used in AnsPress. We have already fixed it. New version rolling out on Sunday.
That’s not credit. Its default AnsPress user cover. You can replace it by simply changing the default image.
@Dima Stefantsov, Thanks for the info. Will certainly try it someday. Meanwhile, I overrided Email-id and name in my case by adding following filter in functions.php add_filter('wp_mail_from', 'new_mail_from'); add_filter('wp_mail_from_name', 'new_mail_from_name'); function new_mail_from($old) { return '[email protected]'; } function new_mail_from_name($old) { return 'MedicosHive Support'; } Can you or Rahul tell me any added benefit for using the plugin instead of this filter. Thanks. Edit 1 : – I just re-read your post. Log of All Sent Mails is definitely a plus.
If you need to adapt it to another language, this is translatable, you can put your translation in your language file. (see other questions on “how to translate”) If you want to change English text or don’t want to bother with proper translating, you could use this snippet: add_filter('ap_ask_form_fields', 'd_ap_ask_form_fields'); function d_ap_ask_form_fields($args, $editing) { $args['fields'][0]['placeholder'] = "Question in one sentence 123"; $args['fields'][0]['desc'] = "Write a meaningful title for the question. 456"; return $args; }
Find it in AnsPress options: This should work for you (never tried myself, because comments are really useful!)
Simply do not select any Page on your AnsPress options:
I think it will be easier to solve your task from front-end. After user press “submit question”, don’t go to server, just display another set of elements for your user. Internally let it be one whole form. Validate it like you want, and second button would send real server POST, and all “two pages” would go to the server together. Where they will be validated again and properly stored with your custom logic. You could probably use this AnsPress feature: default: /** * ACTION: ap_process_form_[action] * process form * @since 2.0.1 */ do_action( 'ap_process_form_'.$action ); break;