Topic RSS
Hey,
First of all, thanks for sharing such a great theme with us :)
Now, I wish to use altop as my theme for my static website. Therefor I do not wish to have any comment feature. Also, I want the date and the "x comments" that is shown right of the post hidden. Furthermore "filed under" and the separator below that should be hidden as well.
Could you tell me which codes to edit/delete without fudging the whole thing up?
Thanks in advance!
Hi WebGremlin,
to hide all comments and comment features, plesae take a look at this post; Maybe it's what your are looking for…
The "filed under" line is a part of page.php and single.php. I'll check this later, if I'm back at home and give you the code-lines.
Right, the codes in the link you gave me weren't all there, but I managed to get rid of the most.
The date and everything related to comments are now gone, but I can't seem to hide the separator below the "edit" link, and the seperator on the right side of the post. Any tips?
If you don't need the "Edit-Link", the "Author", the "Filed under" or the "Post-Tags" in pages or articles, you can delete the <p class="postinfo"> completly.
Otherwise, the seperaror between "Edit" and the rest is in this line;
<?php edit_post_link(__('Edit', 'altop'), ' ∫ ', ' ∫ '); ?> <br />
"∫" ist the seperator.
Great! Thanks. That leaves me with just one more thing, the separator and the white area next to the post. You know, where it used to show the date and such.
Can I hide that as well and stretch the post?
Thanks.
Hi,
sure, you can hide this area too.
Search for this block;
<div class="postdate">
<span class="postdate_day"><?php the_time(__('jS', 'altop')); ?></span><br />
<span class="postdate_month"><?php the_time(__('F Y', 'altop')); ?></span><br />
<?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 } ?>
</div>
Delete this to "stretch" the post content. But note, you will lose all informations about the post date!
Thanks for you quick replies and great support!
One final question…
Is it possible to have a separator like that next to the sidebar? I kinda like it how it looks and how it separates (obviously) the text from the sidebar. :)
Hey,
1. Thought, you have deleted the block completly ?! You need a seperator for….?
2. Is there a cache plugin running? Have you cleared the browser cache too?
Have a nice day!
Thomas
This is the part I deleted:
<div class="postdate"> <span class="postdate_day"><?php the_time(__('jS', 'altop')); ?></span><br /> <span class="postdate_month"><?php the_time(__('F Y', 'altop')); ?></span><br /> <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 if (is_sticky()) { ?> <img src="<?php echo bloginfo('template_directory'); ?>/images/sticky.png" alt="Sticky Post" /> <?php } ?> </div>
I've got no cache plugins or similiar running. All other changes take in affect immediately.
What I meant with the separator… Obviously I would like the post to stretch out to fill up the white gap, but I don't want the separator separating the post from the sidebar gone.
Thanks.
Is it possible to get a link to your site?
Normaly it should be closer to the sidebar if you deleted this block… :(
Thanks for the link – now i know what you mean… :)
The width of the content box is fixed to 640px.
You easily can change this in the style.css
Search for this:
Ah, that's just too obvious.
Thanks for all the help!
EDIT:
Meh, cheered too soon. As soon as I edit the width, even just by one px, the sidebar relocates itself to below the text, rather than next to it.
Sorry, my mistake… 
The class " .con_left " is the whole box for the post (including the "deleted" comment area)
You have to change the width value in class " .entry ".
You will find it in the style.css under;
.con_left .entry, .con_right .entry, .con_left .entry_wide, .con_right .entry_wide {
background: url("images/entry-side.png") no-repeat scroll right top transparent;
float: left;
width: 470px;
}
Change this to … px. 
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
Offline
Quote
