Just having a whirl with WordPress’ P2 theme…

Just having a whirl with WordPress’ P2 theme after hearing Matt Mullenweg wax lyrical. I like the look and it suits my kind of blogging – however – if you have many, many users in your system it WILL fall over.

It isn’t enough just to comment out the line in the javascript, you have to comment it out at the PHP level. I hate changing code within a theme but this, it seems, is what you have to do.

Go to /wp-content/themes/p2/inc and open js.php
On line 250 wrap php comments around the code (or delete it entirely)

<?php /* var mentionData = user_suggestion() ); ?>; */ ?>
var mentionData = false;

Categories

Recent Comments

Tags

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.