Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-01-2011, 03:06 AM #1
- Join Date
- Sep 2011
- Thanked 0 Times in 0 Posts
Individual Keywords from Individual Posts
Okay so I have created my code to setup a admin to login into the admin panel and do the following so far: add posts, edit posts, add widgets, edit widgets, delete posts, site statistics and so forth.
Basically the code is hosted on my localhost using Mamp. My url structure for blog posts is basically index.php?id=2 2 meaning a single post view.
I would like to make it so where when the admin is adding a post there is a text field where the admin will enter his META keywords. Once the user hits the submit button it will update the META keywords in the Header just for that page ID.
Any idea how to perform this? Hope you can help.
09-01-2011, 01:07 PM #2
- Join Date
- Aug 2011
- Thanked 1 Time in 1 Post
This is far from trivial and something that I would personally say is too indepth for a forum. You would basically have to have an admin form, that saved the details to the database, then on the front end have PHP code to get the field from the database and display it in the HEAD of the page.