What I do is use php comments to comment out php code, like this:
Let’s say you wanted to comment this out:
<div class=”singleinfo”>
<div class=”category”><?php the_category(‘, ‘); ?></div>
</div>
First I comment out the php tag using php comments so it would look like this:
<div class=”singleinfo”>
<div class=”category”><?php /*?><?php the_category(‘, ‘); ?><?php */?> </div>
</div>
Then I comment out the whole thing using html comment tags so it would look like this:
<!–<div class=”singleinfo”>
<div class=”category”><?php /*?><?php the_category(‘, ‘); ?><?php */?> </div>
</div>–>
If I just use html tags, I don’t believe it will comment out properly, so that’s why the 2-step process. Someone more knowledgeable than me may have a simpler way to do this.
MC