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?
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?
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.
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?