Jump to content
Sign in to follow this  
tkirsten

How can I change the Author, Date and Comment line?

Recommended Posts

tkirsten

Hi there, I just bought the PagelinesPro Theme and I'm almost done finishing my first website. But I just can't change the line like: "On 31. Januar 2011 ?· Leave a Comment [Edit]" It is a German Website, so I would love to have that line in german. What can I do here? Thanks in advance Timo

Share this post


Link to post
Share on other sites
bryan-hadaway

I'm assuming you've already translated your site at the wp-config.php level? Please go to the German equivalent of: Settings > General And then make sure you set the right timezone and then format the time and date: http://codex.wordpress.org/Formatting_Date_and_Time See how far that gets you then we might have to dig into the code. Thanks, Bryan

Share this post


Link to post
Share on other sites
tkirsten

Hello there! The Timezone and Date is right. I found the following code in the wp-config.php

define ('WPLANG', 'de_DE');

I assume, that is what you meant :-(

Share this post


Link to post
Share on other sites
cmunns

Are you talking about the metabar beneath the post title?

Share this post


Link to post
Share on other sites
tkirsten

Hi! I think this is it ... here is a Screenshot of the line, I want to change: screen1.png I would like to have that line in German ... Thanks Timo

Share this post


Link to post
Share on other sites
Kate

Hi Timo - You could edit the template.postloop.php file. What you'll want to do is copy this into your Base folder and make the changes from there. I believe you're looking to edit the code inside of the if statement that begins with this line: `<?php if(pagelines('byline_comments')):?>` You'll see the comment call from there.

Share this post


Link to post
Share on other sites
tkirsten

I'm sorry, but I can't find this line in my template.postloop.php file. The file is located in wp-content/themes/platformpro The line, I am talking about is the line right beneath the title. Thanks in advance, I wonde why it seems so difficult to change it. Timo

Share this post


Link to post
Share on other sites
nightowl

I have the exact same problem and I can`t find that line in my template.postloop.php file either. Any suggestions? Hans

Share this post


Link to post
Share on other sites
bryan-hadaway

Ctrl+F or Cmnd+F leave a comment The reason it's "difficult" is because this is an uncommon custom request in which required diving into the code. There can't be a setting for everything, this is the unavoidable nature of web design. Naturally, there is a learning curve to everything, but we will get there. Thanks, Bryan

Share this post


Link to post
Share on other sites
tkirsten

Hi! Of course I searched the code by ctrl+F ... in fact: There is no line like that ... not even "leave a comment". There must be a way to get rid of that english line in my german website or not? Thanks, Timo

Share this post


Link to post
Share on other sites
tkirsten

Alright! I used Firebug to figure out what code I need to change. Unfortunately, I don't know where to find that code, but here it is. I hope someone can help me with that:

<div class="metabar"><span class="sword">On</span> <span class="date time published" title="2011-01-31T23:30:31+0000">31. Januar 2011</span>  · <span class="post-comments">Leave a Comment</span>  </div>
	[/code]

Thanks in advance Timo

Share this post


Link to post
Share on other sites
tkirsten

perfect! Even though I found the "Leave a comment" line in library.shortcodes.php. Thank you for the final hint! Regards Timo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×