Plugin til illustration af sammenhæng mellem wp-side og databasen
1. Installer plugin og aktiver Comment Guestbook
2.
To create a guestbook goto "Pages" → "Add new" in the admin menu and create a
new page
.
Choose your page title e.g. "Guestbook" and add the shortcode [comment-guestbook]
in
the text field.
You can add additional text and html code if you want to display something else
on that page.
That´s all you have to do. Save and publish the page to finish the guestbook
creation.
3. Gå ind i og fjern alle flueben: (hvis du ikke gør det optræder gæstebogen 2 gange på siden)
4. Gå ind i kommentarer og godkend kommentarer, der skal gemmes i DB
5. Gå ind i tabellen wp_comments i Mysql og find de indtastede kommentarer i gæstebogen