I am using WordPress multisite using subfolders for my networked sites.
I run a small website under the URL: http://www.mywebsite.com/subdomain/
What i need to do is to add a guestbook functionality in my web site. A section that my users can let comments about my business.
What have I done. I created a page called “Guestbook” and then a created a special page template for this paged called (obviously!) “page-guestbook”. In my page template I tried to copy the code from the default comments.php file and to style it so i can have two columns. One with my comment form and the second one with my comments.
There are two main problems.
#1 the comments are not showed, although there some, instead i get a “there is no comments” message.
#2 the comment form shows up but when i write a comment I get the a blank page and the comments never submbited!!!
When I switch my theme to the default wordpress theme well… it works!!!
Does anybody know how to do this the right way?
Is there any tutorial?
I tried to find a solution in the forums but…
Thanks in advance for your help
Here is my page-guestbook.php
`
[chunk of code moderated – please use pastebin.com]
The topic ‘How to create a guestbook page?’ is closed to new replies.
(@satsilem)
13 years, 2 months ago
Hello to everyone…
I am using WordPress multisite using subfolders for my networked sites.
I run a small website under the URL: http://www.mywebsite.com/subdomain/
What i need to do is to add a guestbook functionality in my web site. A section that my users can let comments about my business.
What have I done. I created a page called “Guestbook” and then a created a special page template for this paged called (obviously!) “page-guestbook”. In my page template I tried to copy the code from the default comments.php file and to style it so i can have two columns. One with my comment form and the second one with my comments.
There are two main problems.
#1 the comments are not showed, although there some, instead i get a “there is no comments” message.
#2 the comment form shows up but when i write a comment I get the a blank page and the comments never submbited!!!
When I switch my theme to the default wordpress theme well… it works!!!
Does anybody know how to do this the right way?
Is there any tutorial?
I tried to find a solution in the forums but…
Thanks in advance for your help
Here is my page-guestbook.php
`
[chunk of code moderated – please use pastebin.com]