Author’s name in default theme

Post Reply
User avatar
Torsten_Kelsch
Legend Bludit
Posts: 263
Joined: Thu Aug 27, 2015 10:24 pm
Location: Germany
Has thanked: 4 times
Been thanked: 2 times
Contact:

The name of the post author is separated by a comma, like Prename, Lastname. The code in themes/pure/php/post.php, line 24, and in themes/pure/php/home.php needs to be changed, line 26, is:

Code: Select all

echo $Post->authorFirstName().', '.$Post->authorLastName();
but should be without the comma. Nothing that really matters, I know, but looks a bit strange.
On Error GoTo Bed
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Hi,
what format recommend for display the full name ? Last name First Name ?

thanks
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

No, first name last name (not first name, last name).
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Torsten_Kelsch
Legend Bludit
Posts: 263
Joined: Thu Aug 27, 2015 10:24 pm
Location: Germany
Has thanked: 4 times
Been thanked: 2 times
Contact:

Edi wrote:No, first name last name (not first name, last name).
Totally agreed.
On Error GoTo Bed
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Torsten_Kelsch wrote:
Edi wrote:No, first name last name (not first name, last name).
Totally agreed.
Done!
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Thank you!
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply