Topic RSS
02:56
First how can I get the date off the -Little touch of purple theme?
Also what about comments.Can I take that away?
Thanx!!
04:47
Can you please share how to remove/share the date and comments from all pages? Thanks!
23:06
I'm also trying to figure out how to remove them from every page. Thanks!
02:02
I'd like to know how also. The client wants everything that indicates that it's a post and remove any reference to a comment removed. The normal just edit the themes files is just not working.
I am hesitant to edit the default.po file.
Hi,
sorry for this very late answer… :(
You want to remove the number of comments and/or the link to the comment-form from every site? Or the comment-form?
18:09
I want to remove all of them from all posts, pages, etc.
I want comments, post info such a categories, tags, and anything the indicates that a post is a post.
Chris
Okay. Normaly you only have to delete the code lines for the comments on every page, post and so on.
Home-Page (index.php) – You have to search for this line of code;
<img src="<?php echo bloginfo('template_directory'); ?>/images/comments.png" alt="Comments" align="bottom" /> <?php comments_popup_link(__('0 Comments', 'altop'), __('1 Comment', 'altop'), __('% Comments', 'altop'), '', __('Closed', 'altop') ); ?>
For Posts (single.php) the same as above.
For Pages (page.php) this lines of code;
<?php if (comments_open() ) { ?>
<img src="<?php echo bloginfo('template_directory'); ?>/images/comments.png" alt="Comments" align="bottom" /> <?php comments_popup_link(__('0 Comments', 'altop'), __('1 Comment', 'altop'), __('% Comments', 'altop'), '', __('Closed', 'altop') ); ?><br />
<?php } ?>
For Archive (archive.php) look for this (in the same line as the post-date);
<?php comments_popup_link(__('0 Comments', 'altop'), __('1 Comment', 'altop'), __('% Comments', 'altop'), '', __('Closed', 'altop') ); ?>
And last but not least… Remove the Comment-Form from every Page and Post. To do this, you only have to delete these lines;
<?php if (comments_open() && ($altop_work == "true") ) { //Load the Workaound.php
comments_template('/workaround.php');
} ?>
Note: All this Codes are from version 1.5.1. But in older versions it´s similar.
04:25
Thanks! After doing some investigation and finally getting access to the hosting (Yahoo) it turned out that there was some sort of caching mechanism going on. As soon as I deleted all of the files in the cache all the the changes i had made to the theme worked. What a PITA.
Chris
Most Users Ever Online: 33
Currently Online:
6 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Member Stats:
Guest Posters: 42
Members: 9
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 3
Topics: 51
Posts: 218
Newest Members: king116, gbmzxx, ichaoren, kardelen133, Bessie, isa, WebGremlin, pozzecca, mslorraine101, pcgeek
Moderators:
Administrators: Thomas (7)
Log In
Members
Home
Add Reply
Add Topic
Quote
Offline
