Skip to content

Commit 0c35145

Browse files
committed
Merge pull request #34 from ScottSmith95/3.0.6
Decode 3.0.6
2 parents 1bd6c6a + 13ac1d2 commit 0c35145

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3283
-3682
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ editor-style.css
99
styles/*.css
1010
styles/*.map
1111
styles/src/.sass-cache/
12+
styles/src/reset/_normalize.scss
1213
scripts/*.js
1314
scripts/srcmaps/
1415
scripts/src/modernizr.js

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ env:
2626
# @link https://github.com/WordPress/WordPress
2727
- WP_VERSION=master WP_MULTISITE=0
2828
- WP_VERSION=master WP_MULTISITE=1
29-
# WordPress 3.9
30-
# @link https://github.com/WordPress/WordPress/tree/3.9-branch
29+
# WordPress 4.1
30+
# @link https://github.com/WordPress/WordPress/tree/4.1-branch
31+
- WP_VERSION=4.1 WP_MULTISITE=0
32+
- WP_VERSION=4.1 WP_MULTISITE=1
33+
# WordPress 4.0
34+
# @link https://github.com/WordPress/WordPress/tree/4.0-branch
3135
- WP_VERSION=4.0 WP_MULTISITE=0
3236
- WP_VERSION=4.0 WP_MULTISITE=1
33-
# WordPress 3.8
34-
# @link https://github.com/WordPress/WordPress/tree/3.8-branch
35-
- WP_VERSION=3.9 WP_MULTISITE=0
36-
- WP_VERSION=3.9 WP_MULTISITE=1
3737

3838
# Declare 5.6 beta in test matrix.
3939
# @link https://buddypress.trac.wordpress.org/ticket/5620

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Lastly, Decode has social icons that can link to your profiles from every side o
3939
- Pinboard
4040
- Delicious
4141
- Instagram
42+
- VSCO Grid
4243
- 500px
4344
- Flickr
4445
- deviantART
@@ -71,12 +72,11 @@ Lastly, Decode has social icons that can link to your profiles from every side o
7172
- Playstation Network
7273
- Xbox Live
7374
- Steam
75+
- Twitch
7476
- Skype
7577
- Website
7678
- Email
7779

78-
The Custom CSS feature allows you to change virtually anything about the style of your site. Refer to the "CustomCSS.md" file in the "docs" folder theme for common and helpful entries and experiment with creating your own to make Decode yours.
79-
8080
To find un-minified, vendor-prefixed CSS, look no further than the .css files in the "styles" directory. No seriously, don't look any further because the styles/src directory containes un-prefixed sass files that you may not want to work with.
8181

8282
If you desire to add Typekit fonts to your blog, I recommend the [Typekit Fonts for WordPress plugin](http://wordpress.org/plugins/typekit-fonts-for-wordpress/). In the CSS field, add: `body, button, input, select, textarea {font-family: 'name-of-font-family';}` to override the default Decode font. This allows you more flexibility and ease when adding or changing fonts.

archive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
</main><!-- #main -->
4848

49-
<?php decode_paging_nav(); ?>
49+
<?php the_posts_navigation(); ?>
5050

5151
</div><!-- #primary -->
5252

author.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
</main><!-- #main -->
5757

58-
<?php decode_paging_nav(); ?>
58+
<?php the_posts_navigation(); ?>
5959

6060
</section><!-- #primary -->
6161

docs/src/CustomCSS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Helpful Custom CSS entries
2-
*A collection of CSS snippets that anyone can use in Decode's Custom CSS feature in the Other Options section of the theme Customize menu.*
2+
*A collection of CSS snippets that anyone can use in Jetpack's Custom CSS feature. [Download Jetpack](http://jetpack.me/install/) | [Get Help](http://jetpack.me/support/custom-css/)*
33

44
### Change the size of the header image:
55
`.site-logo { max-height: 8.5em; }`<br>
@@ -18,6 +18,9 @@ I suggest that you do not change this without using media queries because the so
1818
### Change the color of the menu and menu close icons:
1919
`.menu-icon, .close-icon { fill: #00B0CC; }`
2020

21+
### Change font family:
22+
`body, button, input, select, textarea { font-family: 'name-of-font-family'; }`
23+
2124
### Change the font size of posts and pages:
2225
`.entry-content { font-size: 1em; }`<br>
2326
1em is the default.

docs/src/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Lastly, Decode has social icons that can link to your profiles from every side o
3939
- Pinboard
4040
- Delicious
4141
- Instagram
42+
- VSCO Grid
4243
- 500px
4344
- Flickr
4445
- deviantART
@@ -71,12 +72,11 @@ Lastly, Decode has social icons that can link to your profiles from every side o
7172
- Playstation Network
7273
- Xbox Live
7374
- Steam
75+
- Twitch
7476
- Skype
7577
- Website
7678
- Email
7779

78-
The Custom CSS feature allows you to change virtually anything about the style of your site. Refer to the "CustomCSS.md" file in the "docs" folder theme for common and helpful entries and experiment with creating your own to make Decode yours.
79-
8080
To find un-minified, vendor-prefixed CSS, look no further than the .css files in the "styles" directory. No seriously, don't look any further because the styles/src directory containes un-prefixed sass files that you may not want to work with.
8181

8282
If you desire to add Typekit fonts to your blog, I recommend the [Typekit Fonts for WordPress plugin](http://wordpress.org/plugins/typekit-fonts-for-wordpress/). In the CSS field, add: `body, button, input, select, textarea {font-family: 'name-of-font-family';}` to override the default Decode font. This allows you more flexibility and ease when adding or changing fonts.

functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function decode_setup() {
113113

114114
function decode_scripts() {
115115

116-
wp_enqueue_style( 'decode-style', get_stylesheet_uri(), array(), '3.0.1' );
116+
wp_enqueue_style( 'decode-style', get_stylesheet_uri(), array(), '3.0.6' );
117117

118118
if ( get_theme_mod( 'latin_extended_font', false ) == true ) {
119119
wp_enqueue_style( 'decode-font-stylesheet', '//fonts.googleapis.com/css?family=Oxygen&subset=latin-ext' );
@@ -122,7 +122,7 @@ function decode_scripts() {
122122
wp_enqueue_style( 'decode-font-stylesheet', '//fonts.googleapis.com/css?family=Oxygen' );
123123
}
124124

125-
wp_enqueue_script( 'decode-scripts', get_template_directory_uri() . '/scripts/decode.js', array(), '3.0.0', true );
125+
wp_enqueue_script( 'decode-scripts', get_template_directory_uri() . '/scripts/decode.js', array(), '3.0.6', true );
126126

127127
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) && get_theme_mod( 'enable_comments', true ) == true ) {
128128
wp_enqueue_script( 'comment-reply' );

gruntfile.js

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = function(grunt) {
4545
sourceMapName: 'scripts/srcmaps/decode.js.map'
4646
},
4747
files: {
48-
'scripts/decode.js': ['scripts/src/modernizr.js', 'scripts/src/fastclick.js', 'scripts/src/sidebar.js', 'scripts/src/dropdown.js', 'scripts/src/decode.js' ],
48+
'scripts/decode.js': ['scripts/src/modernizr.js', 'node_modules/fastclick/lib/fastclick.js', 'scripts/src/sidebar.js', 'scripts/src/dropdown.js', 'scripts/src/decode.js' ],
4949
}
5050
},
5151
customizer: {
@@ -57,6 +57,40 @@ module.exports = function(grunt) {
5757
}
5858
}
5959
},
60+
61+
markdown: {
62+
readme: {
63+
options: {
64+
template: 'docs/src/READMETemplate.html'
65+
},
66+
files: {
67+
'docs/README.html': 'docs/src/README.md'
68+
}
69+
},
70+
customcss: {
71+
options: {
72+
template: 'docs/src/CustomCSSTemplate.html'
73+
},
74+
files: {
75+
'docs/CustomCSS.html': 'docs/src/CustomCSS.md'
76+
}
77+
}
78+
},
79+
80+
copy: {
81+
/* Move and rename Normalize so grunt-sass can import and concatenate it. */
82+
normalize: {
83+
files: {
84+
'styles/src/reset/_normalize.scss': 'node_modules/normalize.css/normalize.css'
85+
}
86+
},
87+
/* Copy Readme.md to project root. */
88+
readme: {
89+
files: {
90+
'README.md': 'docs/src/README.md'
91+
}
92+
}
93+
},
6094

6195
sass: {
6296
options: {
@@ -116,34 +150,6 @@ module.exports = function(grunt) {
116150
ext: '.css'
117151
}
118152
},
119-
120-
markdown: {
121-
readme: {
122-
options: {
123-
template: 'docs/src/READMETemplate.html'
124-
},
125-
files: {
126-
'docs/README.html': ['docs/src/README.md']
127-
}
128-
},
129-
customcss: {
130-
options: {
131-
template: 'docs/src/CustomCSSTemplate.html'
132-
},
133-
files: {
134-
'docs/CustomCSS.html': ['docs/src/CustomCSS.md']
135-
}
136-
}
137-
},
138-
139-
/* Copy Readme.md to project root */
140-
copy: {
141-
copy_readme: {
142-
files: {
143-
'README.md': ['docs/src/README.md']
144-
}
145-
}
146-
},
147153

148154
watch: {
149155
scripts: {
@@ -169,12 +175,12 @@ module.exports = function(grunt) {
169175
grunt.loadNpmTasks("grunt-modernizr");
170176
grunt.loadNpmTasks('grunt-contrib-jshint');
171177
grunt.loadNpmTasks('grunt-contrib-uglify');
178+
grunt.loadNpmTasks('grunt-markdown');
179+
grunt.loadNpmTasks('grunt-contrib-copy');
172180
grunt.loadNpmTasks('grunt-sass');
173181
grunt.loadNpmTasks('grunt-csscomb');
174182
grunt.loadNpmTasks('grunt-autoprefixer');
175183
grunt.loadNpmTasks('grunt-contrib-cssmin');
176-
grunt.loadNpmTasks('grunt-contrib-copy');
177-
grunt.loadNpmTasks('grunt-markdown');
178184
grunt.loadNpmTasks('grunt-contrib-watch');
179185

180186

@@ -184,12 +190,12 @@ module.exports = function(grunt) {
184190
'modernizr',
185191
'jshint',
186192
'uglify',
193+
'markdown',
194+
'copy',
187195
'sass',
188196
'csscomb',
189197
'autoprefixer',
190198
'cssmin',
191-
'markdown',
192-
'copy',
193199
'watch'
194200
]);
195201

@@ -198,12 +204,12 @@ module.exports = function(grunt) {
198204
'modernizr',
199205
'jshint',
200206
'uglify',
207+
'markdown',
208+
'copy',
201209
'sass',
202210
'csscomb',
203211
'autoprefixer',
204-
'cssmin',
205-
'markdown',
206-
'copy'
212+
'cssmin'
207213
]);
208214

209215
// $ grunt dev: Watches for changes while developing.

image.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
</div><!-- .entry-meta -->
3232

3333
<nav role="navigation" id="image-navigation" class="image-navigation">
34-
<div class="nav-previous"><?php previous_image_link( false, __( '<span class="meta-nav">&larr;</span> Previous', 'decode' ) ); ?></div>
35-
<div class="nav-next"><?php next_image_link( false, __( 'Next <span class="meta-nav">&rarr;</span>', 'decode' ) ); ?></div>
34+
<div class="nav-previous"><?php previous_image_link( false, __( 'Previous', 'decode' ) ); ?></div>
35+
<div class="nav-next"><?php next_image_link( false, __( 'Next', 'decode' ) ); ?></div>
3636
</nav><!-- #image-navigation -->
3737
</header><!-- .entry-header -->
3838

images/Twitch.png

800 Bytes
Loading

images/VSCO.png

904 Bytes
Loading

0 commit comments

Comments
 (0)