Include "by author" for each post on homepage

Posted in: Newspaper
Post count: 28

How do I include the author of each post on the homepage as depicted in the link?

http://www.screencast.com/t/1DNcXqdaW

Also how would I change the font color of date?

Many thanks in advance.

Post count: 3343

Hello,
Just edit td_module_x.php and de-comment this line http://screencast.com/t/1U3XLv4id

To change the color of the date just add this in style.css and change to color you want

.entry-date {
    color: #777777;
}

Thanks for the message!

Post count: 28

Thanks for the solutions! They both worked.

However now I want to switch the placement of date and author. I want the line under each picture to read: Date by Author Name. The only problem is that when I switch the code to look like:
$buffy .= $this->get_date();
$buffy .= $this->get_author();

I get the hyphen that sticks out at the end of the name. How do I remove the hyphen? Also there needs to be a space after the Date. Here’s what it looks like:

http://www.screencast.com/t/fcmefcmK

Post count: 3343

Hello,
Add this in style.css

.entry-date {
    padding-right: 10px;
}

Change like here: http://screencast.com/t/tfmVQGlWV4j

Thanks

Post count: 28

Thank you so much! This worked beautifully.

As someone who is just starting out with no coding experience whatsoever, your help has been greatly appreciated!

Best,

Nick

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.