dirvish
Forum Replies Created
-
Forum: Plugins
In reply to: post id numberI was trying to have an ad displayed after every fourth blog post (“test” would have been replaced w/ the ad code), I was going to use gmp_mod with the post id number, but I f0und an easier way to do it:
<?
if ($my_id == 0)
{
echo “<br><br><div align=center>”;
include (‘ad.inc’);
$my_id = 3;
echo “</div><br><br>”;
}
else
$my_id–;
?>You can see it in action here: http://certification.foundnews.com/
Forum: Fixing WordPress
In reply to: nofollow support added?Thanks, but I didn’t want a plugin; not if I can just edit one line of code. I was just having trouble finding that line of code. I’ve since found it though, line 127 of template-functions-comment.php file.
Forum: Fixing WordPress
In reply to: nofollow support added?I’m using WP 1.2.2. How do I add ‘no follow’ to comments? It doesn’t appear to be included in this release. I tried to grep through the code for ‘Comment by’…I’m pretty confused that I can’t find it…
Forum: Fixing WordPress
In reply to: permalinkNo, I didn’t actually even check ‘domain.com’ …strange coincidence that all of those URIs actually resolved. 🙂
I tried those alternate rules and they totally broke the permalinks.
Forum: Installing WordPress
In reply to: elusive wp-config.phpIt’s not still name wp-config-sample.php is it?
Forum: Themes and Templates
In reply to: How about a gallery of WP Powered sites…I like the idea. Also, is there a central resource for theme downloads?