Commit Graph

883 Commits

Author SHA1 Message Date
nacin
d0eb7ef75e Twenty Eleven: pull classes shouldn't force a width on all elements (like images). props matveb. fixes #20485.
git-svn-id: http://core.svn.wordpress.org/trunk@20881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 18:05:36 +00:00
potbot
400c0fdabe POT, generated from r20875
git-svn-id: http://core.svn.wordpress.org/trunk@20876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 08:18:26 +00:00
markjaquith
5a1279320a Remove some dead add_option() code in Twenty Eleven. props Mamaduka, emhr. fixes #19743
git-svn-id: http://core.svn.wordpress.org/trunk@20875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:38:13 +00:00
markjaquith
94dcf629f2 Fix orphaned arrow on Twenty Eleven's paged post navigation. props mfields. fixes #19526
git-svn-id: http://core.svn.wordpress.org/trunk@20870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:04:34 +00:00
potbot
1ae7ecb2e2 POT, generated from r20510
git-svn-id: http://svn.automattic.com/wordpress/trunk@20511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 18:18:06 +00:00
nacin
00ab660e01 Check for wp_get_theme() in Twenty Eleven before using it, for compatibility down to WP 3.2 when Twenty Eleven was first released. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 17:32:53 +00:00
potbot
aff39254b3 POT, generated from r20474
git-svn-id: http://svn.automattic.com/wordpress/trunk@20475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 21:17:55 +00:00
nacin
fa631702a6 Flexible heights for Twenty Ten's custom headers. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 20:51:24 +00:00
nacin
0393394451 Twenty Ten: Remove $locale.php file support. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 20:46:09 +00:00
potbot
b71f614c5e POT, generated from r20471
git-svn-id: http://svn.automattic.com/wordpress/trunk@20472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 20:18:07 +00:00
nacin
15cd25406d Twenty Eleven: Remove $locale.php file support. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 19:53:47 +00:00
nacin
759f103994 Flexible heights for Twenty Eleven's custom headers. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 19:53:10 +00:00
duck_
4523ec1333 Fix typo and terminology in Twenty Eleven's header template. Props JarretC. Fixes #20442.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-14 19:02:04 +00:00
nacin
359ed454b7 Callbacks for custom headers and custom backgrounds registered through add_theme_support() are now wp-head-callback, admin-head-callback, and admin-preview-callback. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 03:36:17 +00:00
potbot
fab76c6333 POT, generated from r20226
git-svn-id: http://svn.automattic.com/wordpress/trunk@20228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 22:16:13 +00:00
potbot
b61ad29d1e POT, generated from r20226
git-svn-id: http://svn.automattic.com/wordpress/trunk@20227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 22:16:07 +00:00
nacin
cd229781b3 Remove unused variable. see #20265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:38:22 +00:00
nacin
1a265e464c Move Twenty Ten and the rest of Twenty Eleven to add_theme_support() for headers and backgrounds. props sabreuse for initial patch. fixes #20265. see #20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:32:42 +00:00
potbot
0d68c107ad POT, generated from r20223
git-svn-id: http://svn.automattic.com/wordpress/trunk@20224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:17:55 +00:00
nacin
e708aa28b2 Remove use of HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT from twentyeleven/header.php. see #20265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 20:46:46 +00:00
nacin
2b4051299e Update twentyeleven/functions.php to use the new add_theme_support() calls for backgrounds and headers. props sabreuse for initial patch. see #20265. see #20249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 20:37:53 +00:00
nacin
edb6c96b9f Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 18:41:54 +00:00
nacin
bf97881f98 (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: http://svn.automattic.com/wordpress/trunk@20039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 19:27:54 +00:00
lancewillett
e3813d7b68 Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 19:17:04 +00:00
potbot
bda5b1f83f POT, generated from r20011
git-svn-id: http://svn.automattic.com/wordpress/trunk@20012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 06:18:04 +00:00
lancewillett
5750c6d41b Twenty Twelve: remove an unneeded, presentational class value, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 05:28:08 +00:00
lancewillett
240242aa06 Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 05:24:57 +00:00
lancewillett
146e6e6b8a Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 05:19:50 +00:00
potbot
4edc515677 POT, generated from r20007
git-svn-id: http://svn.automattic.com/wordpress/trunk@20008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 04:17:41 +00:00
lancewillett
a044beab6a 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: http://svn.automattic.com/wordpress/trunk@20007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:59:47 +00:00
lancewillett
9a4874ec7a 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: http://svn.automattic.com/wordpress/trunk@20006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:48:34 +00:00
potbot
fb5a582539 POT, generated from r20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@20005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:17:50 +00:00
lancewillett
9f74f12084 Twenty Twelve: remove test lines from r20003
git-svn-id: http://svn.automattic.com/wordpress/trunk@20004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:14:00 +00:00
lancewillett
9a3c274cb9 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: http://svn.automattic.com/wordpress/trunk@20003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:10:53 +00:00
nacin
55f0de0cc4 Add template names to theme pots. see #6007.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 16:37:01 +00:00
potbot
8fee574c32 POT, generated from r19963
git-svn-id: http://svn.automattic.com/wordpress/trunk@19964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 15:18:15 +00:00
nacin
62afe6a915 Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 14:49:38 +00:00
potbot
fa9a91f134 POT, generated from r19961
git-svn-id: http://svn.automattic.com/wordpress/trunk@19962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 07:18:03 +00:00
lancewillett
83c7b1ef00 Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:41:20 +00:00
lancewillett
02ea26c01f Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:34:36 +00:00
lancewillett
a78b34752a Twenty Twelve: no need to translate the footer generator URL. See #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:24:49 +00:00
lancewillett
285fd9bc55 Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:14:51 +00:00
lancewillett
0188837271 Twenty Eleven and Twenty Twelve: fix incorrect end HTML comment left over from Twenty Ten.
See #19978.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 05:44:31 +00:00
potbot
d3da3ab998 POT, generated from r19915
git-svn-id: http://svn.automattic.com/wordpress/trunk@19916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 04:17:55 +00:00
lancewillett
ed2548bb22 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: http://svn.automattic.com/wordpress/trunk@19915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 03:54:46 +00:00
nacin
6e0d0091f4 Update POT files. Reflects a change in the makepot script to ensure consistency when files are generated. Remove duplicate header comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-10 16:38:48 +00:00
nacin
280b9db44f Move the wp_enqueue_style() to header.php. see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 23:07:41 +00:00
nacin
afb9a77ce1 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: http://svn.automattic.com/wordpress/trunk@19844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 23:04:56 +00:00
nacin
5267fef339 Synchronize archive.php docs with Twenty Eleven. Go easy on the PHP/HTML context switching. see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 22:37:45 +00:00
matt
a577a1faf8 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: http://svn.automattic.com/wordpress/trunk@19842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 22:23:41 +00:00