Commit Graph

861 Commits

Author SHA1 Message Date
Andrew Nacin
43913e382c (string) WP_Theme is now the theme name, translated. Good replacement for get_current_theme(); better than wp_get_theme()->display('Name'). see #20103, see #20138.
git-svn-id: https://develop.svn.wordpress.org/trunk@20039 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 19:27:54 +00:00
Lance Willett
981992f8fb Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131.
git-svn-id: https://develop.svn.wordpress.org/trunk@20017 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 19:17:04 +00:00
potbot
ffa265cebd POT, generated from r20011
git-svn-id: https://develop.svn.wordpress.org/trunk@20012 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 06:18:04 +00:00
Lance Willett
c41874b4d7 Twenty Twelve: remove an unneeded, presentational class value, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20011 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:28:08 +00:00
Lance Willett
e6282c7f0d Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20010 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:24:57 +00:00
Lance Willett
90df91666c Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20009 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:19:50 +00:00
potbot
326b2db4fa POT, generated from r20007
git-svn-id: https://develop.svn.wordpress.org/trunk@20008 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 04:17:41 +00:00
Lance Willett
91511b6a18 Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978.
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.

Props iandstewart for the original JS file and concept.


git-svn-id: https://develop.svn.wordpress.org/trunk@20007 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:59:47 +00:00
Lance Willett
2a1dff3136 Twenty Twelve: better "no posts found" message and action for index view. If a logged-in user can edit posts, show an appropriate message. Otherwise, show the normal "no posts found" message. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20006 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:48:34 +00:00
potbot
fc85a24fea POT, generated from r20003
git-svn-id: https://develop.svn.wordpress.org/trunk@20005 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:17:50 +00:00
Lance Willett
4709676a6f Twenty Twelve: remove test lines from r20003
git-svn-id: https://develop.svn.wordpress.org/trunk@20004 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:14:00 +00:00
Lance Willett
28592c377a Twenty Twelve: use the time element for image attachment views, and esc_html() for get_the_date() in the element's output. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20003 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:10:53 +00:00
Andrew Nacin
7c0a450920 Add template names to theme pots. see #6007.
git-svn-id: https://develop.svn.wordpress.org/trunk@19968 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 16:37:01 +00:00
potbot
c82d0d0b72 POT, generated from r19963
git-svn-id: https://develop.svn.wordpress.org/trunk@19964 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:18:15 +00:00
Andrew Nacin
0bd00272c5 Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19963 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 14:49:38 +00:00
potbot
91e62fb960 POT, generated from r19961
git-svn-id: https://develop.svn.wordpress.org/trunk@19962 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 07:18:03 +00:00
Lance Willett
df599d08f0 Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19961 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:41:20 +00:00
Lance Willett
c3e0e18f8a Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19960 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:34:36 +00:00
Lance Willett
e8635f412d Twenty Twelve: no need to translate the footer generator URL. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19959 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:24:49 +00:00
Lance Willett
deb5f6f182 Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.


git-svn-id: https://develop.svn.wordpress.org/trunk@19958 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:14:51 +00:00
Lance Willett
5a39eb1696 Twenty Eleven and Twenty Twelve: fix incorrect end HTML comment left over from Twenty Ten.
See #19978.


git-svn-id: https://develop.svn.wordpress.org/trunk@19957 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 05:44:31 +00:00
potbot
305c67e6ac POT, generated from r19915
git-svn-id: https://develop.svn.wordpress.org/trunk@19916 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 04:17:55 +00:00
Lance Willett
a6951d77f3 Twenty Twelve template changes and fixes ... see #19978.
* Add custom header support
 * header.php: use `get_stylesheet_uri()` to load stylesheet, props Mamaduka
 * Add full-width template, including adding relevant body_class value as a CSS hook
 * Hide sidebar on all views if no active widgets exist
 * Fix site title output (was missing site title)
 * Remove "featured" title for sticky posts
 * Add content template files for aside, image, link, and quote post formats
 * Indent content-single.php to match content.php
 * Remove sample JPG since Twenty Twelve ships with no default header images

... and style updates, props drewstrojny

 * Better footer styles
 * Styling for full-width layouts
 * Add basic styles for archive views
 * Refine post header/footer styles a bit


git-svn-id: https://develop.svn.wordpress.org/trunk@19915 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 03:54:46 +00:00
Andrew Nacin
917a954113 Update POT files. Reflects a change in the makepot script to ensure consistency when files are generated. Remove duplicate header comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@19901 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 16:38:48 +00:00
Andrew Nacin
bd5c1f88e9 Move the wp_enqueue_style() to header.php. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19845 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:07:41 +00:00
Andrew Nacin
2746fd144a Freshen up the docs in functions.php. Remove is_admin() check from twentytwelve_enqueue_scripts(). Remove function_exists() wrappers from functions that are hooked in. Kill locale.php handling. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19844 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:04:56 +00:00
Andrew Nacin
7349d46c0e Synchronize archive.php docs with Twenty Eleven. Go easy on the PHP/HTML context switching. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19843 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:37:45 +00:00
Matt Mullenweg
94729a8a40 Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@19842 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:23:41 +00:00
potbot
85beeacfc7 POT, generated from r19767
git-svn-id: https://develop.svn.wordpress.org/trunk@19768 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:48:16 +00:00
potbot
2c2b4b0c07 POT, generated from r19762
git-svn-id: https://develop.svn.wordpress.org/trunk@19763 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:28:54 +00:00
Ryan Boren
2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren
63fc9195a5 Use one space, not two, after trailing punctuation. Prop Zeo. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19599 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 17:13:16 +00:00
potbot
3297d19e90 POT, generated from r19584
git-svn-id: https://develop.svn.wordpress.org/trunk@19585 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:47:15 +00:00
Ryan Boren
16c0545aa3 Back compat for twentyeleven. Props duck_. fixes #19504
git-svn-id: https://develop.svn.wordpress.org/trunk@19584 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:43:49 +00:00
potbot
f12a285154 POT, generated from r19582
git-svn-id: https://develop.svn.wordpress.org/trunk@19583 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:27:25 +00:00
Ryan Boren
02a16905eb More consistent attribute escaping. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19582 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:18:51 +00:00
potbot
a97b67ef03 POT, generated from r19580
git-svn-id: https://develop.svn.wordpress.org/trunk@19581 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:47:17 +00:00
Ryan Boren
6aeab508e9 Contextual help back compat for twentyeleven. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19580 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:31:44 +00:00
Andrew Nacin
56c34ed7b2 Give a min-height to posts of the status post format in Twenty Eleven. props devinreams, fixes #19325.
git-svn-id: https://develop.svn.wordpress.org/trunk@19543 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 17:22:46 +00:00
potbot
07dd43aad2 POT, generated from r19538
git-svn-id: https://develop.svn.wordpress.org/trunk@19539 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 04:48:00 +00:00
Andrew Nacin
030e0764b5 Standardize some final help strings. We're done, aside from typos. props zeo, jane, duck_, fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19538 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 04:31:01 +00:00
potbot
0a3517a96a POT, generated from r19505
git-svn-id: https://develop.svn.wordpress.org/trunk@19506 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:47:08 +00:00
Andrew Nacin
ce22f02ff7 Switch to 'Overview' for Twenty Eleven. Use the theme's textdomain. props SergeyBiryukov, see [19493], #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19502 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:33:09 +00:00
potbot
18ffbf0f7d POT, generated from r19379
git-svn-id: https://develop.svn.wordpress.org/trunk@19380 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 16:47:34 +00:00
Peter Westwood
2e8ea2cdab TwentyEleven: Always call the loop properly in all template files rather than just calling the_post(). Fixes #18794 props mfields.
git-svn-id: https://develop.svn.wordpress.org/trunk@19379 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 16:20:49 +00:00
potbot
9a87bf6753 POT, generated from r19376
git-svn-id: https://develop.svn.wordpress.org/trunk@19378 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:47:49 +00:00
Peter Westwood
5ca42be36c TwentyEleven: Improve RTL css to better match LTR experience. Fixes #18911 props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19377 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:47:48 +00:00
Andrew Nacin
74567278af Revert other stuffs from [19374].
git-svn-id: https://develop.svn.wordpress.org/trunk@19376 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:43:57 +00:00
Peter Westwood
c322df0e46 TwentyEleven: Standardise on "Leave a reply". Fixes #18156 props SergeyBiryukov and pavelevap.
git-svn-id: https://develop.svn.wordpress.org/trunk@19375 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:40:13 +00:00
Andrew Nacin
7c181a42bf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: https://develop.svn.wordpress.org/trunk@19374 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:35:57 +00:00