Jun 30th, 2009, 12:54 AM
I had been trying the last 2 days to add an API form (because of the captcha not working/documented for direct post yet) and bottom-line: I couldn't resolve the path to the form being used.
I had the form on a php template used by the "contact-us" page with a conditional statement for not parsing the code for other pages using the same template.
The permalink shows domain/page/subpage, but the page is loaded from the root by index.php.
Anyway, I've tried many ways, and I couldn't get the right path to the form itself, or the thank-you page.
The blog tries to resolve the not-found path and shows a generic page with a "nothing found for Thank You php"
Any clue about how to get the path to the current form inside a wordpress blog?
(or any other includes-based website where php must be put in the template because there are not actual files for the content)
I had the form on a php template used by the "contact-us" page with a conditional statement for not parsing the code for other pages using the same template.
The permalink shows domain/page/subpage, but the page is loaded from the root by index.php.
Anyway, I've tried many ways, and I couldn't get the right path to the form itself, or the thank-you page.
The blog tries to resolve the not-found path and shows a generic page with a "nothing found for Thank You php"
Any clue about how to get the path to the current form inside a wordpress blog?
(or any other includes-based website where php must be put in the template because there are not actual files for the content)