Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

dad2four on "How do I add linked custom PHP page to plugin"

$
0
0

I am attempting to build my first plugin.

I have a form that collects the infon necessary to create a post. Before I allow the post to go into the Database I need to force the user to accept my TOS.

I have a checkbox and a link. The link will go to the TOS page (my custom PHP page) and once the user accepts the TOS the user can come back to the FORM which is populated with their data and the checkbox is checked.

The user can also just check the box and submit their post.

My question is how do I wrap my TOS page so that it matches the existing website. I want my PHP page to be wrapped to use whatever theme the user has selected for their website. In addition I want to come back to the form with it wrapped in the users theme just like it was originally.

I open my form using a hook so all is good up to there.

I want to understand how to do this the right way not the cheap and easy way.

Thanks in advance for any assistance you can offer.


Viewing all articles
Browse latest Browse all 8245

Trending Articles