• I was wondering how to remove the typical “Leave a comment”, “posted by …” and such. I wanted to remove all the extra stuff under a post. How can I do this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • It all depends on your theme. At times, you just delete the call for the comments template in the single.php or sometimes more code has to be deleted.

    If you’re looking to turn off commenting, you can do that through the dashboard. The default settings are under Settings > Discussion, but you can change this for individual Posts and Pages through their edit screens.

    – Tim

    Thread Starter rsaldana2008

    (@rsaldana2008)

    is there anyway to remove the date of the post? or who posted it? is all of the in the single.php file? thanks.

    Site URL? What theme are you using?

    Thread Starter rsaldana2008

    (@rsaldana2008)

    my site url is at https://www.thegoldenswing.com

    theme is called AndyBlue ver 1.4

    I just comment out what I don’t need, that way if I ever need it, I just remove the comments code and voila, it’s there for me to use.

    MC

    Thread Starter rsaldana2008

    (@rsaldana2008)

    hey mouseclicks,

    could you tell me where most of this stuff is located? In general, what should I be looking for? Is there anything in particular?

    I can comment the stuff out by putting ‘//’ in front of the code on each line, is that correct?

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Removing features.’ is closed to new replies.