Last modified: 2014-11-17 09:21:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30932, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28932 - Author isn't shown on single posts & archive pages
Author isn't shown on single posts & archive pages
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Blog (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Guillaume Paumier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-11 12:23 UTC by Guillaume Paumier
Modified: 2014-11-17 09:21 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Guillaume Paumier 2011-05-11 12:23:57 UTC
The author is shown in the byline of the main page, but isn't shown on single posts & archive pages. This is particularly problematic now that we're using categories for the topic-specific blogs (tech, community, global, highlights).
Comment 1 Tomasz W. Kozlowski 2011-10-25 17:50:37 UTC
You might be willing to add the following code to single.php and archive.php in your Victor directory just slightly below <div class="post" id="post-<?php the_ID(); ?>"> in single.php and <div class="post"> in archive.php:

  <small>Posted by <?php the_author_posts_link() ?> on <?php the_time('F jS, Y') ?></small>

A very similar code has been working quite fine on <http://tools.wikimedia.pl/blog/2011/09/> and <http://tools.wikimedia.pl/blog/2011/09/polska-wikipedia-ma-10-lat/> (that's a beta version of the Wikimedia Poland blog).
Comment 2 Guillaume Paumier 2011-11-16 17:34:06 UTC
Fixed on master.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links