Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 9 posts - 1 through 9 (of 9 total)

no display of comments and date

Home Forums Misc. General Forums no display of comments and date

  • #12432

    torsten

    subscriber

    Hi,

    I disabled the function comments allowed for each article (posts). It works fine and I want to use this function.

    But on the front page, there is still an mouseover effect for each article immage, saying “Off” in the top lef corner of the image and showing the date in the buttom right corner of the image.

    I think article is the German word, posts should be the same in the English WordPress Version.

    How can I disable this mouseover message too?

    Rgds

    Torsten

    #17294

    Towfiq I.

    administrator

    GO to Appearance> Editor and select “layout1.php” and remove this line(appear 3 times):

    <div class="block_comm"><?php if (!empty($post->post_password)) { ?>
    <?php } else { ?><div class="comments"><?php comments_popup_link( __('0</br>Comment', 'zenon'), __('1</br>Comment', 'zenon'), __('%</br>Comments', 'zenon'), '', __('Off' , 'zenon')); ?></div><?php } ?></div>

    #17295

    torsten

    subscriber

    Thanks, it works to delete the comment info in the top left corner.

    But it still shows the date info in the right corner at the bottom.

    I want to delete this date also. What modification do I have to do?

    #17296

    Towfiq I.

    administrator

    Remove these lines from the same file:

    <div class="date_meta"><?php the_time('d'); ?><?php the_time('S'); ?> <?php the_time('M'); ?></div>

    #17297

    torsten

    subscriber

    Thank’s it works perfect. Your support is awesome.

    One question furthermore to this.

    Clicking on the article on the front page, a new page even with the article will be opened.

    In this new article page, there is automatically shown the date unter the the first line (my title for the article) and at th bottom under the article there is the message “Comments are closed”.

    I don’t want to display this date and this comment status info, too.

    Please let me know what modifications I have to do?

    #17298

    Towfiq I.

    administrator

    Go to Appearance> Editor and select “single.php” and remove these two lines:

    <div class="single_metainfo">On <?php the_time( get_option('date_format') ); ?><?php if(of_get_option('dissauth_checkbox') == "0"){ ?> by <?php the_author(); ?><?php } ?></div>

    and:

    <div class="comments_template"><?php comments_template('',true); ?></div>

    #17299

    torsten

    subscriber

    Thank’s for your support, perfect!!!

    Rgds

    Torsten

    #17300

    aliaks

    subscriber

    I am trying to get the same result- remove number of comments from left corner of article’s thumbnail image and remove date from the bottom right corner.

    I have deleted 6 lines from layout1.php per directions above, but the info has not been removed. Could you help?

    #17301

    aliaks

    subscriber

    needed to delete from layout3.php

    thanks for looking!

Tagged: