• Resolved lapicj

    (@lapicj)


    Hi,

    I am new to WordPress and I am trying to setup a form that will write to a MySQL database. I have the form written but I am now trying to get it to work within a wordpress page.

    At first I places it in a page draft and it worked fine. Until I published the page and now it no longer works. In the visual and html editors it is there but not on the actual published page.

    From what I have read in other posts I need to place this form into a template. I started first by placing a shortened version of the form into a template making sure to call out the template name at the top of the php page.

    I created a new page, selected the template I had just created and published it. However, the page and the source code for the page are completely blank.

    What steps am I missing?

    Any help would be appreciated.

    thanks!

    Jim

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter lapicj

    (@lapicj)

    Sorry to reopen this but I just noticed something.

    In the old install of wordpress when I would look at the published pages it would give me a url of

    https://domain/blog/test-1/

    however with the new install it is giving me a url of

    https://domain/blog/?page_id=3

    .

    Could it have been a permalink issue?

    I’m still new to wordpress so I was playing around with different plugins and widgets and I know for one it had me change the permalink. Could that have been the problem all along? I can’t (and really don’t want to) go back and check at this point but does that seem possible?

    Thanks,

    Jim

    permalinks look as though they are not configured on your new install.

    You will have to turn them on in settings->permalinks

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Placing a form in a page template’ is closed to new replies.