How to register “Custom Ask” page/function?
Hi,
I have done some customization in “function ap_ask_form()” or in  “function ask_from_content_field()” to be more specific.
But I want to keep your function / Ask page as its, and keep the changes in function “custom_ap_ask_form()”. So, far I have got partial success.
My question is –
What should I do so that it can detect “custom_ask” in the url, like yours is “localhost/wp/question/ask/”
Hope you understood what I mean?
Thanks
Regards
hi,
i was trying to do it because, i wanted to make separate pages/functions for 2 types of questions.. one is regular question type (which is, your present ask form)
and another is to “ask multiple choice questions†which i have made by customizing your functions.
i think even if I do the customization in “ask.php” itself, i won’t be able to make 2 separate question types… until I send something specific in URL itself (like ask2 or custom-ask etc, to let it know which form to load)…or is there any other way?
thanks.
Edit – Sorry for the duplication. I was NOT able to login from mobile, so my reply was posted as anonymous previously. weirdly anonymous post was not displayed in mobile (while i got the email alert for the same), but (as of now) it’s displaying in laptop.
hi,
i was trying to do it because, i wanted to make separate pages/functions for 2 types of questions.. one is regular question type (which is your present ask form)
and another is to “ask multiple choice questions” which i have made by customising ur functions.
i think even if do the customisation in ask.php itself, i won’t be able to make 2 separate question types… until i send specifics in url itself…or is there any way?
thanks.