StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-03-2008, 12:18 PM
flashbytes flashbytes is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 9
Default "Comments off" and other things

Hi folks,
translating R2-Church into german, I noticed a few things:

1) Situation: showing posts archived by date or category (it doesn't matter which one) and one of the posts has comments off
[attachment=2:1s7r7fl6]comments-off-cat.jpg[/attachment:1s7r7fl6]
The text, which shows up "Comments off" doesn't come from the theme, as one would expect, but from comment-template.php which is located in the "wp-includes" folder. I had to search through all theme and WordPress files for "comments off" to find the where the text is comming from (in order to translate it).

Why doesn't the theme text "comments closed" show up and why does it instead take the text from a wordpress file?

2) Situation: showing a post with comments off
[attachment=1:1s7r7fl6]comments-off-post.jpg[/attachment:1s7r7fl6]
On the right side of the post - namely in the dateright div - there's a text showing "Leave a comment" even though comments are off, which is then written correctly under Comments: "Comments are closed."

This is how it looks like when a post is shown where comments are on:
[attachment=0:1s7r7fl6]comments-on-post.jpg[/attachment:1s7r7fl6]

The solution would be to check whether the post has comments turned off or on and according to this then set the link for comments or not.
If someone knows how to do this, please reply to this post. I need to change this until the Friday evening. Thanks.

3) I am updating a site running an old WP version. Back then I didn't use any tags, so now there's this Tags line under each post but no tags showing up, cos I ain't got any ;)

So, how can I get the tags to not show up if there aren't any? Maybe something like this:
Code:
<?php if (the_tags('') =='') {the_tags('')} endif; ?>
Any help is appreciated! Thanks :)

Antonio
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove "About Admin" and "Comments are closed" from bottom of posts zreboletti General Discussion 3 11-22-2010 01:07 PM
I wan't delete some words: "advertisement" "comments" "subscribe".... in Home Francois Laurent General Discussion 2 01-06-2010 11:11 AM
Plugin to show "latest" "comments", "categories" etc as tabs colin General Discussion 2 04-16-2009 01:03 PM


All times are GMT -5. The time now is 10:14 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.