Michael Fields
6eb6c34820
Remove current_user_can() check from index.php. A similar conditional now exists in no-results.php.
2012-10-06 16:27:56 -07:00
Michael Fields
b235c5a3e8
Merge branch 'master' of https://github.com/mjangda/_s into mjangda-master
2012-10-06 15:59:23 -07:00
Michael Fields
4d63631ecd
Merge pull request #83 from kovshenin/patch-12
...
Rename translations to languages, see #73 and #50
2012-10-06 15:54:03 -07:00
Hugo Baeta
a90489351a
Update README.md
...
Edited some typos and improved some phrases.
2012-10-05 17:44:52 -07:00
pixolin
13efab7ac6
Corrected two typos
...
"don't" with ' should be more correct than &rsquot; (or is it better to escape it \' ?)
I personally find the line * translators: %1$s: smiley */ pretty confusing, but at least it should be singular (not smilies)
2012-09-18 11:48:12 +03:00
Konstantin Kovshenin
5ed2437705
Rename translations to languages, see #73 and #50
2012-09-17 12:07:40 +04:00
Konstantin Kovshenin
3517c7a36b
Use a filter for wp_title instead of hard-coding things in header.php
2012-09-14 20:49:06 +04:00
Konstantin Kovshenin
b01b14a467
Renaming inc/tweaks.php to inc/extras.php and including by default in functions.php
2012-09-14 20:43:20 +04:00
Ian Stewart
0b8fc2e601
Merge pull request #71 from philiparthurmoore/bugs/patch-1
...
Add 'site-navigation' class to image.php's image navigation container
2012-09-13 18:21:44 -07:00
Ian Stewart
cbff04e6f0
Merge pull request #67 from kovshenin/patch-9
...
Fix default layouts broken by 752d08a
2012-09-13 18:20:53 -07:00
Ian Stewart
01203f73e7
Merge pull request #75 from ashfame/readme_git_style
...
Changed readme.txt into README.md for better readability on Github
2012-09-13 18:18:47 -07:00
Ian Stewart
11769b8bd7
Merge pull request #39 from hugobaeta/master
...
Simpler styles for default reset buttons and an updated readme.txt props @hugobaeta
2012-09-13 17:37:22 -07:00
Ian Stewart
46f6a664a9
Merge pull request #38 from kovshenin/patch-6
...
Don't print markup in _s_content_nav() when it is not needed. Fixes #28 . props @kovshenin
2012-09-13 17:28:40 -07:00
Ian Stewart
5746881ac4
Merge pull request #73 from kovshenin/patch-10
...
Add a languages directory and a readme file to help get started with translations
2012-09-13 12:26:01 -07:00
Ashfame
1b1493f4f0
changed readme.txt into README.md for better readability on Github
2012-09-10 00:54:23 +05:30
Konstantin Kovshenin
1be531df93
Add a languages directory and a readme file to help get started with translations. props @pixolin
2012-09-05 21:45:15 +04:00
Philip Arthur Moore
3833150b44
_s: Add 'site-navigation' class to image.php's image navigation container.
2012-09-04 19:05:25 -04:00
Konstantin Kovshenin
3b013b5264
Layouts were broken by 752d08afd7
. This commit fixes the layouts according to the new naming conventions.
2012-09-04 11:34:27 +04:00
Konstantin Kovshenin
22e1613bde
Replace small-menu.js with navigation.js inspired by Twenty Twelve.
...
Doesn't use jQuery, slightly easier to understand, uses a media query for max-width, rather than JS events making it faster to respond.
2012-09-03 21:45:28 +04:00
Mohammad Jangda
f00245be92
Only show publish promo to users that can publish
...
In our no-results template, there's no point in displaying a "publish your first post" promo to users that don't have the ability to publish posts since they can't act on it.
2012-08-31 17:43:21 -03:00
Michael Fields
7fef5cd2ec
Merge pull request #64 from kovshenin/patch-7
...
Revert "Merge pull request #36 from kovshenin/patch-5" This will better match core practices for default themes as well as restore functionality of the 'the_author' filter. props @kovshenin
2012-08-30 23:20:20 -07:00
Konstantin Kovshenin
461976d48c
Revert "Merge pull request #36 from kovshenin/patch-5"
...
This reverts commit 800b9ebcd1
, reversing
changes made to ce4bef6129
.
2012-08-31 08:54:22 +04:00
Michael Fields
2bfb5ef953
Merge pull request #63 from hugobaeta/readme
...
Include a reference to the _s generator at http://underscores.me in readme.txt. props @hugobaeta
2012-08-29 22:40:25 -07:00
Michael Fields
6a8d92661a
Merge pull request #61 from obenland/sidebar-quotes
...
s/double/single quotes in register_sidebar args array. props @obenland
2012-08-29 22:37:34 -07:00
Hugo Baeta
a266b8151a
Edited readme.txt to include a reference to the _s generator at http://underscores.me
2012-08-29 17:25:11 -07:00
Hugo Baeta
d88bf2aa3f
Updated read me.txt to include information about http://underscores.me
2012-08-29 16:23:10 -07:00
Michael Fields
c041ea2b48
Add todo tags to the DocBlocks of functions that contain backward compatibility with previous versions of WordPress stating when back compat should be removed. _s supports the current stable version of WordPress as well as two prior major releases.
2012-08-27 14:25:10 -07:00
Michael Fields
800b9ebcd1
Merge pull request #36 from kovshenin/patch-5
...
Use get_queried_object(); to retrieve author data in archive.php. This removes the need for the_post() and rewind_posts(). props @kovshenin fixes #36
2012-08-27 13:06:30 -07:00
kobenland
d53dd41f28
s/double/single quotes in register_sidebar args array.
...
This is probably left over from a time when there was a line break
following the HTML tag.
2012-08-27 20:20:02 +02:00
Konstantin Kovshenin
103ae2cdf6
Correct use of get_queried_object() for author archives.
...
The ->data object (used previously) stores the author data, but the WP_User class has the __get magic method that grants access to that data, so using get_queried_object() without ->data is correct, and compatible with 3.2, which does not use magic methods. Also url-escapes get_author_posts_url.
2012-08-27 10:56:36 +04:00
Michael Fields
ce4bef6129
Merge pull request #54 from joshbetz/patch-typo-1
...
Stop dancing the "Can-can" in readme.txt. s/can can/can. props @joshbetz. Fixes #47
2012-08-25 14:48:37 -07:00
Matias
3a75b8386d
Update the main stylesheet to use the available classes
...
Avoid polluting the CSS specificity landscape with ids if we have
suitable classes
2012-08-25 14:06:33 -03:00
Matias
752d08afd7
Update the HTML "class" system
...
Improving on the naming convention of our classes with consistency
adjustments. Also creates a better hierarchy (matched pairs) for them.
2012-08-25 14:06:33 -03:00
Josh Betz
65919bb440
Fix typo in readme.txt
2012-08-24 14:00:56 -05:00
Michael Fields
e8ebbf25fa
Merge pull request #53 from joshbetz/patch-1
...
Remove unneeded call to rewind_posts() props joshbetz
2012-08-24 11:47:13 -07:00
Josh Betz
a792ded32c
No need to rewind posts if nothing has been queued up yet
2012-08-24 12:29:41 -05:00
Michael Fields
90429bf5b0
Merge pull request #32 from kovshenin/patch-1
...
Stop passing global $post->ID to wp_attachment_is_image() in _s_scripts() - It is not needed. fixes #32 . props @kovshenin.
2012-08-15 14:22:23 -07:00
Hugo Baeta
6f4192d9b0
updated the styles for the buttons, switching from using background css gradients to using box-shadow techniques
2012-08-15 13:45:04 -07:00
Konstantin Kovshenin
6465b5ae9f
Don't print markup in _s_content_nav() when it is not needed. Fixes #28 .
...
Added checks for previous (or parent) and next post in _s_content_nav() before printing any navigation-specific markup. Same approach for when using the function to print pagination links on a posts set for less than two pages.
2012-08-15 17:05:42 +04:00
Ian Stewart
31c5a39408
Merge pull request #35 from kovshenin/patch-4
...
Adding current search query to searchform.php
2012-08-14 08:58:47 -07:00
Ian Stewart
c68e31f28b
Merge pull request #34 from kovshenin/patch-3
...
Improve code readability in no-results.php: "It's difficult to get around php if () {} statements when mixed with markup, so using if () : endif; syntax instead."
2012-08-14 08:58:13 -07:00
Konstantin Kovshenin
dec5c61928
No need for the_post and rewind_posts in author archives.
...
We can get all the information we need about the author by using get_queried_object within is_author.
2012-08-14 10:49:27 +04:00
Konstantin Kovshenin
6fe882a2df
Adding current search query to searchform.php
...
It may be useful to display what the user searched for in the search input, especially on pages like no-results.php where the search query is not displayed anywhere.
2012-08-14 10:36:37 +04:00
Konstantin Kovshenin
5bf85736bc
Improve code readability in no-results.php
...
It's difficult to get around php if () {} statements when mixed with markup, so using if () : endif; syntax instead.
2012-08-14 10:30:50 +04:00
Konstantin Kovshenin
c5b01c3bac
No need for the $post global in _s_scripts()
...
The wp_attachment_is_image() function will figure out the $post global internally, does not require one to be passed. Makes _s_scripts look cleaner.
2012-08-14 10:08:10 +04:00
Lance Willett
7a4aa04261
Merge pull request #16 from obenland/patch-1
...
Use get_header_textcolor() for forward compatibility, props obenland.
2012-08-06 16:21:19 -07:00
Lance Willett
098bacfe24
Merge pull request #26 from SimpliZine/patch-1
...
Add missing attribute assignment equals sign, props SimpliZine.
2012-08-06 16:19:17 -07:00
Lance Willett
473b835299
Merge pull request #25 from kwight/comments-php-comment
...
Corrected reference to location of _s_comment(). Props kwight.
2012-08-06 16:14:24 -07:00
Lance Willett
187ee2af87
Merge pull request #24 from LimeBlast/patch-1
...
Updated the comment to keep inline with the rest of the comments in the template. Props LimeBlast.
2012-08-06 16:13:03 -07:00
Lance Willett
587d0c2da1
Merge pull request #22 from jasongottschalk/incorrect-value-select-options-array
...
Fixed incorrect value in select options array. Props jasongottschalk.
2012-08-06 16:12:08 -07:00