Remove WordPress Comments from your blog

June 18th, 2009

Original Post:  http://wphackr.com/turn-off-comments

A while back I wanted to do something with Wordpress that seemed like it should be the easiest thing in the world to do, like there should be a setting or something to change to turn off comments, but my search ended in disappointment at the thought that I would have to scrounge through and remove all the code that displays comments…I really hate when things aren’t made easy for me.

Anyway, here’s how it’s done…

1. Open index.php and remove this:

<span class="add_comment"><?php comments_popup_link('? No Comments', '? 1 Comment', '? % Comments'); ?></span>

2. Open single.php and remove this:

<?php comments_template(); ?>

3. Open archive.php and remove this:

<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>

That’s it, you’re done, unless you have another theme that you’re using, in which case you need to scan all your blog pages for anything related to comments. If you find something, open whatever template that page is using and remove any lines of code like what’s above.

CAT5 Wiring Diagram

June 8th, 2009

This is the standard wiring diagram for CAT5 Patch Cables.

EIA/TIA 568B Color Scheme

EIA/TIA 568B Color Scheme

Crystal Reports XI - Alternate Row Color

May 24th, 2009

Alternate Row Color in the Detail Section of your report

  1. Right click the “Details” section and select “Section Expert”
  2. Select the “Color” tab
  3. Select the “X-2″ button (formula button)
  4. Type the following:
    if RecordNumber mod 2 = 0 then crSilver else crNoColor
  5. Save and close

The row colors of your detail section will now alternate between Silver and NoColor. Read the rest of this entry »