Page Comments for K2 and Unwakeable

Share this:

For some time now, comments have been disabled on pages in K2 and Unwakeable. The modifications needed to allow comments on pages are extremely easy to make. If you use either of these themes and wish to enable comments on pages, please continue reading.
[ad]1. Open the page.php file located in your K2 or Unwakeable theme directory. Go to line 36, it should look like this:

2. Comment out that if statement, so it should look like this when you’re done:

3. You’re halfway done at this point. Now go to line 40, which should look like this:

4. Comment out this piece of code as well, so modify line 40 so it looks like the code below.

5. Save the page.php file and you should be all set.

I will make this modification in the next release of Unwakeable so you won’t have to modify it yourself. You can expect to see a new version of Unwakeable released within a week.

0

Well, now what?

Work with Me

I'm available for hire and always taking new clients, big and small. Got a project or an idea you'd like to discuss? Startup plan but no developer to make it happen? Just get in touch, I'd love to see if I can help you out!

Leave some Feedback

Got a question or some updated information releavant to this post? Please, leave a comment! The comments are a great way to get help, I read them all and reply to nearly every comment. Let's talk. 😀

Share this:

Like this:

Related

Published by Tyler Longren

Hi! I'm Tyler Longren, a freelance web developer. I'm a father to two beautiful daughters and a car stereo enthusiast.
I like PHP, JavaScript, WordPress, Git, HTML5 & CSS3, and other neat things. I really love the open source community, too.
You can find me on twitter or Google+, and Github.
This is my personal blog and that's it!
View all posts by Tyler Longren