Commit Graph

346 Commits

Author SHA1 Message Date
lancewillett
8b283073d0 Twenty Twelve: remove unneeded filter (props nacin) and fix up PHP comment blocks in custom-header.php file for s/@package/@since/ on individual functions. See #21231.
git-svn-id: http://core.svn.wordpress.org/trunk@21329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:30:19 +00:00
lancewillett
cb4f0bf507 Twenty Twelve: remove back compat for custom header image, installs prior to 3.4 will not see it as an option. Props obenland, closes #21231.
git-svn-id: http://core.svn.wordpress.org/trunk@21328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 17:12:40 +00:00
lancewillett
80a592d548 Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:51:23 +00:00
lancewillett
d7ba9b6944 Twenty Twelve: add explanatory notes to top of style.css for the use of rem and pixel units for font-size and line-height values, props drewstrojny. See #21379.
git-svn-id: http://core.svn.wordpress.org/trunk@21326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:46:21 +00:00
lancewillett
f42eabe82b Twenty Twelve: set gray background as default, handling empty and white as fallback cases. See #21226.
Also fix incorrect logic for full-width-page.php page template check in `twentytwelve_body_class` function.


git-svn-id: http://core.svn.wordpress.org/trunk@21325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-25 16:28:50 +00:00
lancewillett
d74e83ec52 Twenty Twelve: update theme options file to use PHP5 constructor and visibility keywords, and also minor DocBlock cleanup. Props Mamaduka and obenland, closes #21297.
git-svn-id: http://core.svn.wordpress.org/trunk@21280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:41:17 +00:00
lancewillett
9582854122 Twenty Twelve: Update full-width handling with a missing CSS selector, and add case of no sidebar to the content_width calculation. Props obenland, fixes #21254.
git-svn-id: http://core.svn.wordpress.org/trunk@21279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:13:49 +00:00
lancewillett
adb3791ab8 Twenty Twelve: minor comment text fix, props griffinjt. Closes #21291.
git-svn-id: http://core.svn.wordpress.org/trunk@21278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:06:18 +00:00
lancewillett
b3a3ab5977 Twenty Twelve: add styles for common HTML elements in comment content, and also style up password protected form. Props drewstrojny, fixes #21242.
git-svn-id: http://core.svn.wordpress.org/trunk@21277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 18:03:38 +00:00
lancewillett
0e8c8fb1e3 Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 17:07:15 +00:00
lancewillett
a7221773c5 Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230.
git-svn-id: http://core.svn.wordpress.org/trunk@21275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 16:26:40 +00:00
lancewillett
bba762d76c Twenty Twelve: remove tag_description and category_description filters from archive template in favor of core filters. Fixes #21230.
git-svn-id: http://core.svn.wordpress.org/trunk@21268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:36:27 +00:00
lancewillett
85f7094ce6 Twenty Twelve: change content_width variable to the correct value, matching the width of the main content container. Fixes #21248.
git-svn-id: http://core.svn.wordpress.org/trunk@21267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:27:29 +00:00
lancewillett
ff55b09c92 Twenty Twelve: update search title styling to be consistent with archive title styling. Fixes #21239, props saltcod.
git-svn-id: http://core.svn.wordpress.org/trunk@21265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:17:05 +00:00
lancewillett
bf1f57085e Twenty Twelve: improve screen-reader-text handling (aka assistive-text) to use text hiding technique more friendly for RTL.
Also remove a duplicate CSS declaration as the same selector exists below in the file.


git-svn-id: http://core.svn.wordpress.org/trunk@21264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:08:52 +00:00
lancewillett
fde992b32f Twenty Twelve: show sticky badge only on non-paged home view. Fixes #21238, props DrewAPicture and obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 23:53:27 +00:00
lancewillett
f7cf67d3f0 Twenty Twelve: fix @package documentation, props obenland. Fixes #21232.
git-svn-id: http://core.svn.wordpress.org/trunk@21262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 23:28:33 +00:00
nacin
741876a148 The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.

also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.

see #19978.



git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 04:20:46 +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
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