Commit Graph

63 Commits

Author SHA1 Message Date
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