Commit Graph

158 Commits

Author SHA1 Message Date
Andrew Nacin
6b27776490 Twenty Eleven: Properly handle the default link color for the dark theme. props dcowgill for the patch refresh. fixes #17351.
git-svn-id: https://develop.svn.wordpress.org/trunk@18198 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 17:39:12 +00:00
potbot
15f0c9a2f0 POT, generated from r18190
git-svn-id: https://develop.svn.wordpress.org/trunk@18191 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 14:29:39 +00:00
Ian Stewart
08e9fd3fac Twenty Eleven: reset content margins for 404
git-svn-id: https://develop.svn.wordpress.org/trunk@18190 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 02:15:56 +00:00
Andrew Ozz
0ea87b527d Implement rel="author" in Twenty Eleven and Twenty Ten, props joostdevalk, fixes #17722
git-svn-id: https://develop.svn.wordpress.org/trunk@18189 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 02:02:09 +00:00
Ian Stewart
9d14e8d969 Twenty Eleven: submenu line-height was too cramped; Props mitchoyoshitaka; Fixes #17695
git-svn-id: https://develop.svn.wordpress.org/trunk@18188 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 01:55:48 +00:00
Ian Stewart
c079d224e7 Twenty Eleven: prevent notices in taxonomy archives using custom post types; Props mfields; Fixes #17566
git-svn-id: https://develop.svn.wordpress.org/trunk@18186 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 01:30:18 +00:00
Ian Stewart
c7fa3ddaba Twenty Eleven: make sure all user-added images are fluid with auto height correction only on images that WordPress adds attributes to
git-svn-id: https://develop.svn.wordpress.org/trunk@18184 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 23:29:06 +00:00
Ian Stewart
29673fa970 Twenty Eleven: restore max-width for full-size images
git-svn-id: https://develop.svn.wordpress.org/trunk@18183 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 22:36:16 +00:00
Ian Stewart
7f333ad540 Twenty Eleven: updating editor styles to match main stylesheet
git-svn-id: https://develop.svn.wordpress.org/trunk@18182 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 21:45:34 +00:00
Ian Stewart
5830f73e7d Twenty Eleven: miscellaneous bug fixes and improvements
* Only style images uploaded to the WordPress media library with border styles (and not placeholder images for content added by plugins)
* Prevent content added by plugins and long custom excerpts from overflowing the featured post slider
* Make sure small thumbnails will never appear in the Custom Header area
* Better indicate the current featured post with custom link color and cursor
* Add a class for text-only featured posts
* Style improvements for small screens


git-svn-id: https://develop.svn.wordpress.org/trunk@18181 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 21:28:56 +00:00
potbot
6025531032 POT, generated from r18176
git-svn-id: https://develop.svn.wordpress.org/trunk@18177 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 10:46:31 +00:00
Ian Stewart
71a2b33796 Twenty Eleven: we need to be really specific about resetting the layout for smaller screen sizes
git-svn-id: https://develop.svn.wordpress.org/trunk@18175 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 00:40:33 +00:00
Andrew Nacin
56a3ed4539 Use correct textdomain. props knutsp, fixes #17712.
git-svn-id: https://develop.svn.wordpress.org/trunk@18174 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 00:08:01 +00:00
Ian Stewart
f12b34ea48 Twenty Eleven: make sure the featured post title link is visible in the dark color scheme
git-svn-id: https://develop.svn.wordpress.org/trunk@18172 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 21:33:12 +00:00
Ian Stewart
809cdf944d Twenty Eleven: visual fixes
* Prevent the sidebar-content layout from breaking singular post and page views
* Prevent smileys from inheriting borders and padding


git-svn-id: https://develop.svn.wordpress.org/trunk@18171 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 19:41:25 +00:00
Ian Stewart
13286b28ad Twenty Eleven: correct layout bug with showcase template and alt layout option; Props ocean90; Fixes #17415
git-svn-id: https://develop.svn.wordpress.org/trunk@18168 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:58:16 +00:00
Ian Stewart
d87c00948b Twenty Eleven: focus styles for sidebar links; Fixes #17410
git-svn-id: https://develop.svn.wordpress.org/trunk@18167 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:46:40 +00:00
Ian Stewart
7ef9c84f9a Twenty Eleven: Add a hidden label for search forms; See #17524
git-svn-id: https://develop.svn.wordpress.org/trunk@18166 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:35:30 +00:00
Ian Stewart
d0181f27d8 Twenty Eleven: prevent stretching of full-size images reduced in size with CSS in IE8; Props rosshanney and nickbohle; Fixes #17650
git-svn-id: https://develop.svn.wordpress.org/trunk@18165 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-06 14:26:12 +00:00
Andrew Nacin
aba7c4e9ce Use default argument for get_option(). props dcowgill, westi. fixes #17686.
git-svn-id: https://develop.svn.wordpress.org/trunk@18152 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 19:53:31 +00:00
Andrew Nacin
3e27653486 Sanity check in twentyeleven_get_theme_options() -- if the option doesn't exist, return the default options instead. We already instantiate the option on admin_init. fixes #17686.
git-svn-id: https://develop.svn.wordpress.org/trunk@18141 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 22:05:29 +00:00
Ian Stewart
7840df6b57 Twenty Eleven: correct typos in PHP comments
git-svn-id: https://develop.svn.wordpress.org/trunk@18140 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 15:54:47 +00:00
Ian Stewart
7ded48ef83 Twenty Eleven: restore Image Post margin resetting
git-svn-id: https://develop.svn.wordpress.org/trunk@18139 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 15:49:32 +00:00
Ryan Boren
e1e318b9ff Check result of add_theme_page(). Return if false. Props greuben. fixes #17677
git-svn-id: https://develop.svn.wordpress.org/trunk@18135 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 22:37:13 +00:00
Ian Stewart
954c298392 Twenty Eleven: style 4-column galleries -- Props mfields -- and remove unneeded !important rules; Fixes #17564
git-svn-id: https://develop.svn.wordpress.org/trunk@18134 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:38:47 +00:00
potbot
8aa54bec5f POT, generated from r18132
git-svn-id: https://develop.svn.wordpress.org/trunk@18133 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:29:23 +00:00
Ian Stewart
331588a441 Twenty Eleven: Add border styles to images so we can better style linked images on :focus; includes updates to editor styles and improvements to Image Post styles; See #17524
git-svn-id: https://develop.svn.wordpress.org/trunk@18132 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:11:41 +00:00
Ian Stewart
ef01a94b3f Twenty Eleven: show expected formatting for em, strong, and a in editor styles; Props greuben; Fixes #17417
git-svn-id: https://develop.svn.wordpress.org/trunk@18127 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 14:33:11 +00:00
Ryan Boren
f786d16ed3 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: https://develop.svn.wordpress.org/trunk@18125 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:19:58 +00:00
Ryan Boren
0c893945ba Retain screen-reader-text for pages shown in the admin. see #17524
git-svn-id: https://develop.svn.wordpress.org/trunk@18123 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:59:11 +00:00
Ian Stewart
68ed6937db Twenty Eleven: editor-style should have max-width; Props bi0xid; Fixes #17393 #17649; See #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18121 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:03:50 +00:00
Ian Stewart
e6a591e5a8 Twenty Eleven: accessibility improvements and minor style fixes for galleries; See #17524
* Improved color contrast for light and dark color schemes
* Skip link for skipping directly to sidebar content
* Skip links visible on :focus
* Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text
* Focus styles for password inputs (and a minor style fix)


git-svn-id: https://develop.svn.wordpress.org/trunk@18117 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 19:30:07 +00:00
Ryan Boren
b41246fa30 Contextual help for twentyeleven's theme options screen. Props sbressler, dougwrites, jane. fixes #17357
git-svn-id: https://develop.svn.wordpress.org/trunk@18101 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:28:42 +00:00
Ian Stewart
8077ca5c00 Twenty Eleven: Style the comments off message in the Ephemera widget; Props knutsp; Fixes #17583
git-svn-id: https://develop.svn.wordpress.org/trunk@18099 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 18:36:22 +00:00
Ian Stewart
2ce443d5c9 Twenty Eleven: Correct the broken 404 layout; Fixes #17606
git-svn-id: https://develop.svn.wordpress.org/trunk@18077 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 21:46:36 +00:00
Ian Stewart
f313a881e8 Twenty Eleven: bug fixes and enhancements ...
* Improvements to the dark color scheme; Props matveb
* Remove link colors from the dark color scheme and let the default link color cascade
* Check for multiple authors before showing author information on single posts
* Remove the span before the edit link on the image template
* Add a comment icon; Props hugobaeta
* Replace the default reply text with an icon to prevent i18n issues with the design; Props matveb
* Don't output sidebar on the no sidebar layout
* Use the search form styling from the header for all search forms
* Style fixes for no search results page
* Fixes for fancy blockquote styles
* Style fixes for the showcase slider
* Margin for galleries
* Only showing the top post navigation on paged results
* Remove floats from images for the smallest screen sizes


git-svn-id: https://develop.svn.wordpress.org/trunk@18072 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 01:29:55 +00:00
potbot
27273e2b1f POT, generated from r18060
git-svn-id: https://develop.svn.wordpress.org/trunk@18061 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-27 03:29:06 +00:00
Ian Stewart
4beb8573c1 Twenty Eleven: Improvements to the responsive layout
git-svn-id: https://develop.svn.wordpress.org/trunk@18060 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-27 01:04:05 +00:00
Ian Stewart
e606e90f44 Twenty Eleven: Add the Ephemera title to the theme textdomain; Props knutsp; Fixes #17572
git-svn-id: https://develop.svn.wordpress.org/trunk@18059 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 20:50:53 +00:00
Ian Stewart
dcee686373 Twenty Eleven: Show tag descriptions on tag archive pages if they exist; Props zeo; Fixes #17438
git-svn-id: https://develop.svn.wordpress.org/trunk@18058 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 19:10:30 +00:00
Ian Stewart
064786d47c Twenty Eleven: focus styles for all links; Fixes #17410
git-svn-id: https://develop.svn.wordpress.org/trunk@18057 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-26 18:41:35 +00:00
Ian Stewart
7d65cc5e09 Twenty Eleven: Style fixes and showcase improvements; Props matveb
* Remove bottom border from last post
* Improve featured posts on the showcase: move slider navigation to the top right; make sure the bottom border shows; make the reading more link thicker
* Positioning fix for image post format meta
* Dark stylesheet improvements
* Ensure search input text is centred vertically


git-svn-id: https://develop.svn.wordpress.org/trunk@18050 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 21:19:52 +00:00
Ian Stewart
75e4ab2cae Twenty Eleven: make sure title-less widgets don't float into content for small screens; Props devinreams; Fixes #17423
git-svn-id: https://develop.svn.wordpress.org/trunk@18048 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 20:24:21 +00:00
Ian Stewart
8d75a9a12c Twenty Eleven: correct syntax for CSS transition property; Props Jayjdk; Fixes #17426
git-svn-id: https://develop.svn.wordpress.org/trunk@18046 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 19:36:32 +00:00
Ian Stewart
66f5e4bb1c Twenty Eleven: prevent overflow on the pre element; Props devinreams; Fixes #17432
git-svn-id: https://develop.svn.wordpress.org/trunk@18042 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:46:19 +00:00
Ian Stewart
2633e960d0 Twenty Eleven: Fix a typo in PHPdoc; Props tenpura; Fixes #17434
git-svn-id: https://develop.svn.wordpress.org/trunk@18040 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:18:23 +00:00
Ian Stewart
0b8804ef6e Twenty Eleven: consistent styles for .nopassword and .nocomments; Props zeo; Fixes #17437
git-svn-id: https://develop.svn.wordpress.org/trunk@18039 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:13:02 +00:00
Ian Stewart
c28266caae Twenty Eleven: better visibility for comment form text in the dark color scheme; Props greuben; Fixes #17468
git-svn-id: https://develop.svn.wordpress.org/trunk@18037 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:28:51 +00:00
Ian Stewart
b01f5d1b74 Twenty Eleven: correcting mis-floated sidebar in IE9 on the showcase page; Props rosshanney; Fixes #17486
git-svn-id: https://develop.svn.wordpress.org/trunk@18033 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:55:22 +00:00
Ian Stewart
f48fe743ad Twenty Eleven: using the cite element to markup a name doesn't conform to the HTML spec; Props holizz and aaroncampbell; See #17520
git-svn-id: https://develop.svn.wordpress.org/trunk@18030 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:29:26 +00:00
Ian Stewart
2c40d3edea Twenty Eleven: make categories and tags i18n friendly; Props dimadin; Fixes #17531
git-svn-id: https://develop.svn.wordpress.org/trunk@18029 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:19:33 +00:00
Ryan Boren
ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Andrew Nacin
0aae52702f Leverage option_page_capability_* filter in Twenty Eleven. fixes #14365.
git-svn-id: https://develop.svn.wordpress.org/trunk@17987 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:32:44 +00:00
Andrew Nacin
43d52dea87 echo. props ocean90, fixes #17535.
git-svn-id: https://develop.svn.wordpress.org/trunk@17985 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:25:42 +00:00
Andrew Nacin
afb960a480 Fix twentyeleven_url_grabber(). props duck_, see #17267.
git-svn-id: https://develop.svn.wordpress.org/trunk@17968 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 08:31:01 +00:00
Andrew Nacin
5c6a5a0045 Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444.
git-svn-id: https://develop.svn.wordpress.org/trunk@17959 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 19:06:09 +00:00
Andrew Nacin
b929276a81 s/twentyten/twentyeleven/. props zeo, fixes #17493.
git-svn-id: https://develop.svn.wordpress.org/trunk@17955 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:38:42 +00:00
Andrew Nacin
46c1bd35dd Update the Twenty Eleven footer. Remove 'Theme:', translate 'powered by' and add a title per Twenty Ten, add twentyeleven_credits action. props zeo for initial patch. fixes #17493.
git-svn-id: https://develop.svn.wordpress.org/trunk@17954 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:32:22 +00:00
Andrew Nacin
90a0d6cfdc the_excerpt() doesn't take an argument. props coffee2code. fixes #17489. see #13883.
git-svn-id: https://develop.svn.wordpress.org/trunk@17953 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:26:40 +00:00
potbot
f69b353866 POT, generated from r17937
git-svn-id: https://develop.svn.wordpress.org/trunk@17938 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 12:30:20 +00:00
Lance Willett
cfdfbac9e9 Twenty Eleven: run twentyeleven_url_grabber once in widgets.php, props duck_ -- closes #17279
git-svn-id: https://develop.svn.wordpress.org/trunk@17917 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 16:25:53 +00:00
Lance Willett
563f488c69 Twenty Eleven footer style fixes, props matveb
* Improve footer credits, add WordPress PNG
 * Add hover color to footer links

git-svn-id: https://develop.svn.wordpress.org/trunk@17908 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 23:13:56 +00:00
Lance Willett
d86ba78c51 Twenty Eleven: updated screenshot, props matveb
git-svn-id: https://develop.svn.wordpress.org/trunk@17906 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 18:45:43 +00:00
Lance Willett
3bda471af7 Twenty Eleven: fix changes in r17846, props nacin - see #17198
* Simplify WP_Query call to pass args directly
 * Don't use Yoda Conditions for <, >, <=, >= as they can be hard to read (ref: http://codex.wordpress.org/WordPress_Coding_Standards#Yoda_Conditions)
 * Fix typo in query args

git-svn-id: https://develop.svn.wordpress.org/trunk@17847 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 23:15:38 +00:00
Lance Willett
9554d20f7a Twenty Eleven: showcase template improvements - see #17198 (props kawauso for patches)
* Only show "featured-posts" area if there are published sticky posts.
 * If there is only one sticky, hide the slider and just display the single featured post.

git-svn-id: https://develop.svn.wordpress.org/trunk@17846 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 22:54:55 +00:00
Lance Willett
da61f07b48 Twenty Eleven fixes, props matveb - see #17198
- Add padding to the menu when the search input is in menu bar
- Improve search input behavior when located in menu bar (also props ocean90)
- i18n for post formats headings (also props nickbohle)
- Small style fix for images

git-svn-id: https://develop.svn.wordpress.org/trunk@17845 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 22:08:05 +00:00
Lance Willett
e19b314639 Twenty Eleven: adding RTL editor styles and tighter header height - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17830 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 00:31:27 +00:00
Ian Stewart
42239aa382 Twenty Eleven: correct typo in inline documentation props markmcwilliams; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17819 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 17:58:41 +00:00
Ian Stewart
fa73730d37 Twenty Eleven: first pass at visual editor styles with RTL editor styles to come; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17816 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 22:46:37 +00:00
potbot
279df65037 POT, generated from r17808
git-svn-id: https://develop.svn.wordpress.org/trunk@17809 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 17:29:17 +00:00
Lance Willett
b5ad7c99ae Twenty Eleven: update description and tag list - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17803 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 23:26:18 +00:00
Lance Willett
21c7b3c8d3 Twenty Eleven updates and fixes, see #17198
* Add explanatory comments in all templates, following Twenty Ten's example
 * Stick with twentyeleven_ for prefixing filter names
 * Use post format content templates in search results
 * First pass at adding a template for adding a sidebar to pages
 * Add a featured post header to standard sticky posts
 * Style fixes: print media, comment styles for pages with sidebars, color of meta links on image post format

git-svn-id: https://develop.svn.wordpress.org/trunk@17802 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 22:54:50 +00:00
potbot
74a7f268ba POT, generated from r17791
git-svn-id: https://develop.svn.wordpress.org/trunk@17792 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 09:58:41 +00:00
Lance Willett
2681c5dee8 Twenty Eleven fixes - see #17198
* RTL tweaks and fixes
* Misc style fixes
* Fix tags output, comment links, and remove trailing spaces from translatable strings


git-svn-id: https://develop.svn.wordpress.org/trunk@17791 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 00:45:50 +00:00
Lance Willett
177f91d76e Twenty Eleven: style improvements, RTL, and more header images - see #17198
* Add two more default header images (see r17729)
* Change the featured posts limit from 4 to ten in front page slider
* First pass at robust RTL styles
* Pingback style fixes
* Wider comment form for the one column layout
* Add CSS comment with instructions on how to remove the post format headings


git-svn-id: https://develop.svn.wordpress.org/trunk@17790 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-03 20:16:34 +00:00
Ian Stewart
0d5c2bd393 Twenty Eleven: Post Format headings and CSS cleanup; See #17198 props matveb
git-svn-id: https://develop.svn.wordpress.org/trunk@17788 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 21:11:32 +00:00
Ian Stewart
9af6ba3236 Twenty Eleven: updated DocBlock comments following Twenty Ten's example; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17787 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 21:04:44 +00:00
Lance Willett
23490246d8 Twenty Eleven: introduce image post format and miscellaneous style fixes, props matveb and iandstewart - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17776 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 22:33:04 +00:00
Lance Willett
23113b69bc Twenty Eleven: improve calls to get_header_image() - see #17240 and #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17775 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 22:22:19 +00:00
Ian Stewart
a2e6825307 Twenty Eleven: Simplified post author highlighting and comment arrow images for the dark color scheme comments; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17772 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 21:00:06 +00:00
Lance Willett
9f5ed64d81 Twenty Eleven: style.css cleanup and Showcase template improvements, props matveb - see #17198
* Add full support for the featured slider powered by JS (except auto-slide)
 * Change the title hover state of large stickies to white
 * Prevent plain text posts from being displayed transparently over images
 * Update slider featured image size to 500x300
 * Add comment blocks to showcase.php

git-svn-id: https://develop.svn.wordpress.org/trunk@17761 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 00:19:02 +00:00
Lance Willett
4a4c691ebb Twenty Eleven: update background color of comment arrows so they're visible, props iandstewart - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17760 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 00:11:10 +00:00
Andrew Nacin
d23b2f19f5 Escape urls in the Epherma widget. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17759 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 23:59:08 +00:00
Ian Stewart
964d12362a Twenty Eleven: First pass at dark color scheme w/ simplification of borders above and below the menu; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17756 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 22:15:36 +00:00
Ian Stewart
11ceee4a24 Twenty Eleven: make sure that link color options set in theme-options.php will override showcase.php recent posts and ephemera widget link colors; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17755 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 22:04:39 +00:00
Lance Willett
7e151d5953 Twenty Eleven: theme options - see #17198
* Make color swatch clickable to open palette
 * Change color picker link to a submit button to match existing UI

git-svn-id: https://develop.svn.wordpress.org/trunk@17754 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 19:01:51 +00:00
Ian Stewart
0f642fc528 Twenty Eleven: First pass at styles to support the theme option for alternate layouts; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17752 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 18:14:48 +00:00
Andrew Nacin
81755c790e Rename twentyeleven_color_schemes hook to twentyeleven_enqueue_color_scheme, so its purpose is clear. Also rename twentyeleven_color_styles() to twentyeleven_enqueue_color_scheme(), and twentyeleven_link_color() (which sounds like a getter) to twentyeleven_print_link_color_style(). Some tidying in twentyeleven_layout_classes(). see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17740 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 11:05:53 +00:00
Andrew Nacin
0c6ee1dca4 More Twenty Eleven cleanup and add the comment-awaiting-moderation class. see #17198. see #15206 for history on the CSS class.
git-svn-id: https://develop.svn.wordpress.org/trunk@17739 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 10:13:38 +00:00
Andrew Nacin
f8a460675c In Twenty Eleven: Register the widget from functions.php. Kill create_function. Attach twentyeleven_widgets_init() to widgets_init, rather than init. Eliminate use of the $post global in the widget. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17738 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:47:30 +00:00
Andrew Nacin
45677c6e26 Twenty Eleven: Fix up the color picker JS. Use a separate color swatch rather than the input background. While cool, it doesn't have suffficient contrast. Also set farbtastic as a JS dependency. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17737 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:32:34 +00:00
Andrew Nacin
fbd8700da1 Move files in inc/theme-options up one level. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17735 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:59:42 +00:00
Andrew Nacin
e4f3593e5d Twenty Eleven:
* Use add_option(), rather than get_option() with defaults, to prevent notoption queries.
 * Add twentyeleven_theme_options_validate filter, that way one doesn't need to add a filter to sanitize_option_\$option to allow more options in.
 * Some inline doc modifications and additions.
see #17198.



git-svn-id: https://develop.svn.wordpress.org/trunk@17734 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:52:37 +00:00
Andrew Nacin
7b1ee2dd6f Rewrite of Twenty Eleven theme-options.php. Including:
* Full inline documentation.
 * Enqueue scripts/styles on admin_enqueue_scripts and use hook_suffix rather than GET[page]
 * Add filters to twentyeleven_color_schemes(), twentyeleven_layouts(), which necessitates adding a thumbnail URL value here, rather than generating them in the form.
 * Add a twentyeleven_default_theme_options filter.
 * Remove manual check for REQUEST[settings-updated], instead using settings_errors(), since we're using options.php.
 * Abstract out the default link color, rather than hardcoding it in certain places.
 * Use checked().
 * Rename some variables and functions for clarity.
 * Remove unnecessary functions twentyeleven_current_layout() and twentyeleven_current_color_scheme(), as we already have twentyeleven_get_theme_options().
 * Add a twentyeleven_color_schemes action to allow for enqueueing custom color schemes.
 * Add a twentyeleven_layout_classes filter, to allow filtering what gets sent back to body_class().
 * Hook into wp_enqueue_scripts rather than wp_print_styles for enqueueing the color stylesheet.
 * Rewrite the register_setting() callback to start from scratch with an empty array. Improve the link_color logic.
 * Use submit_button().
 * Use esc_attr() rather than esc_attr_e() for non-translations.

TODO:
 * Implement settings sections/fields logic to allow extension of the options page.
 * Consider re-doing this in a class. It'll be cleaner.
 * Store a DB version so we can do an add_option(), rather than calling get_option() with defaults.

see #17198.



git-svn-id: https://develop.svn.wordpress.org/trunk@17733 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:06:57 +00:00
Lance Willett
e2a1502510 Twenty Eleven: theme options - see #17198
* First pass at Link Color CSS rules
 * Add new function to return default values
 * Implement better validation for hex color value
 * Fix missing esc_attr()

git-svn-id: https://develop.svn.wordpress.org/trunk@17732 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 23:03:27 +00:00
Lance Willett
311e42024c Twenty Eleven: add first batch of new header images, courtesy of the immeasurable photomatt archives - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17729 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:44:09 +00:00
Ian Stewart
5ff6ec04cb Twenty Eleven: first pass at print styles; See ##17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17726 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:03:58 +00:00
Lance Willett
fa229e3871 Twenty Eleven: fix spacing and add a few missing esc_attr() calls in widgets.php - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17723 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 04:45:11 +00:00
Lance Willett
785060ffe1 Twenty Eleven: set default case for switch statement in the twentyeleven_comment(), props greenshady - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17722 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 04:38:36 +00:00
Ian Stewart
b6894e1703 Twenty Eleven: functions.php cleanup and introduction of theme options; see #17198
* Cleanup functions.php, adding comments and function_exists() checks following Twenty Ten's example
* Theme option for choosing an alternate (dark) color scheme. It currently only loads a placeholder CSS file with dark styles to follow.
* Theme option for selecting a link color that loads an internal style block for resetting link colors. An updated style.css will follow to take advantage of this.
* Theme options for selecting an alternate layout. Adds a class to the body element. An updated style.css will follow to take advantage of this.


git-svn-id: https://develop.svn.wordpress.org/trunk@17721 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 22:52:18 +00:00