Forums

[resolved] Proble one on the Technical speech theme (5 posts)

  1. substitute
    Member
    Posted 2 weeks ago #

    Hey crowd,

    So I am totally new to WP, but not totally new to IT.
    I installed WP on Monday, there: http://www.dpwatch.com
    It's a journal and community website, and I need help!

    I've installed the Technical Speech theme, for the look and feel and the journal style.
    Problem one: how do I remove the posting date, the comments are closed, and the no responses bow on PAGES ? I've disabled comments on pages, but still I get all this information, and I'd really like it to go.

    There are more questions.
    Thanks

  2. mercime
    Member
    Posted 2 weeks ago #

    how do I remove the posting date
    - in index.php, in page.php and single.php delete
    <div class="boxheading" style="font-size:0.9em"><span>Posted on <?php the_time('jS F Y') ?></span><span class="right"><?php comments_number('No Responses', 'One Response', '% Responses' );?></span><div class="clear"></div><div class="left"></div></div>

    remove the comments are closed
    - in single.php remove:

    You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.<br />
    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {// Both Comments and Pings are open ?>
    You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
    <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Only Pings are Open ?>
    Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
    <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {// Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.
    <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {// Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    and remove
    <?php comments_template(); ?>

    no responses bow on PAGES
    - in page.php remove:
    <?php comments_template(); ?>

  3. substitute
    Member
    Posted 2 weeks ago #

    Excellent! Great it works perfectly fine :-)

    I will have other questions, but thank you so much for that one!
    I am more a content person, code always mesmerizes me.
    :-)

  4. mercime
    Member
    Posted 2 weeks ago #

    Glad to be of help. Reminder: change dropdown to "Resolved" on the right column if you've found the solution for your thread in this forum. Start a new one for a new question. Cheers.

  5. substitute
    Member
    Posted 2 weeks ago #

    Hi Mercime, great help indeed. I've started another thread to remove uppercase on the sidebar widgets...
    If you could be of help here to...

Reply

You must log in to post.

About this Topic