I would need to make a few custom pages on a site using wordpress. This involves:
Adding tables into the Database Making a page that adds entries to the new tables based on a submitted form making a page that displays those values in a structured way.
What i need:
- To understand how to include this page in the existing layout (header etc..) and having access to the user session, ((custom page template??))
- To understand the PROPER way to access the custom database tables from a custom page keeping in mind point 1,
I have already done things like this in the past but given that i have almost zero experience with wordpress i built a custom mysqli connection for those extra tables. Also the session integration and such have included in a non-proper way. I would like to make things the proper way this time around.
sample table:
cabinets
| id | lenght | height | width |
1 1200 3000 300
2 1200 2800 600