Commit Graph

12 Commits

Author SHA1 Message Date
Konstantin Kovshenin 461976d48c Revert "Merge pull request #36 from kovshenin/patch-5"
This reverts commit 800b9ebcd1, reversing
changes made to ce4bef6129.
2012-08-31 08:54:22 +04:00
Michael Fields 800b9ebcd1 Merge pull request #36 from kovshenin/patch-5
Use get_queried_object(); to retrieve author data in archive.php. This removes the need for the_post() and rewind_posts(). props @kovshenin fixes #36
2012-08-27 13:06:30 -07:00
Konstantin Kovshenin 103ae2cdf6 Correct use of get_queried_object() for author archives.
The ->data object (used previously) stores the author data, but the WP_User class has the __get magic method that grants access to that data, so using get_queried_object() without ->data is correct, and compatible with 3.2, which does not use magic methods. Also url-escapes get_author_posts_url.
2012-08-27 10:56:36 +04:00
Matias 752d08afd7 Update the HTML "class" system
Improving on the naming convention of our classes with consistency
adjustments. Also creates a better hierarchy (matched pairs) for them.
2012-08-25 14:06:33 -03:00
Josh Betz a792ded32c No need to rewind posts if nothing has been queued up yet 2012-08-24 12:29:41 -05:00
Konstantin Kovshenin dec5c61928 No need for the_post and rewind_posts in author archives.
We can get all the information we need about the author by using get_queried_object within is_author.
2012-08-14 10:49:27 +04:00
kobenland b9fa5c0dd2 Add missing 'class' comments 2012-05-23 21:01:41 +02:00
Ian Stewart 43ea44cb44 _s: Simplifying search, index, and archive, with a common no posts found template part, no-results.php; Closes #1187
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9340 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-29 15:55:33 +00:00
Ian Stewart d5b33742db _s: incorporating the author template into the archive template to reduce template bloat
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8835 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-01 20:21:14 +00:00
Ian Stewart afe244fe68 _s: More consistency with class names in the structural markup 2012-02-01 16:55:36 +00:00
Ian Stewart 73ffdba03c _s: With so little variation among date archive, category arhive, and tag archive, we can safely combine those templates without overcomplicating things. 2012-01-12 17:12:04 +00:00
Ian Stewart edfeccc255 _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00