Posted In Internet

Page Comments for K2 and Unwakeable

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.
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.

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. :) is proudly hosted by DigitalOcean

About these ads