├── 404.php ├── README.md ├── archive.php ├── attachment.php ├── author.php ├── blocks.css ├── category.php ├── comments.php ├── editor-blocks.css ├── editor-style-rtl.css ├── editor-style.css ├── footer.php ├── functions.php ├── header.php ├── images ├── headers │ ├── berries-thumbnail.jpg │ ├── berries.jpg │ ├── cherryblossoms-thumbnail.jpg │ ├── cherryblossoms.jpg │ ├── concave-thumbnail.jpg │ ├── concave.jpg │ ├── fern-thumbnail.jpg │ ├── fern.jpg │ ├── forestfloor-thumbnail.jpg │ ├── forestfloor.jpg │ ├── inkwell-thumbnail.jpg │ ├── inkwell.jpg │ ├── path-thumbnail.jpg │ ├── path.jpg │ ├── sunset-thumbnail.jpg │ └── sunset.jpg └── wordpress.png ├── index.php ├── languages └── twentyten.pot ├── license.txt ├── loop-attachment.php ├── loop-page.php ├── loop-single.php ├── loop.php ├── onecolumn-page.php ├── page.php ├── readme.txt ├── rtl.css ├── screenshot.png ├── search.php ├── sidebar-footer.php ├── sidebar.php ├── single.php ├── style.css └── tag.php /404.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 |
16 |

17 |
18 |

19 | 20 |
21 |
22 | 23 |
24 |
25 | 29 | 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 |
19 | 20 | 31 | 32 |

33 | 34 | %s', 'twentyten' ), get_the_date() ); ?> 35 | 36 | %s', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) ); ?> 37 | 38 | %s', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) ); ?> 39 | 40 | 41 | 42 |

43 | 44 | 59 | 60 |
61 |
62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /attachment.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 23 | 24 |
25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /author.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 | 27 | 28 |

' . get_the_author() . '' ); ?>

29 | 30 | 33 |
34 |
35 | 45 |
46 |
47 |

48 | 49 |
50 |
51 | 52 | 53 | 68 |
69 |
70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /blocks.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Ten 3 | Description: Used to style blocks. 4 | */ 5 | 6 | /*-------------------------------------------------------------- 7 | >>> TABLE OF CONTENTS: 8 | ---------------------------------------------------------------- 9 | 1.0 General Block Styles 10 | 2.0 Blocks - Common Blocks 11 | 3.0 Blocks - Formatting 12 | 4.0 Blocks - Layout Elements 13 | 5.0 Blocks - Widgets 14 | 6.0 Blocks - Colors 15 | --------------------------------------------------------------*/ 16 | 17 | /*-------------------------------------------------------------- 18 | 1.0 General Block Styles 19 | --------------------------------------------------------------*/ 20 | 21 | /* Captions */ 22 | 23 | [class^="wp-block-"]:not(.wp-block-gallery) figcaption { 24 | color: #777; 25 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 26 | } 27 | 28 | /* Alignments */ 29 | 30 | [class^="wp-block-"].alignleft, 31 | [class^="wp-block-"] .alignleft { 32 | margin-right: 24px; 33 | } 34 | 35 | [class^="wp-block-"].alignright, 36 | [class^="wp-block-"] .alignright { 37 | margin-left: 24px; 38 | } 39 | 40 | /*-------------------------------------------------------------- 41 | 2.0 Blocks - Common Blocks 42 | --------------------------------------------------------------*/ 43 | 44 | /* Paragraph */ 45 | 46 | p.has-drop-cap:not(:focus)::first-letter { 47 | font-size: 5em; 48 | margin-top: 0.1em; 49 | } 50 | 51 | /* Image */ 52 | 53 | .wp-block-image figure { 54 | margin-bottom: 24px; 55 | } 56 | 57 | .wp-block-image figcaption { 58 | margin: -7px 0 20px;; 59 | padding: 9px 9px 1.0em; 60 | text-align: center; 61 | } 62 | 63 | .wp-block-image.alignfull, 64 | .wp-block-image.alignfull img { 65 | margin: 0; 66 | } 67 | 68 | /* Gallery */ 69 | 70 | .wp-block-gallery { 71 | margin: 0 0 24px; 72 | } 73 | 74 | .wp-block-gallery .blocks-gallery-image figcaption, 75 | .wp-block-gallery .blocks-gallery-item figcaption { 76 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 77 | left: 0; 78 | right: 0; 79 | width: auto; 80 | } 81 | 82 | /* Quotes */ 83 | 84 | .wp-block-quote:not(.is-large):not(.is-style-large) { 85 | border: none; 86 | padding: 0 3em; 87 | } 88 | 89 | .wp-block-quote cite { 90 | color: inherit; 91 | font-size: inherit; 92 | font-weight: 600; 93 | } 94 | 95 | /* Audio */ 96 | 97 | .wp-block-audio { 98 | margin-left: 0; 99 | margin-right: 0; 100 | } 101 | 102 | .wp-block-audio audio { 103 | display: block; 104 | width: 100%; 105 | } 106 | 107 | /* File */ 108 | 109 | .rtl .wp-block-file * + .wp-block-file__button { 110 | margin: 0 0 0 0.75em; 111 | } 112 | 113 | /*-------------------------------------------------------------- 114 | 3.0 Blocks - Formatting 115 | --------------------------------------------------------------*/ 116 | 117 | /* Code */ 118 | 119 | .wp-block-code { 120 | background-color: transparent; 121 | border: 0; 122 | padding: 0; 123 | } 124 | 125 | /* Pullquote */ 126 | 127 | .wp-block-pullquote p { 128 | font-size: 1.5em; 129 | } 130 | 131 | .wp-block-pullquote__citation, 132 | .wp-block-pullquote cite { 133 | color: inherit; 134 | font-size: inherit; 135 | font-weight: 600; 136 | text-transform: none; 137 | } 138 | 139 | /* Table */ 140 | 141 | .wp-block-table td, 142 | .wp-block-table th { 143 | border: none; 144 | } 145 | 146 | .wp-block-table td { 147 | border-top: 1px solid #e7e7e7; 148 | } 149 | 150 | .wp-block-table tr:nth-child(odd) td { 151 | background: #f2f7fc; 152 | } 153 | 154 | /*-------------------------------------------------------------- 155 | 4.0 Blocks - Layout Elements 156 | --------------------------------------------------------------*/ 157 | 158 | /* Separator */ 159 | 160 | .wp-block-separator { 161 | border: 0; 162 | } 163 | 164 | /* Media & Text */ 165 | 166 | .wp-block-media-text { 167 | margin-bottom: 24px; 168 | } 169 | 170 | /*-------------------------------------------------------------- 171 | 5.0 Blocks - Widgets 172 | --------------------------------------------------------------*/ 173 | 174 | /* Archives, Categories & Latest Posts */ 175 | 176 | .wp-block-archives.aligncenter, 177 | .wp-block-categories.aligncenter, 178 | .wp-block-latest-posts.aligncenter { 179 | margin-left: 20px; 180 | text-align: center; 181 | } 182 | 183 | .rtl .wp-block-archives.aligncenter, 184 | .rtl .wp-block-categories.aligncenter, 185 | .rtl .wp-block-latest-posts.aligncenter { 186 | margin-left: 0; 187 | margin-right: 20px; 188 | } 189 | 190 | /* Latest Comments */ 191 | 192 | .wp-block-latest-comments { 193 | margin: 0 0 24px; 194 | } 195 | 196 | /* Latest Posts */ 197 | 198 | .wp-block-latest-posts.is-grid { 199 | margin-left: 0; 200 | margin-right: 0; 201 | } 202 | 203 | /*-------------------------------------------------------------- 204 | 6.0 Blocks - Colors 205 | --------------------------------------------------------------*/ 206 | 207 | .has-blue-color, 208 | .has-blue-color:visited { 209 | color: #0066cc; 210 | } 211 | 212 | .has-blue-background-color, 213 | .has-blue-background-color:visited { 214 | background-color: #0066cc; 215 | } 216 | 217 | .has-black-color, 218 | .has-black-color:visited { 219 | color: #000; 220 | } 221 | 222 | .has-black-background-color, 223 | .has-black-background-color:visited { 224 | background-color: #000; 225 | } 226 | 227 | .has-medium-gray-color, 228 | .has-medium-gray-color:visited { 229 | color: #666; 230 | } 231 | 232 | .has-medium-gray-background-color, 233 | .has-medium-gray-background-color:visited { 234 | background-color: #666; 235 | } 236 | 237 | .has-light-gray-color, 238 | .has-light-gray-color:visited { 239 | color: #f1f1f1; 240 | } 241 | 242 | .has-light-gray-background-color, 243 | .has-light-gray-background-color:visited { 244 | background-color: #f1f1f1; 245 | } 246 | 247 | .has-white-color, 248 | .has-white-color:visited { 249 | color: #fff; 250 | } 251 | 252 | .has-white-background-color, 253 | .has-white-background-color:visited { 254 | background-color: #fff; 255 | } 256 | -------------------------------------------------------------------------------- /category.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 |
14 | 15 |

' . single_cat_title( '', false ) . '' ); 17 | ?>

18 | ' . $category_description . '
'; 22 | 23 | /* 24 | * Run the loop for the category page to output the posts. 25 | * If you want to overload this in a child theme then include a file 26 | * called loop-category.php and that will be used instead. 27 | */ 28 | get_template_part( 'loop', 'category' ); 29 | ?> 30 | 31 |
32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 | 18 |

19 |
20 | 29 | 30 | 33 | 34 | 35 |

' . get_the_title() . '' ); 38 | ?>

39 | 40 | 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 41 | 45 | 46 | 47 |
    48 | 'twentyten_comment' ) ); 57 | ?> 58 |
59 | 60 | 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 61 | 65 | 66 | 67 | 73 |

74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /editor-blocks.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Ten 3 | Description: Used to style blocks in the editor. 4 | */ 5 | 6 | /*-------------------------------------------------------------- 7 | >>> TABLE OF CONTENTS: 8 | ---------------------------------------------------------------- 9 | 1.0 General Typography 10 | 2.0 General Block Styles 11 | 3.0 Blocks - Common Blocks 12 | 4.0 Blocks - Formatting 13 | 5.0 Blocks - Widgets 14 | --------------------------------------------------------------*/ 15 | 16 | /*-------------------------------------------------------------- 17 | 1.0 General Typography 18 | --------------------------------------------------------------*/ 19 | 20 | .edit-post-visual-editor .editor-block-list__block, 21 | .edit-post-visual-editor .editor-block-list__block p, 22 | .editor-default-block-appender textarea.editor-default-block-appender__content { 23 | font-size: 16px; 24 | } 25 | 26 | .editor-default-block-appender textarea.editor-default-block-appender__content { 27 | font-family: Georgia, "Bitstream Charter", serif; 28 | } 29 | 30 | .edit-post-visual-editor .editor-block-list__block .mce-content-body, 31 | .wp-block-freeform.block-library-rich-text__tinymce p, 32 | .wp-block-freeform.block-library-rich-text__tinymce li { 33 | line-height: 1.5; 34 | } 35 | 36 | .edit-post-visual-editor .editor-block-list__block { 37 | color: #1a1a1a; 38 | } 39 | 40 | .editor-post-title__block .editor-post-title__input { 41 | color: #000; 42 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 43 | font-size: 21px; 44 | font-weight: bold; 45 | line-height: 1.3em; 46 | } 47 | 48 | .edit-post-visual-editor .editor-block-list__block h1 { 49 | font-size: 32px; 50 | } 51 | 52 | .edit-post-visual-editor .editor-block-list__block h2 { 53 | font-size: 24px; 54 | } 55 | 56 | .edit-post-visual-editor .editor-block-list__block h3 { 57 | font-size: 19px; 58 | } 59 | 60 | .edit-post-visual-editor .editor-block-list__block h4 { 61 | font-size: 16px; 62 | } 63 | 64 | .edit-post-visual-editor .editor-block-list__block h5 { 65 | font-size: 13px; 66 | } 67 | 68 | .edit-post-visual-editor .editor-block-list__block h6 { 69 | font-size: 11px; 70 | } 71 | 72 | /*-------------------------------------------------------------- 73 | 2.0 General Block Styles 74 | --------------------------------------------------------------*/ 75 | 76 | /* Main column width */ 77 | 78 | .wp-block { 79 | max-width: 670px; /* 640px + 30px to account for padding */ 80 | } 81 | 82 | /* Link styles */ 83 | 84 | .edit-post-visual-editor a, 85 | .editor-block-list__block a, 86 | .wp-block-freeform.block-library-rich-text__tinymce a { 87 | color: #0066cc; 88 | } 89 | 90 | /* List styles */ 91 | 92 | .edit-post-visual-editor ul:not(.wp-block-gallery), 93 | .editor-block-list__block ul:not(.wp-block-gallery), 94 | .block-library-list ul, 95 | .edit-post-visual-editor ol, 96 | .editor-block-list__block ol, 97 | .block-library-list ol.editor-rich-text__tinymce { 98 | margin: 0 0 18px 1.5em; 99 | padding: 0; 100 | } 101 | 102 | .edit-post-visual-editor ul:not(.wp-block-gallery), 103 | .editor-block-list__block ul:not(.wp-block-gallery), 104 | .block-library-list ul { 105 | list-style: square; 106 | } 107 | 108 | .edit-post-visual-editor ol, 109 | .editor-block-list__block ol, 110 | .block-library-list ol { 111 | list-style: decimal; 112 | margin-left: 1.5em; 113 | } 114 | 115 | .edit-post-visual-editor ul:not(.wp-block-gallery) li, 116 | .editor-block-list__block ul:not(.wp-block-gallery) li, 117 | .edit-post-visual-editor ol li, 118 | .editor-block-list__block ol li, 119 | .block-library-list li { 120 | margin-bottom: 0; 121 | } 122 | 123 | .edit-post-visual-editor ul:not(.wp-block-gallery) li > ul, 124 | .editor-block-list__block ul:not(.wp-block-gallery) li > ul, 125 | .block-library-list li > ul, 126 | .edit-post-visual-editor li > ol, 127 | .editor-block-list__block li > ol, 128 | .block-library-list li > ol { 129 | margin-bottom: 0; 130 | } 131 | 132 | .rtl .edit-post-visual-editor ul:not(.wp-block-gallery), 133 | .rtl .editor-block-list__block ul:not(.wp-block-gallery), 134 | .rtl .block-library-list ul, 135 | .rtl .edit-post-visual-editor ol, 136 | .rtl .editor-block-list__block ol, 137 | .rtl .block-library-list ol { 138 | margin-left: 0; 139 | margin-right: 1.25em; 140 | padding: 0; 141 | } 142 | 143 | /* Caption styles */ 144 | 145 | [class^="wp-block-"] figcaption { 146 | color: #777; 147 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 148 | } 149 | 150 | /* Code styles */ 151 | 152 | .wp-block-freeform.block-library-rich-text__tinymce code { 153 | background: transparent; 154 | } 155 | 156 | /* Quote styles */ 157 | 158 | .wp-block-freeform.block-library-rich-text__tinymce blockquote { 159 | border: 0; 160 | padding: 0 3em; 161 | } 162 | 163 | /* Table styles */ 164 | 165 | .editor-block-list__block tr th, 166 | .editor-block-list__block tr th a { 167 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 168 | } 169 | 170 | /* Definition List styles */ 171 | 172 | .editor-block-list__block dd { 173 | margin-left: 0; 174 | margin-right: 0; 175 | } 176 | 177 | /*-------------------------------------------------------------- 178 | 3.0 Blocks - Common Blocks 179 | --------------------------------------------------------------*/ 180 | 181 | /* Paragraph */ 182 | 183 | p.has-drop-cap:not(:focus)::first-letter { 184 | font-size: 5em; 185 | margin-top: 0.1em; 186 | } 187 | 188 | /* Image */ 189 | 190 | .wp-block-image { 191 | margin-bottom: 20px; 192 | } 193 | 194 | .wp-block-image figcaption { 195 | display: block; 196 | margin: -7px 0 0; 197 | padding: 9px 9px 1.0em; 198 | text-align: center; 199 | } 200 | 201 | /* Gallery */ 202 | 203 | .editor-block-list__block .wp-block-gallery { 204 | margin: 0 0 24px; 205 | } 206 | 207 | /* Quote */ 208 | 209 | .wp-block-quote { 210 | border: 0; 211 | padding: 0 3em; 212 | } 213 | 214 | .wp-block-quote:not(.is-large):not(.is-style-large) { 215 | border: 0; 216 | padding: 0 3em; 217 | } 218 | 219 | .wp-block-quote .wp-block-quote__citation { 220 | font-size: 16px; 221 | font-weight: 600; 222 | } 223 | 224 | .wp-block-quote.is-large .wp-block-quote__citation, 225 | .wp-block-quote.is-style-large .wp-block-quote__citation { 226 | font-size: 18px; 227 | } 228 | 229 | /* Cover */ 230 | 231 | .wp-block-cover-image-text, 232 | .wp-block-cover-text { 233 | font-size: 32px; 234 | } 235 | 236 | /* File */ 237 | 238 | .wp-block-file .wp-block-file__textlink .editor-rich-text__tinymce { 239 | color: #0066cc; 240 | font-size: 16px; 241 | text-decoration: underline; 242 | } 243 | 244 | /*-------------------------------------------------------------- 245 | 4.0 Blocks - Formatting 246 | --------------------------------------------------------------*/ 247 | 248 | /* Code */ 249 | 250 | .wp-block-code { 251 | border: 0; 252 | padding: 0; 253 | } 254 | 255 | /* Pullquote */ 256 | 257 | .wp-block-pullquote blockquote > .editor-rich-text p { 258 | font-size: 1.5em; 259 | } 260 | 261 | .wp-block-pullquote .wp-block-pullquote__citation { 262 | color: inherit; 263 | font-size: inherit; 264 | font-weight: 600; 265 | text-transform: none; 266 | } 267 | 268 | /* Table */ 269 | 270 | .wp-block-table tr:nth-child(odd) td { 271 | background: #f2f7fc; 272 | } 273 | 274 | .wp-block-table th .wp-block-table__cell-content { 275 | color: #777; 276 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 277 | } 278 | 279 | .editor-block-list__block .wp-block-table tr td { 280 | padding-bottom: 0; 281 | padding-top: 0; 282 | } 283 | 284 | /*-------------------------------------------------------------- 285 | 5.0 Blocks - Widgets 286 | --------------------------------------------------------------*/ 287 | 288 | /* Latest Comments */ 289 | 290 | .editor-block-list__block .wp-block-latest-comments { 291 | margin: 0 0 24px; 292 | } 293 | 294 | .rtl .edit-post-visual-editor .wp-block-latest-comments { 295 | margin-right: 0; 296 | } 297 | 298 | /* Latest Posts */ 299 | 300 | .edit-post-visual-editor .editor-block-list__block .wp-block-latest-posts.is-grid { 301 | list-style: none; 302 | margin-left: 0; 303 | margin-right: 0; 304 | } 305 | 306 | .edit-post-visual-editor .wp-block-latest-posts.is-grid li { 307 | margin-bottom: 1em; 308 | } 309 | -------------------------------------------------------------------------------- /editor-style-rtl.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Ten 3 | */ 4 | /* 5 | Used to style the TinyMCE editor. 6 | */ 7 | html .mceContentBody{ 8 | direction: rtl; 9 | unicode-bidi: embed; 10 | float: right; 11 | width: 640px; 12 | } 13 | * { 14 | font-family: Arial, Tahoma, sans-serif; 15 | } 16 | /* Text elements */ 17 | ul, ol { 18 | margin: 0 -18px 18px 0; 19 | } 20 | dd { 21 | margin-right: 0; 22 | } 23 | blockquote { 24 | font-style: normal; 25 | } 26 | table { 27 | text-align: right; 28 | margin: 0 0 24px -1px; 29 | } 30 | -------------------------------------------------------------------------------- /editor-style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Ten 3 | Description: Used to style the TinyMCE editor. 4 | */ 5 | html .mceContentBody { 6 | max-width: 640px; 7 | } 8 | * { 9 | color: #444; 10 | font-family: Georgia, "Bitstream Charter", serif; 11 | line-height: 1.5; 12 | } 13 | p, 14 | dl, 15 | td, 16 | th, 17 | ul, 18 | ol, 19 | blockquote { 20 | font-size: 16px; 21 | } 22 | tr th, 23 | thead th, 24 | label, 25 | tr th, 26 | thead th { 27 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 28 | } 29 | pre { 30 | font-family: "Courier 10 Pitch", Courier, monospace; 31 | } 32 | code, code var { 33 | font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 34 | } 35 | body, input, textarea { 36 | font-size: 12px; 37 | line-height: 18px; 38 | } 39 | hr { 40 | background-color: #e7e7e7; 41 | border: 0; 42 | clear: both; 43 | height: 1px; 44 | margin-bottom: 18px; 45 | } 46 | /* Text elements */ 47 | p { 48 | margin-bottom: 18px; 49 | } 50 | 51 | ul, 52 | ol { 53 | margin: 0 0 18px 1.5em; 54 | padding: 0; 55 | } 56 | 57 | ul { 58 | list-style: square; 59 | } 60 | ol { 61 | list-style: decimal; 62 | } 63 | ol ol { 64 | list-style: upper-alpha; 65 | } 66 | ol ol ol { 67 | list-style: lower-roman; 68 | } 69 | ol ol ol ol { 70 | list-style: lower-alpha; 71 | } 72 | ul ul, 73 | ol ol, 74 | ul ol, 75 | ol ul { 76 | margin-bottom: 0; 77 | } 78 | dl { 79 | margin: 0 0 24px 0; 80 | } 81 | dt { 82 | font-weight: bold; 83 | } 84 | dd { 85 | margin-bottom: 18px; 86 | } 87 | strong { 88 | color: #000; 89 | font-weight: bold; 90 | } 91 | cite, 92 | em, 93 | i { 94 | border: none; 95 | font-style: italic; 96 | } 97 | big { 98 | font-size: 131.25%; 99 | } 100 | ins { 101 | background: #ffc; 102 | border: none; 103 | color: #333; 104 | } 105 | del { 106 | text-decoration: line-through; 107 | color: #555; 108 | } 109 | blockquote { 110 | font-style: italic; 111 | padding: 0 3em; 112 | } 113 | blockquote cite, 114 | blockquote em, 115 | blockquote i { 116 | font-style: normal; 117 | } 118 | pre { 119 | background: #f7f7f7; 120 | color: #222; 121 | line-height: 18px; 122 | margin-bottom: 18px; 123 | padding: 1.5em; 124 | } 125 | abbr, 126 | acronym { 127 | border-bottom: 1px dotted #666; 128 | cursor: help; 129 | } 130 | ins { 131 | text-decoration: none; 132 | } 133 | sup, 134 | sub { 135 | font-size: 10px; 136 | height: 0; 137 | line-height: 1; 138 | position: relative; 139 | vertical-align: baseline; 140 | } 141 | sup { 142 | bottom: 1ex; 143 | } 144 | sub { 145 | top: .5ex; 146 | } 147 | a:link { 148 | color: #06c; 149 | } 150 | a:visited { 151 | color: #743399; 152 | } 153 | a:active, 154 | a:hover { 155 | color: #ff4b33; 156 | } 157 | p, 158 | ul, 159 | ol, 160 | dd, 161 | pre, 162 | hr { 163 | margin-bottom: 24px; 164 | } 165 | ul ul, 166 | ol ol, 167 | ul ol, 168 | ol ul { 169 | margin-bottom: 0; 170 | } 171 | pre, 172 | kbd, 173 | tt, 174 | var { 175 | font-size: 15px; 176 | line-height: 21px; 177 | } 178 | code { 179 | font-size: 13px; 180 | } 181 | strong, 182 | b, 183 | dt, 184 | th { 185 | color: #000; 186 | } 187 | h1, 188 | h2, 189 | h3, 190 | h4, 191 | h5, 192 | h6 { 193 | color: #000; 194 | font-weight: normal; 195 | line-height: 1.5em; 196 | margin: 0 0 20px 0; 197 | } 198 | h1 { 199 | font-size: 2.4em; 200 | } 201 | h2 { 202 | font-size: 1.8em; 203 | } 204 | h3 { 205 | font-size: 1.4em; 206 | } 207 | h4 { 208 | font-size: 1.2em; 209 | } 210 | h5 { 211 | font-size: 1em; 212 | } 213 | h6 { 214 | font-size: 0.9em; 215 | } 216 | table { 217 | border: 1px solid #e7e7e7 !important; 218 | border-collapse: collapse; 219 | border-spacing: 0; 220 | margin: 0 -1px 24px 0; 221 | text-align: left; 222 | width: 100%; 223 | } 224 | tr th, 225 | thead th { 226 | border: none !important; 227 | color: #888; 228 | font-size: 12px; 229 | font-weight: bold; 230 | line-height: 18px; 231 | padding: 9px 24px; 232 | } 233 | tr td { 234 | border: none !important; 235 | border-top: 1px solid #e7e7e7 !important; 236 | padding: 6px 24px; 237 | } 238 | img { 239 | margin: 0; 240 | } 241 | img.size-auto, 242 | img.size-large, 243 | img.size-full, 244 | img.size-medium { 245 | max-width: 100%; 246 | height: auto; 247 | } 248 | .alignleft, 249 | img.alignleft { 250 | display: inline; 251 | float: left; 252 | margin-right: 24px; 253 | margin-top: 4px; 254 | } 255 | .alignright, 256 | img.alignright { 257 | display: inline; 258 | float: right; 259 | margin-left: 24px; 260 | margin-top: 4px; 261 | } 262 | .aligncenter, 263 | img.aligncenter { 264 | clear: both; 265 | display: block; 266 | margin-left: auto; 267 | margin-right: auto; 268 | } 269 | img.alignleft, 270 | img.alignright, 271 | img.aligncenter { 272 | margin-bottom: 12px; 273 | } 274 | .wp-caption { 275 | background: #f1f1f1; 276 | border: none; 277 | -khtml-border-radius: 0; 278 | -moz-border-radius: 0; 279 | -webkit-border-radius: 0; 280 | border-radius: 0; 281 | color: #888; 282 | font-size: 12px; 283 | line-height: 18px; 284 | margin-bottom: 20px; 285 | max-width: 632px !important; /* prevent too-wide images from breaking layout */ 286 | padding: 4px; 287 | text-align: center; 288 | } 289 | .wp-caption img { 290 | margin: 5px; 291 | } 292 | .wp-caption p.wp-caption-text { 293 | margin: 0 0 4px; 294 | } 295 | .wp-smiley { 296 | margin: 0; 297 | } 298 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 52 | 53 | 54 | 55 | 58 | * tag of your theme, or you will break many plugins, which 59 | * generally use this hook to reference JavaScript files. 60 | */ 61 | 62 | wp_footer(); 63 | ?> 64 | 65 | 66 | -------------------------------------------------------------------------------- /functions.php: -------------------------------------------------------------------------------- 1 | 26 | * add_action( 'after_setup_theme', 'my_child_theme_setup' ); 27 | * function my_child_theme_setup() { 28 | * // We are providing our own filter for excerpt_length (or using the unfiltered value) 29 | * remove_filter( 'excerpt_length', 'twentyten_excerpt_length' ); 30 | * ... 31 | * } 32 | * 33 | * 34 | * For more information on hooks, actions, and filters, see https://codex.wordpress.org/Plugin_API. 35 | * 36 | * @package WordPress 37 | * @subpackage Twenty_Ten 38 | * @since Twenty Ten 1.0 39 | */ 40 | 41 | /* 42 | * Set the content width based on the theme's design and stylesheet. 43 | * 44 | * Used to set the width of images and content. Should be equal to the width the theme 45 | * is designed for, generally via the style.css stylesheet. 46 | */ 47 | if ( ! isset( $content_width ) ) 48 | $content_width = 640; 49 | 50 | /* Tell WordPress to run twentyten_setup() when the 'after_setup_theme' hook is run. */ 51 | add_action( 'after_setup_theme', 'twentyten_setup' ); 52 | 53 | if ( ! function_exists( 'twentyten_setup' ) ): 54 | /** 55 | * Set up theme defaults and registers support for various WordPress features. 56 | * 57 | * Note that this function is hooked into the after_setup_theme hook, which runs 58 | * before the init hook. The init hook is too late for some features, such as indicating 59 | * support post thumbnails. 60 | * 61 | * To override twentyten_setup() in a child theme, add your own twentyten_setup to your child theme's 62 | * functions.php file. 63 | * 64 | * @uses add_theme_support() To add support for post thumbnails, custom headers and backgrounds, and automatic feed links. 65 | * @uses register_nav_menus() To add support for navigation menus. 66 | * @uses add_editor_style() To style the visual editor. 67 | * @uses load_theme_textdomain() For translation/localization support. 68 | * @uses register_default_headers() To register the default custom header images provided with the theme. 69 | * @uses set_post_thumbnail_size() To set a custom post thumbnail size. 70 | * 71 | * @since Twenty Ten 1.0 72 | */ 73 | function twentyten_setup() { 74 | 75 | // This theme styles the visual editor with editor-style.css to match the theme style. 76 | add_editor_style(); 77 | 78 | // Load regular editor styles into the new block-based editor. 79 | add_theme_support( 'editor-styles' ); 80 | 81 | // Load default block styles. 82 | add_theme_support( 'wp-block-styles' ); 83 | 84 | // Add support for custom color scheme. 85 | add_theme_support( 'editor-color-palette', array( 86 | array( 87 | 'name' => __( 'Blue', 'twentyten' ), 88 | 'slug' => 'blue', 89 | 'color' => '#0066cc', 90 | ), 91 | array( 92 | 'name' => __( 'Black', 'twentyten' ), 93 | 'slug' => 'black', 94 | 'color' => '#000', 95 | ), 96 | array( 97 | 'name' => __( 'Medium Gray', 'twentyten' ), 98 | 'slug' => 'medium-gray', 99 | 'color' => '#666', 100 | ), 101 | array( 102 | 'name' => __( 'Light Gray', 'twentyten' ), 103 | 'slug' => 'light-gray', 104 | 'color' => '#f1f1f1', 105 | ), 106 | array( 107 | 'name' => __( 'White', 'twentyten' ), 108 | 'slug' => 'white', 109 | 'color' => '#fff', 110 | ), 111 | ) ); 112 | 113 | // Post Format support. You can also use the legacy "gallery" or "asides" (note the plural) categories. 114 | add_theme_support( 'post-formats', array( 'aside', 'gallery' ) ); 115 | 116 | // This theme uses post thumbnails 117 | add_theme_support( 'post-thumbnails' ); 118 | 119 | // Add default posts and comments RSS feed links to head 120 | add_theme_support( 'automatic-feed-links' ); 121 | 122 | /* 123 | * Make theme available for translation. 124 | * Translations can be filed in the /languages/ directory 125 | */ 126 | load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' ); 127 | 128 | // This theme uses wp_nav_menu() in one location. 129 | register_nav_menus( array( 130 | 'primary' => __( 'Primary Navigation', 'twentyten' ), 131 | ) ); 132 | 133 | // This theme allows users to set a custom background. 134 | add_theme_support( 'custom-background', array( 135 | // Let WordPress know what our default background color is. 136 | 'default-color' => 'f1f1f1', 137 | ) ); 138 | 139 | // The custom header business starts here. 140 | 141 | $custom_header_support = array( 142 | /* 143 | * The default image to use. 144 | * The %s is a placeholder for the theme template directory URI. 145 | */ 146 | 'default-image' => '%s/images/headers/path.jpg', 147 | // The height and width of our custom header. 148 | /** 149 | * Filter the Twenty Ten default header image width. 150 | * 151 | * @since Twenty Ten 1.0 152 | * 153 | * @param int The default header image width in pixels. Default 940. 154 | */ 155 | 'width' => apply_filters( 'twentyten_header_image_width', 940 ), 156 | /** 157 | * Filter the Twenty Ten defaul header image height. 158 | * 159 | * @since Twenty Ten 1.0 160 | * 161 | * @param int The default header image height in pixels. Default 198. 162 | */ 163 | 'height' => apply_filters( 'twentyten_header_image_height', 198 ), 164 | // Support flexible heights. 165 | 'flex-height' => true, 166 | // Don't support text inside the header image. 167 | 'header-text' => false, 168 | // Callback for styling the header preview in the admin. 169 | 'admin-head-callback' => 'twentyten_admin_header_style', 170 | ); 171 | 172 | add_theme_support( 'custom-header', $custom_header_support ); 173 | 174 | if ( ! function_exists( 'get_custom_header' ) ) { 175 | // This is all for compatibility with versions of WordPress prior to 3.4. 176 | define( 'HEADER_TEXTCOLOR', '' ); 177 | define( 'NO_HEADER_TEXT', true ); 178 | define( 'HEADER_IMAGE', $custom_header_support['default-image'] ); 179 | define( 'HEADER_IMAGE_WIDTH', $custom_header_support['width'] ); 180 | define( 'HEADER_IMAGE_HEIGHT', $custom_header_support['height'] ); 181 | add_custom_image_header( '', $custom_header_support['admin-head-callback'] ); 182 | add_custom_background(); 183 | } 184 | 185 | /* 186 | * We'll be using post thumbnails for custom header images on posts and pages. 187 | * We want them to be 940 pixels wide by 198 pixels tall. 188 | * Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php. 189 | */ 190 | set_post_thumbnail_size( $custom_header_support['width'], $custom_header_support['height'], true ); 191 | 192 | // ... and thus ends the custom header business. 193 | 194 | // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI. 195 | register_default_headers( array( 196 | 'berries' => array( 197 | 'url' => '%s/images/headers/berries.jpg', 198 | 'thumbnail_url' => '%s/images/headers/berries-thumbnail.jpg', 199 | /* translators: header image description */ 200 | 'description' => __( 'Berries', 'twentyten' ) 201 | ), 202 | 'cherryblossom' => array( 203 | 'url' => '%s/images/headers/cherryblossoms.jpg', 204 | 'thumbnail_url' => '%s/images/headers/cherryblossoms-thumbnail.jpg', 205 | /* translators: header image description */ 206 | 'description' => __( 'Cherry Blossoms', 'twentyten' ) 207 | ), 208 | 'concave' => array( 209 | 'url' => '%s/images/headers/concave.jpg', 210 | 'thumbnail_url' => '%s/images/headers/concave-thumbnail.jpg', 211 | /* translators: header image description */ 212 | 'description' => __( 'Concave', 'twentyten' ) 213 | ), 214 | 'fern' => array( 215 | 'url' => '%s/images/headers/fern.jpg', 216 | 'thumbnail_url' => '%s/images/headers/fern-thumbnail.jpg', 217 | /* translators: header image description */ 218 | 'description' => __( 'Fern', 'twentyten' ) 219 | ), 220 | 'forestfloor' => array( 221 | 'url' => '%s/images/headers/forestfloor.jpg', 222 | 'thumbnail_url' => '%s/images/headers/forestfloor-thumbnail.jpg', 223 | /* translators: header image description */ 224 | 'description' => __( 'Forest Floor', 'twentyten' ) 225 | ), 226 | 'inkwell' => array( 227 | 'url' => '%s/images/headers/inkwell.jpg', 228 | 'thumbnail_url' => '%s/images/headers/inkwell-thumbnail.jpg', 229 | /* translators: header image description */ 230 | 'description' => __( 'Inkwell', 'twentyten' ) 231 | ), 232 | 'path' => array( 233 | 'url' => '%s/images/headers/path.jpg', 234 | 'thumbnail_url' => '%s/images/headers/path-thumbnail.jpg', 235 | /* translators: header image description */ 236 | 'description' => __( 'Path', 'twentyten' ) 237 | ), 238 | 'sunset' => array( 239 | 'url' => '%s/images/headers/sunset.jpg', 240 | 'thumbnail_url' => '%s/images/headers/sunset-thumbnail.jpg', 241 | /* translators: header image description */ 242 | 'description' => __( 'Sunset', 'twentyten' ) 243 | ) 244 | ) ); 245 | } 246 | endif; 247 | 248 | if ( ! function_exists( 'twentyten_admin_header_style' ) ) : 249 | /** 250 | * Style the header image displayed on the Appearance > Header admin panel. 251 | * 252 | * Referenced via add_custom_image_header() in twentyten_setup(). 253 | * 254 | * @since Twenty Ten 1.0 255 | */ 256 | function twentyten_admin_header_style() { 257 | ?> 258 | 269 | ' . __( 'Continue reading ', 'twentyten' ) . ''; 316 | } 317 | endif; 318 | 319 | /** 320 | * Replace "[...]" with an ellipsis and twentyten_continue_reading_link(). 321 | * 322 | * "[...]" is appended to automatically generated excerpts. 323 | * 324 | * To override this in a child theme, remove the filter and add your own 325 | * function tied to the excerpt_more filter hook. 326 | * 327 | * @since Twenty Ten 1.0 328 | * 329 | * @param string $more The Read More text. 330 | * @return string An ellipsis. 331 | */ 332 | function twentyten_auto_excerpt_more( $more ) { 333 | if ( ! is_admin() ) { 334 | return ' …' . twentyten_continue_reading_link(); 335 | } 336 | return $more; 337 | } 338 | add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); 339 | 340 | /** 341 | * Add a pretty "Continue Reading" link to custom post excerpts. 342 | * 343 | * To override this link in a child theme, remove the filter and add your own 344 | * function tied to the get_the_excerpt filter hook. 345 | * 346 | * @since Twenty Ten 1.0 347 | * 348 | * @param string $output The "Coninue Reading" link. 349 | * @return string Excerpt with a pretty "Continue Reading" link. 350 | */ 351 | function twentyten_custom_excerpt_more( $output ) { 352 | if ( has_excerpt() && ! is_attachment() && ! is_admin() ) { 353 | $output .= twentyten_continue_reading_link(); 354 | } 355 | return $output; 356 | } 357 | add_filter( 'get_the_excerpt', 'twentyten_custom_excerpt_more' ); 358 | 359 | /** 360 | * Remove inline styles printed when the gallery shortcode is used. 361 | * 362 | * Galleries are styled by the theme in Twenty Ten's style.css. This is just 363 | * a simple filter call that tells WordPress to not use the default styles. 364 | * 365 | * @since Twenty Ten 1.2 366 | */ 367 | add_filter( 'use_default_gallery_style', '__return_false' ); 368 | 369 | /** 370 | * Deprecated way to remove inline styles printed when the gallery shortcode is used. 371 | * 372 | * This function is no longer needed or used. Use the use_default_gallery_style 373 | * filter instead, as seen above. 374 | * 375 | * @since Twenty Ten 1.0 376 | * @deprecated Deprecated in Twenty Ten 1.2 for WordPress 3.1 377 | * 378 | * @return string The gallery style filter, with the styles themselves removed. 379 | */ 380 | function twentyten_remove_gallery_css( $css ) { 381 | return preg_replace( "##s", '', $css ); 382 | } 383 | // Backwards compatibility with WordPress 3.0. 384 | if ( version_compare( $GLOBALS['wp_version'], '3.1', '<' ) ) 385 | add_filter( 'gallery_style', 'twentyten_remove_gallery_css' ); 386 | 387 | if ( ! function_exists( 'twentyten_comment' ) ) : 388 | /** 389 | * Template for comments and pingbacks. 390 | * 391 | * To override this walker in a child theme without modifying the comments template 392 | * simply create your own twentyten_comment(), and that function will be used instead. 393 | * 394 | * Used as a callback by wp_list_comments() for displaying the comments. 395 | * 396 | * @since Twenty Ten 1.0 397 | * 398 | * @param object $comment The comment object. 399 | * @param array $args An array of arguments. @see get_comment_reply_link() 400 | * @param int $depth The depth of the comment. 401 | */ 402 | function twentyten_comment( $comment, $args, $depth ) { 403 | $GLOBALS['comment'] = $comment; 404 | switch ( $comment->comment_type ) : 405 | case '' : 406 | ?> 407 |
  • id="li-comment-"> 408 |
    409 |
    410 | 411 | says:', 'twentyten' ), sprintf( '%s', get_comment_author_link() ) ); ?> 412 |
    413 | comment_approved == '0' ) : ?> 414 | 415 |
    416 | 417 | 418 | 424 | 425 |
    426 | 427 |
    428 | $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> 429 |
    430 |
    431 | 432 | 437 |
  • 438 |

    439 | __( 'Primary Widget Area', 'twentyten' ), 459 | 'id' => 'primary-widget-area', 460 | 'description' => __( 'Add widgets here to appear in your sidebar.', 'twentyten' ), 461 | 'before_widget' => '
  • ', 462 | 'after_widget' => '
  • ', 463 | 'before_title' => '

    ', 464 | 'after_title' => '

    ', 465 | ) ); 466 | 467 | // Area 2, located below the Primary Widget Area in the sidebar. Empty by default. 468 | register_sidebar( array( 469 | 'name' => __( 'Secondary Widget Area', 'twentyten' ), 470 | 'id' => 'secondary-widget-area', 471 | 'description' => __( 'An optional secondary widget area, displays below the primary widget area in your sidebar.', 'twentyten' ), 472 | 'before_widget' => '
  • ', 473 | 'after_widget' => '
  • ', 474 | 'before_title' => '

    ', 475 | 'after_title' => '

    ', 476 | ) ); 477 | 478 | // Area 3, located in the footer. Empty by default. 479 | register_sidebar( array( 480 | 'name' => __( 'First Footer Widget Area', 'twentyten' ), 481 | 'id' => 'first-footer-widget-area', 482 | 'description' => __( 'An optional widget area for your site footer.', 'twentyten' ), 483 | 'before_widget' => '
  • ', 484 | 'after_widget' => '
  • ', 485 | 'before_title' => '

    ', 486 | 'after_title' => '

    ', 487 | ) ); 488 | 489 | // Area 4, located in the footer. Empty by default. 490 | register_sidebar( array( 491 | 'name' => __( 'Second Footer Widget Area', 'twentyten' ), 492 | 'id' => 'second-footer-widget-area', 493 | 'description' => __( 'An optional widget area for your site footer.', 'twentyten' ), 494 | 'before_widget' => '
  • ', 495 | 'after_widget' => '
  • ', 496 | 'before_title' => '

    ', 497 | 'after_title' => '

    ', 498 | ) ); 499 | 500 | // Area 5, located in the footer. Empty by default. 501 | register_sidebar( array( 502 | 'name' => __( 'Third Footer Widget Area', 'twentyten' ), 503 | 'id' => 'third-footer-widget-area', 504 | 'description' => __( 'An optional widget area for your site footer.', 'twentyten' ), 505 | 'before_widget' => '
  • ', 506 | 'after_widget' => '
  • ', 507 | 'before_title' => '

    ', 508 | 'after_title' => '

    ', 509 | ) ); 510 | 511 | // Area 6, located in the footer. Empty by default. 512 | register_sidebar( array( 513 | 'name' => __( 'Fourth Footer Widget Area', 'twentyten' ), 514 | 'id' => 'fourth-footer-widget-area', 515 | 'description' => __( 'An optional widget area for your site footer.', 'twentyten' ), 516 | 'before_widget' => '
  • ', 517 | 'after_widget' => '
  • ', 518 | 'before_title' => '

    ', 519 | 'after_title' => '

    ', 520 | ) ); 521 | } 522 | /** Register sidebars by running twentyten_widgets_init() on the widgets_init hook. */ 523 | add_action( 'widgets_init', 'twentyten_widgets_init' ); 524 | 525 | /** 526 | * Remove the default styles that are packaged with the Recent Comments widget. 527 | * 528 | * To override this in a child theme, remove the filter and optionally add your own 529 | * function tied to the widgets_init action hook. 530 | * 531 | * This function uses a filter (show_recent_comments_widget_style) new in WordPress 3.1 532 | * to remove the default style. Using Twenty Ten 1.2 in WordPress 3.0 will show the styles, 533 | * but they won't have any effect on the widget in default Twenty Ten styling. 534 | * 535 | * @since Twenty Ten 1.0 536 | */ 537 | function twentyten_remove_recent_comments_style() { 538 | add_filter( 'show_recent_comments_widget_style', '__return_false' ); 539 | } 540 | add_action( 'widgets_init', 'twentyten_remove_recent_comments_style' ); 541 | 542 | if ( ! function_exists( 'twentyten_posted_on' ) ) : 543 | /** 544 | * Print HTML with meta information for the current post-date/time and author. 545 | * 546 | * @since Twenty Ten 1.0 547 | */ 548 | function twentyten_posted_on() { 549 | printf( __( 'Posted on %2$s by %3$s', 'twentyten' ), 550 | 'meta-prep meta-prep-author', 551 | sprintf( '%3$s', 552 | get_permalink(), 553 | esc_attr( get_the_time() ), 554 | get_the_date() 555 | ), 556 | sprintf( '%3$s', 557 | get_author_posts_url( get_the_author_meta( 'ID' ) ), 558 | esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ), 559 | get_the_author() 560 | ) 561 | ); 562 | } 563 | endif; 564 | 565 | if ( ! function_exists( 'twentyten_posted_in' ) ) : 566 | /** 567 | * Print HTML with meta information for the current post (category, tags and permalink). 568 | * 569 | * @since Twenty Ten 1.0 570 | */ 571 | function twentyten_posted_in() { 572 | // Retrieves tag list of current post, separated by commas. 573 | $tag_list = get_the_tag_list( '', ', ' ); 574 | if ( $tag_list && ! is_wp_error( $tag_list ) ) { 575 | $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'twentyten' ); 576 | } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) { 577 | $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'twentyten' ); 578 | } else { 579 | $posted_in = __( 'Bookmark the permalink.', 'twentyten' ); 580 | } 581 | // Prints the string, replacing the placeholders. 582 | printf( 583 | $posted_in, 584 | get_the_category_list( ', ' ), 585 | $tag_list, 586 | get_permalink(), 587 | the_title_attribute( 'echo=0' ) 588 | ); 589 | } 590 | endif; 591 | 592 | /** 593 | * Retrieve the IDs for images in a gallery. 594 | * 595 | * @uses get_post_galleries() First, if available. Falls back to shortcode parsing, 596 | * then as last option uses a get_posts() call. 597 | * 598 | * @since Twenty Ten 1.6. 599 | * 600 | * @return array List of image IDs from the post gallery. 601 | */ 602 | function twentyten_get_gallery_images() { 603 | $images = array(); 604 | 605 | if ( function_exists( 'get_post_galleries' ) ) { 606 | $galleries = get_post_galleries( get_the_ID(), false ); 607 | if ( isset( $galleries[0]['ids'] ) ) 608 | $images = explode( ',', $galleries[0]['ids'] ); 609 | } else { 610 | $pattern = get_shortcode_regex(); 611 | preg_match( "/$pattern/s", get_the_content(), $match ); 612 | $atts = shortcode_parse_atts( $match[3] ); 613 | if ( isset( $atts['ids'] ) ) 614 | $images = explode( ',', $atts['ids'] ); 615 | } 616 | 617 | if ( ! $images ) { 618 | $images = get_posts( array( 619 | 'fields' => 'ids', 620 | 'numberposts' => 999, 621 | 'order' => 'ASC', 622 | 'orderby' => 'menu_order', 623 | 'post_mime_type' => 'image', 624 | 'post_parent' => get_the_ID(), 625 | 'post_type' => 'attachment', 626 | ) ); 627 | } 628 | 629 | return $images; 630 | } 631 | 632 | /** 633 | * Modifies tag cloud widget arguments to display all tags in the same font size 634 | * and use list format for better accessibility. 635 | * 636 | * @since Twenty Ten 2.4 637 | * 638 | * @param array $args Arguments for tag cloud widget. 639 | * @return array The filtered arguments for tag cloud widget. 640 | */ 641 | function twentyten_widget_tag_cloud_args( $args ) { 642 | $args['largest'] = 22; 643 | $args['smallest'] = 8; 644 | $args['unit'] = 'pt'; 645 | $args['format'] = 'list'; 646 | 647 | return $args; 648 | } 649 | add_filter( 'widget_tag_cloud_args', 'twentyten_widget_tag_cloud_args' ); 650 | 651 | /** 652 | * Enqueue scripts and styles for front end. 653 | * 654 | * @since Twenty Ten 2.6 655 | */ 656 | function twentyten_scripts_styles() { 657 | // Theme block stylesheet. 658 | wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018' ); 659 | } 660 | add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' ); 661 | 662 | /** 663 | * Enqueue styles for the block-based editor. 664 | * 665 | * @since Twenty Ten 2.6 666 | */ 667 | function twentyten_block_editor_styles() { 668 | // Block styles. 669 | wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' ); 670 | } 671 | add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' ); 672 | 673 | 674 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | section and everything up till
    . 6 | * 7 | * @package WordPress 8 | * @subpackage Twenty_Ten 9 | * @since Twenty Ten 1.0 10 | */ 11 | ?> 12 | > 13 | 14 | 15 | <?php 16 | /* 17 | * Print the <title> tag based on what is being viewed. 18 | */ 19 | global $page, $paged; 20 | 21 | wp_title( '|', true, 'right' ); 22 | 23 | // Add the blog name. 24 | bloginfo( 'name' ); 25 | 26 | // Add the blog description for the home/front page. 27 | $site_description = get_bloginfo( 'description', 'display' ); 28 | if ( $site_description && ( is_home() || is_front_page() ) ) 29 | echo " | $site_description"; 30 | 31 | // Add a page number if necessary: 32 | if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) 33 | echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ) ); 34 | 35 | ?> 36 | 37 | 38 | 39 | 49 | * tag of your theme, or you will break many plugins, which 50 | * generally use this hook to add elements to such 51 | * as styles, scripts, and meta tags. 52 | */ 53 | wp_head(); 54 | ?> 55 | 56 | 57 | > 58 |
    59 | 111 | 112 |
    113 | -------------------------------------------------------------------------------- /images/headers/berries-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/berries-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/berries.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/berries.jpg -------------------------------------------------------------------------------- /images/headers/cherryblossoms-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/cherryblossoms-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/cherryblossoms.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/cherryblossoms.jpg -------------------------------------------------------------------------------- /images/headers/concave-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/concave-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/concave.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/concave.jpg -------------------------------------------------------------------------------- /images/headers/fern-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/fern-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/fern.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/fern.jpg -------------------------------------------------------------------------------- /images/headers/forestfloor-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/forestfloor-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/forestfloor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/forestfloor.jpg -------------------------------------------------------------------------------- /images/headers/inkwell-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/inkwell-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/inkwell.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/inkwell.jpg -------------------------------------------------------------------------------- /images/headers/path-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/path-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/path.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/path.jpg -------------------------------------------------------------------------------- /images/headers/sunset-thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/sunset-thumbnail.jpg -------------------------------------------------------------------------------- /images/headers/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/headers/sunset.jpg -------------------------------------------------------------------------------- /images/wordpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/images/wordpress.png -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 17 | 18 |
    19 |
    20 | 21 | 29 |
    30 |
    31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /languages/twentyten.pot: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2018 the WordPress team 2 | # This file is distributed under the GNU General Public License v2 or later. 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: Twenty Ten 2.7\n" 6 | "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/twentyten\n" 7 | "POT-Creation-Date: 2018-12-18 17:42:13+00:00\n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n" 12 | "Last-Translator: FULL NAME \n" 13 | "Language-Team: LANGUAGE \n" 14 | 15 | #: 404.php:16 loop.php:33 16 | msgid "Not Found" 17 | msgstr "" 18 | 19 | #: 404.php:18 20 | msgid "Apologies, but the page you requested could not be found. Perhaps searching will help." 21 | msgstr "" 22 | 23 | #: archive.php:34 24 | msgid "Daily Archives: %s" 25 | msgstr "" 26 | 27 | #: archive.php:36 28 | msgid "Monthly Archives: %s" 29 | msgstr "" 30 | 31 | #: archive.php:36 32 | msgctxt "monthly archives date format" 33 | msgid "F Y" 34 | msgstr "" 35 | 36 | #: archive.php:38 37 | msgid "Yearly Archives: %s" 38 | msgstr "" 39 | 40 | #: archive.php:38 41 | msgctxt "yearly archives date format" 42 | msgid "Y" 43 | msgstr "" 44 | 45 | #: archive.php:40 46 | msgid "Blog Archives" 47 | msgstr "" 48 | 49 | #: author.php:28 50 | msgid "Author Archives: %s" 51 | msgstr "" 52 | 53 | #: author.php:47 loop-single.php:46 54 | msgid "About %s" 55 | msgstr "" 56 | 57 | #: category.php:16 58 | msgid "Category Archives: %s" 59 | msgstr "" 60 | 61 | #: comments.php:18 62 | msgid "This post is password protected. Enter the password to view any comments." 63 | msgstr "" 64 | 65 | #: comments.php:36 66 | msgid "One Response to %2$s" 67 | msgid_plural "%1$s Responses to %2$s" 68 | msgstr[0] "" 69 | msgstr[1] "" 70 | 71 | #: comments.php:42 comments.php:62 72 | msgid " Older Comments" 73 | msgstr "" 74 | 75 | #: comments.php:43 comments.php:63 76 | msgid "Newer Comments " 77 | msgstr "" 78 | 79 | #: comments.php:73 80 | msgid "Comments are closed." 81 | msgstr "" 82 | 83 | #: footer.php:45 84 | msgid "https://wordpress.org/" 85 | msgstr "" 86 | 87 | #: footer.php:45 88 | msgid "Semantic Personal Publishing Platform" 89 | msgstr "" 90 | 91 | #: footer.php:46 92 | msgid "Proudly powered by %s." 93 | msgstr "" 94 | 95 | #: functions.php:87 96 | msgid "Blue" 97 | msgstr "" 98 | 99 | #: functions.php:92 100 | msgid "Black" 101 | msgstr "" 102 | 103 | #: functions.php:97 104 | msgid "Medium Gray" 105 | msgstr "" 106 | 107 | #: functions.php:102 108 | msgid "Light Gray" 109 | msgstr "" 110 | 111 | #: functions.php:107 112 | msgid "White" 113 | msgstr "" 114 | 115 | #: functions.php:130 116 | msgid "Primary Navigation" 117 | msgstr "" 118 | 119 | #. translators: header image description 120 | 121 | #: functions.php:200 122 | msgid "Berries" 123 | msgstr "" 124 | 125 | #. translators: header image description 126 | 127 | #: functions.php:206 128 | msgid "Cherry Blossoms" 129 | msgstr "" 130 | 131 | #. translators: header image description 132 | 133 | #: functions.php:212 134 | msgid "Concave" 135 | msgstr "" 136 | 137 | #. translators: header image description 138 | 139 | #: functions.php:218 140 | msgid "Fern" 141 | msgstr "" 142 | 143 | #. translators: header image description 144 | 145 | #: functions.php:224 146 | msgid "Forest Floor" 147 | msgstr "" 148 | 149 | #. translators: header image description 150 | 151 | #: functions.php:230 152 | msgid "Inkwell" 153 | msgstr "" 154 | 155 | #. translators: header image description 156 | 157 | #: functions.php:236 158 | msgid "Path" 159 | msgstr "" 160 | 161 | #. translators: header image description 162 | 163 | #: functions.php:242 164 | msgid "Sunset" 165 | msgstr "" 166 | 167 | #: functions.php:315 loop-attachment.php:119 loop.php:116 loop.php:144 168 | msgid "Continue reading " 169 | msgstr "" 170 | 171 | #: functions.php:411 172 | msgid "%s says:" 173 | msgstr "" 174 | 175 | #: functions.php:414 176 | msgid "Your comment is awaiting moderation." 177 | msgstr "" 178 | 179 | #. translators: 1: date, 2: time 180 | 181 | #: functions.php:421 182 | msgid "%1$s at %2$s" 183 | msgstr "" 184 | 185 | #: functions.php:421 functions.php:438 186 | msgid "(Edit)" 187 | msgstr "" 188 | 189 | #: functions.php:438 190 | msgid "Pingback:" 191 | msgstr "" 192 | 193 | #: functions.php:458 194 | msgid "Primary Widget Area" 195 | msgstr "" 196 | 197 | #: functions.php:460 198 | msgid "Add widgets here to appear in your sidebar." 199 | msgstr "" 200 | 201 | #: functions.php:469 202 | msgid "Secondary Widget Area" 203 | msgstr "" 204 | 205 | #: functions.php:471 206 | msgid "An optional secondary widget area, displays below the primary widget area in your sidebar." 207 | msgstr "" 208 | 209 | #: functions.php:480 210 | msgid "First Footer Widget Area" 211 | msgstr "" 212 | 213 | #: functions.php:482 functions.php:493 functions.php:504 functions.php:515 214 | msgid "An optional widget area for your site footer." 215 | msgstr "" 216 | 217 | #: functions.php:491 218 | msgid "Second Footer Widget Area" 219 | msgstr "" 220 | 221 | #: functions.php:502 222 | msgid "Third Footer Widget Area" 223 | msgstr "" 224 | 225 | #: functions.php:513 226 | msgid "Fourth Footer Widget Area" 227 | msgstr "" 228 | 229 | #: functions.php:549 230 | msgid "Posted on %2$s by %3$s" 231 | msgstr "" 232 | 233 | #: functions.php:558 loop-attachment.php:36 234 | msgid "View all posts by %s" 235 | msgstr "" 236 | 237 | #: functions.php:575 238 | msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." 239 | msgstr "" 240 | 241 | #: functions.php:577 242 | msgid "This entry was posted in %1$s. Bookmark the permalink." 243 | msgstr "" 244 | 245 | #: functions.php:579 246 | msgid "Bookmark the permalink." 247 | msgstr "" 248 | 249 | #: header.php:33 250 | msgid "Page %s" 251 | msgstr "" 252 | 253 | #: header.php:105 254 | msgid "Skip to content" 255 | msgstr "" 256 | 257 | #: loop-attachment.php:21 258 | msgid "Return to %s" 259 | msgstr "" 260 | 261 | #. translators: %s - title of parent post 262 | 263 | #: loop-attachment.php:23 264 | msgid " %s" 265 | msgstr "" 266 | 267 | #: loop-attachment.php:32 268 | msgid "By %2$s" 269 | msgstr "" 270 | 271 | #: loop-attachment.php:43 272 | msgid "Published %2$s" 273 | msgstr "" 274 | 275 | #: loop-attachment.php:53 276 | msgid "Full size is %s pixels" 277 | msgstr "" 278 | 279 | #: loop-attachment.php:56 280 | msgid "Link to full-size image" 281 | msgstr "" 282 | 283 | #: loop-attachment.php:63 loop-attachment.php:126 loop-page.php:30 284 | #: loop-single.php:59 loop.php:101 loop.php:124 loop.php:166 285 | msgid "Edit" 286 | msgstr "" 287 | 288 | #: loop-attachment.php:120 loop-page.php:29 loop-single.php:34 loop.php:145 289 | msgid "Pages:" 290 | msgstr "" 291 | 292 | #: loop-single.php:21 loop-single.php:64 293 | msgctxt "Previous post link" 294 | msgid "←" 295 | msgstr "" 296 | 297 | #: loop-single.php:22 loop-single.php:65 298 | msgctxt "Next post link" 299 | msgid "→" 300 | msgstr "" 301 | 302 | #: loop-single.php:50 303 | msgid "View all posts by %s " 304 | msgstr "" 305 | 306 | #: loop.php:25 loop.php:179 307 | msgid " Older posts" 308 | msgstr "" 309 | 310 | #: loop.php:26 loop.php:180 311 | msgid "Newer posts " 312 | msgstr "" 313 | 314 | #: loop.php:35 315 | msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post." 316 | msgstr "" 317 | 318 | #: loop.php:62 loop.php:96 319 | msgctxt "gallery category slug" 320 | msgid "gallery" 321 | msgstr "" 322 | 323 | #: loop.php:83 324 | msgid "This gallery contains %2$s photo." 325 | msgid_plural "This gallery contains %2$s photos." 326 | msgstr[0] "" 327 | msgstr[1] "" 328 | 329 | #: loop.php:84 330 | msgid "Permalink to %s" 331 | msgstr "" 332 | 333 | #: loop.php:94 334 | msgid "View Galleries" 335 | msgstr "" 336 | 337 | #: loop.php:94 loop.php:97 338 | msgid "More Galleries" 339 | msgstr "" 340 | 341 | #: loop.php:97 342 | msgid "View posts in the Gallery category" 343 | msgstr "" 344 | 345 | #: loop.php:100 loop.php:123 loop.php:165 346 | msgid "Leave a comment" 347 | msgstr "" 348 | 349 | #: loop.php:100 loop.php:123 loop.php:165 350 | msgid "1 Comment" 351 | msgstr "" 352 | 353 | #: loop.php:100 loop.php:123 loop.php:165 354 | msgid "% Comments" 355 | msgstr "" 356 | 357 | #: loop.php:107 358 | msgctxt "asides category slug" 359 | msgid "asides" 360 | msgstr "" 361 | 362 | #: loop.php:152 363 | msgid "Posted in %2$s" 364 | msgstr "" 365 | 366 | #: loop.php:161 367 | msgid "Tagged %2$s" 368 | msgstr "" 369 | 370 | #: search.php:16 371 | msgid "Search Results for: %s" 372 | msgstr "" 373 | 374 | #: search.php:27 375 | msgid "Nothing Found" 376 | msgstr "" 377 | 378 | #: search.php:29 379 | msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords." 380 | msgstr "" 381 | 382 | #: sidebar.php:28 383 | msgid "Archives" 384 | msgstr "" 385 | 386 | #: sidebar.php:35 387 | msgid "Meta" 388 | msgstr "" 389 | 390 | #: tag.php:16 391 | msgid "Tag Archives: %s" 392 | msgstr "" 393 | #. Theme Name of the plugin/theme 394 | msgid "Twenty Ten" 395 | msgstr "" 396 | 397 | #. Theme URI of the plugin/theme 398 | msgid "https://wordpress.org/themes/twentyten/" 399 | msgstr "" 400 | 401 | #. Description of the plugin/theme 402 | msgid "The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the \"Asides\" and \"Gallery\" categories, and has an optional one-column page template that removes the sidebar." 403 | msgstr "" 404 | 405 | #. Author of the plugin/theme 406 | msgid "the WordPress team" 407 | msgstr "" 408 | 409 | #. Author URI of the plugin/theme 410 | msgid "https://wordpress.org/" 411 | msgstr "" 412 | 413 | #. Template Name of the plugin/theme 414 | msgid "One column, no sidebar" 415 | msgstr "" 416 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5 | 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 6 | 7 | Everyone is permitted to copy and distribute verbatim copies 8 | of this license document, but changing it is not allowed. 9 | 10 | Preamble 11 | 12 | The licenses for most software are designed to take away your 13 | freedom to share and change it. By contrast, the GNU General Public 14 | License is intended to guarantee your freedom to share and change free 15 | software--to make sure the software is free for all its users. This 16 | General Public License applies to most of the Free Software 17 | Foundation's software and to any other program whose authors commit to 18 | using it. (Some other Free Software Foundation software is covered by 19 | the GNU Library General Public License instead.) You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | this service if you wish), that you receive source code or can get it 26 | if you want it, that you can change the software or use pieces of it 27 | in new free programs; and that you know you can do these things. 28 | 29 | To protect your rights, we need to make restrictions that forbid 30 | anyone to deny you these rights or to ask you to surrender the rights. 31 | These restrictions translate to certain responsibilities for you if you 32 | distribute copies of the software, or if you modify it. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must give the recipients all the rights that 36 | you have. You must make sure that they, too, receive or can get the 37 | source code. And you must show them these terms so they know their 38 | rights. 39 | 40 | We protect your rights with two steps: (1) copyright the software, and 41 | (2) offer you this license which gives you legal permission to copy, 42 | distribute and/or modify the software. 43 | 44 | Also, for each author's protection and ours, we want to make certain 45 | that everyone understands that there is no warranty for this free 46 | software. If the software is modified by someone else and passed on, we 47 | want its recipients to know that what they have is not the original, so 48 | that any problems introduced by others will not reflect on the original 49 | authors' reputations. 50 | 51 | Finally, any free program is threatened constantly by software 52 | patents. We wish to avoid the danger that redistributors of a free 53 | program will individually obtain patent licenses, in effect making the 54 | program proprietary. To prevent this, we have made it clear that any 55 | patent must be licensed for everyone's free use or not licensed at all. 56 | 57 | The precise terms and conditions for copying, distribution and 58 | modification follow. 59 | 60 | GNU GENERAL PUBLIC LICENSE 61 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 62 | 63 | 0. This License applies to any program or other work which contains 64 | a notice placed by the copyright holder saying it may be distributed 65 | under the terms of this General Public License. The "Program", below, 66 | refers to any such program or work, and a "work based on the Program" 67 | means either the Program or any derivative work under copyright law: 68 | that is to say, a work containing the Program or a portion of it, 69 | either verbatim or with modifications and/or translated into another 70 | language. (Hereinafter, translation is included without limitation in 71 | the term "modification".) Each licensee is addressed as "you". 72 | 73 | Activities other than copying, distribution and modification are not 74 | covered by this License; they are outside its scope. The act of 75 | running the Program is not restricted, and the output from the Program 76 | is covered only if its contents constitute a work based on the 77 | Program (independent of having been made by running the Program). 78 | Whether that is true depends on what the Program does. 79 | 80 | 1. You may copy and distribute verbatim copies of the Program's 81 | source code as you receive it, in any medium, provided that you 82 | conspicuously and appropriately publish on each copy an appropriate 83 | copyright notice and disclaimer of warranty; keep intact all the 84 | notices that refer to this License and to the absence of any warranty; 85 | and give any other recipients of the Program a copy of this License 86 | along with the Program. 87 | 88 | You may charge a fee for the physical act of transferring a copy, and 89 | you may at your option offer warranty protection in exchange for a fee. 90 | 91 | 2. You may modify your copy or copies of the Program or any portion 92 | of it, thus forming a work based on the Program, and copy and 93 | distribute such modifications or work under the terms of Section 1 94 | above, provided that you also meet all of these conditions: 95 | 96 | a) You must cause the modified files to carry prominent notices 97 | stating that you changed the files and the date of any change. 98 | 99 | b) You must cause any work that you distribute or publish, that in 100 | whole or in part contains or is derived from the Program or any 101 | part thereof, to be licensed as a whole at no charge to all third 102 | parties under the terms of this License. 103 | 104 | c) If the modified program normally reads commands interactively 105 | when run, you must cause it, when started running for such 106 | interactive use in the most ordinary way, to print or display an 107 | announcement including an appropriate copyright notice and a 108 | notice that there is no warranty (or else, saying that you provide 109 | a warranty) and that users may redistribute the program under 110 | these conditions, and telling the user how to view a copy of this 111 | License. (Exception: if the Program itself is interactive but 112 | does not normally print such an announcement, your work based on 113 | the Program is not required to print an announcement.) 114 | 115 | These requirements apply to the modified work as a whole. If 116 | identifiable sections of that work are not derived from the Program, 117 | and can be reasonably considered independent and separate works in 118 | themselves, then this License, and its terms, do not apply to those 119 | sections when you distribute them as separate works. But when you 120 | distribute the same sections as part of a whole which is a work based 121 | on the Program, the distribution of the whole must be on the terms of 122 | this License, whose permissions for other licensees extend to the 123 | entire whole, and thus to each and every part regardless of who wrote it. 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | -------------------------------------------------------------------------------- /loop-attachment.php: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | post_parent ) ) : ?> 21 |

    ← %s', 'twentyten' ), get_the_title( $post->post_parent ) ); 24 | ?>

    25 | 26 | 27 |
    > 28 |

    29 | 30 | 65 | 66 |
    67 |
    68 | $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); 70 | foreach ( $attachments as $k => $attachment ) { 71 | if ( $attachment->ID == $post->ID ) 72 | break; 73 | } 74 | 75 | // If there is more than 1 image attachment in a gallery 76 | if ( count( $attachments ) > 1 ) { 77 | $k++; 78 | if ( isset( $attachments[ $k ] ) ) 79 | // get the URL of the next image attachment 80 | $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); 81 | else 82 | // or get the URL of the first image attachment 83 | $next_attachment_url = get_attachment_link( $attachments[0]->ID ); 84 | } else { 85 | // or, if there's only 1 image attachment, get the URL of the image 86 | $next_attachment_url = wp_get_attachment_url(); 87 | } 88 | ?> 89 |

    ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. 107 | ?>

    108 | 109 | 113 | 114 | 115 | 116 |
    117 |
    post_excerpt ) ) the_excerpt(); ?>
    118 | 119 | →', 'twentyten' ) ); ?> 120 | '' ) ); ?> 121 | 122 |
    123 | 124 |
    125 | 126 | ', '' ); ?> 127 |
    128 |
    129 | 130 | 131 | 132 | 133 | -------------------------------------------------------------------------------- /loop-page.php: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 |
    > 21 | 22 |

    23 | 24 |

    25 | 26 | 27 |
    28 | 29 | '' ) ); ?> 30 | ', '' ); ?> 31 |
    32 |
    33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /loop-single.php: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 |
    > 26 |

    27 | 28 | 31 | 32 |
    33 | 34 | '' ) ); ?> 35 |
    36 | 37 | 38 |
    39 |
    40 | 44 |
    45 | 54 |
    55 | 56 | 57 |
    58 | 59 | ', '' ); ?> 60 |
    61 |
    62 | 63 | 67 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /loop.php: -------------------------------------------------------------------------------- 1 | get_template_part( 'loop', 'index' ); 15 | * 16 | * @package WordPress 17 | * @subpackage Twenty_Ten 18 | * @since Twenty Ten 1.0 19 | */ 20 | ?> 21 | 22 | 23 | max_num_pages > 1 ) : ?> 24 | 28 | 29 | 30 | 31 | 32 |
    33 |

    34 |
    35 |

    36 | 37 |
    38 |
    39 | 40 | 41 | 58 | 59 | 60 | 61 | 62 | ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?> 63 |
    > 64 |

    65 | 66 | 69 | 70 |
    71 | 72 | 73 | 74 | 80 | 83 |

    %2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyten' ), 84 | 'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"', 85 | number_format_i18n( $total_images ) 86 | ); ?>

    87 | 88 | 89 | 90 |
    91 | 92 |
    93 | ID ) ) : ?> 94 | 95 | | 96 | term_id ) ) : ?> 97 | 98 | | 99 | 100 | 101 | | ', '' ); ?> 102 |
    103 |
    104 | 105 | 106 | 107 | ID ) ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?> 108 |
    > 109 | 110 | 111 |
    112 | 113 |
    114 | 115 |
    116 | →', 'twentyten' ) ); ?> 117 |
    118 | 119 | 120 |
    121 | 122 | | 123 | 124 | | ', '' ); ?> 125 |
    126 |
    127 | 128 | 129 | 130 | 131 |
    > 132 |

    133 | 134 | 137 | 138 | 139 |
    140 | 141 |
    142 | 143 |
    144 | →', 'twentyten' ) ); ?> 145 | '' ) ); ?> 146 |
    147 | 148 | 149 |
    150 | 151 | 152 | Posted in %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> 153 | 154 | | 155 | 156 | 160 | 161 | Tagged %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?> 162 | 163 | | 164 | 165 | 166 | | ', '' ); ?> 167 |
    168 |
    169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | max_num_pages > 1 ) : ?> 178 | 182 | 183 | -------------------------------------------------------------------------------- /onecolumn-page.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
    18 |
    19 | 20 | 28 | 29 |
    30 |
    31 | 32 | 33 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
    18 |
    19 | 20 | 28 | 29 |
    30 |
    31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | === Twenty Ten === 2 | Contributors: the WordPress team 3 | Requires at least: WordPress 3.0 4 | Tested up to: WordPress 5.0 5 | Stable tag: 2.7 6 | License: GPLv2 or later 7 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 | Tags: blog, two-columns, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header, featured-images, footer-widgets, featured-image-header 9 | 10 | == Description == 11 | The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar. 12 | 13 | For more information about Twenty Ten theme please go to https://codex.wordpress.org/Twenty_Ten. 14 | 15 | == Installation == 16 | 17 | 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button. 18 | 2. Type in Twenty Ten in the search form and press the 'Enter' key in your keyboard. 19 | 3. Click on the 'Activate' button to use your new theme right away. 20 | 4. Go to https://codex.wordpress.org/Twenty_Ten for a guide to customize this theme. 21 | 5. Navigate to Appearance > Customize in your admin panel. 22 | 23 | == Copyright == 24 | 25 | Twenty Ten WordPress Theme, Copyright 2010-2018 WordPress.org & Automattic.com 26 | Twenty Ten is Distributed under the terms of the GNU GPL 27 | 28 | This program is free software: you can redistribute it and/or modify 29 | it under the terms of the GNU General Public License as published by 30 | the Free Software Foundation, either version 2 of the License, or 31 | (at your option) any later version. 32 | 33 | This program is distributed in the hope that it will be useful, 34 | but WITHOUT ANY WARRANTY; without even the implied warranty of 35 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 36 | GNU General Public License for more details. 37 | 38 | == Changelog == 39 | 40 | = 2.7 = 41 | * Released: December 19, 2018 42 | 43 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.7 44 | 45 | = 2.6 = 46 | * Released: December 6, 2018 47 | 48 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.6 49 | 50 | = 2.5 = 51 | * Released: May 17, 2018 52 | 53 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.5 54 | 55 | = 2.4 = 56 | * Released: November 14, 2017 57 | 58 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.4 59 | 60 | = 2.3 = 61 | * Released: June 8, 2017 62 | 63 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.3 64 | 65 | = 2.2 = 66 | * Released: August 15, 2016 67 | 68 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.2 69 | 70 | = 2.1 = 71 | * Released: December 8, 2015 72 | 73 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.1 74 | 75 | = 2.0 = 76 | * Released: August 18, 2015 77 | 78 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_2.0 79 | 80 | = 1.9 = 81 | * Released: April 23, 2015 82 | 83 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.9 84 | 85 | = 1.8 = 86 | * Released: December 18, 2014 87 | 88 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.8 89 | 90 | = 1.7 = 91 | * Released: September 4, 2014 92 | 93 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.7 94 | 95 | = 1.6 = 96 | * Released: August 1, 2013 97 | 98 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.6 99 | 100 | = 1.5 = 101 | * Released: December 11, 2012 102 | 103 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.5 104 | 105 | = 1.4 = 106 | * Released: June 13, 2012 107 | 108 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.4 109 | 110 | = 1.3 = 111 | * Released: December 12, 2011 112 | 113 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.3 114 | 115 | = 1.2 = 116 | * Released: February 23, 2011 117 | 118 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.2 119 | 120 | = 1.1 = 121 | * Released: July 29, 2010 122 | 123 | https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_1.1 124 | 125 | = 1.0 = 126 | * Released: June 17, 2010 127 | 128 | Initial release. 129 | -------------------------------------------------------------------------------- /rtl.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Ten 3 | */ 4 | 5 | 6 | /* 7 | RTL Basics 8 | */ 9 | 10 | 11 | body { 12 | direction:rtl; 13 | unicode-bidi:embed; 14 | } 15 | 16 | 17 | /* 18 | LAYOUT: Two-Column (Right) 19 | DESCRIPTION: Two-column fixed layout with one sidebar right of content 20 | */ 21 | 22 | #container { 23 | float: right; 24 | margin: 0 0 0 -240px; 25 | } 26 | #content { 27 | margin: 0 20px 36px 280px; 28 | } 29 | #primary, 30 | #secondary { 31 | float: left; 32 | } 33 | #secondary { 34 | clear: left; 35 | } 36 | 37 | 38 | /* =Fonts 39 | -------------------------------------------------------------- */ 40 | body, 41 | input, 42 | textarea, 43 | .page-title span, 44 | .pingback a.url, 45 | h3#comments-title, 46 | h3#reply-title, 47 | #access .menu, 48 | #access div.menu ul, 49 | #cancel-comment-reply-link, 50 | .form-allowed-tags, 51 | #site-info, 52 | #site-title, 53 | #wp-calendar, 54 | .comment-meta, 55 | .comment-body tr th, 56 | .comment-body thead th, 57 | .entry-content label, 58 | .entry-content tr th, 59 | .entry-content thead th, 60 | .entry-meta, 61 | .entry-title, 62 | .entry-utility, 63 | #respond label, 64 | .navigation, 65 | .page-title, 66 | .pingback p, 67 | .reply, 68 | .widget-title, 69 | input[type="submit"] { 70 | font-family: Arial, Tahoma, sans-serif; 71 | } 72 | 73 | /* =Structure 74 | -------------------------------------------------------------- */ 75 | 76 | /* The main theme structure */ 77 | #footer-widget-area .widget-area { 78 | float: right; 79 | margin-left: 20px; 80 | margin-right: 0; 81 | } 82 | #footer-widget-area #fourth { 83 | margin-left: 0; 84 | } 85 | #site-info { 86 | float: right; 87 | } 88 | #site-generator { 89 | float: left; 90 | } 91 | 92 | 93 | /* =Global Elements 94 | -------------------------------------------------------------- */ 95 | 96 | /* Text elements */ 97 | ul, ol { 98 | margin: 0 1.5em 18px 0; 99 | } 100 | blockquote { 101 | font-style: normal; 102 | } 103 | 104 | 105 | /* =Header 106 | -------------------------------------------------------------- */ 107 | 108 | #site-title { 109 | float: right; 110 | } 111 | #site-description { 112 | clear: left; 113 | float: left; 114 | font-style: normal; 115 | } 116 | #branding img { 117 | float: right; 118 | } 119 | 120 | /* =Menu 121 | -------------------------------------------------------------- */ 122 | 123 | #access { 124 | float:right; 125 | } 126 | 127 | #access .menu-header, 128 | div.menu { 129 | margin-right: 12px; 130 | margin-left: 0; 131 | } 132 | 133 | #access .menu-header li, 134 | div.menu li{ 135 | float:right; 136 | } 137 | 138 | #access ul ul { 139 | left:auto; 140 | right:0; 141 | float:right; 142 | } 143 | #access ul ul ul { 144 | left:auto; 145 | right:100%; 146 | } 147 | 148 | /* =Content 149 | -------------------------------------------------------------- */ 150 | 151 | #content table { 152 | text-align: right; 153 | margin: 0 0 24px -1px; 154 | } 155 | .page-title span { 156 | font-style:normal; 157 | } 158 | .entry-title, 159 | .entry-meta { 160 | clear: right; 161 | float: right; 162 | margin-left: 68px; 163 | margin-right: 0; 164 | } 165 | 166 | .entry-content input.file, 167 | .entry-content input.button { 168 | margin-left: 24px; 169 | margin-right:0; 170 | } 171 | .entry-content blockquote.left { 172 | float: right; 173 | margin-right: 0; 174 | margin-left: 24px; 175 | text-align: left; 176 | } 177 | .entry-content blockquote.right { 178 | float: left; 179 | margin-right: 24px; 180 | margin-left: 0; 181 | text-align: right; 182 | } 183 | #entry-author-info #author-avatar { 184 | float: right; 185 | margin: 0 0 0 -104px; 186 | } 187 | #entry-author-info #author-description { 188 | float: right; 189 | margin: 0 104px 0 0; 190 | } 191 | 192 | /* Gallery listing 193 | -------------------------------------------------------------- */ 194 | 195 | .category-gallery .gallery-thumb { 196 | float: right; 197 | margin-left:20px; 198 | margin-right:0; 199 | } 200 | 201 | 202 | /* Images 203 | -------------------------------------------------------------- */ 204 | 205 | #content .gallery .gallery-caption { 206 | margin-right: 0; 207 | } 208 | 209 | #content .gallery .gallery-item { 210 | float: right; 211 | } 212 | 213 | /* =Navigation 214 | -------------------------------------------------------------- */ 215 | .nav-previous { 216 | float: right; 217 | } 218 | .nav-next { 219 | float: left; 220 | text-align:left; 221 | } 222 | 223 | /* =Comments 224 | -------------------------------------------------------------- */ 225 | 226 | .commentlist li.comment { 227 | padding: 0 56px 0 0; 228 | } 229 | .commentlist .avatar { 230 | right: 0; 231 | left: auto; 232 | } 233 | .comment-author .says, #comments .pingback .url { 234 | font-style: normal; 235 | } 236 | 237 | /* Comments form */ 238 | .children #respond { 239 | margin: 0 0 0 48px; 240 | } 241 | #respond #wp-comment-cookies-consent { 242 | margin: 0 0 0 10px; 243 | } 244 | 245 | /* =Widget Areas 246 | -------------------------------------------------------------- */ 247 | 248 | .widget-area ul { 249 | margin-right: 0; 250 | } 251 | .widget-area ul ul { 252 | margin-right: 1.3em; 253 | margin-left: 0; 254 | } 255 | #wp-calendar caption { 256 | text-align: right; 257 | } 258 | #wp-calendar tfoot #next { 259 | text-align: left; 260 | } 261 | 262 | /* Main sidebars */ 263 | #main .widget-area ul { 264 | margin-right: 0; 265 | padding: 0 0 0 20px; 266 | } 267 | #main .widget-area ul ul { 268 | margin-right: 1.3em; 269 | margin-left: 0; 270 | } 271 | .widget_text ol { 272 | margin-left: auto; 273 | margin-right: 1.3em; 274 | } 275 | 276 | #main .widget-area .tagcloud ul, 277 | .widget-area .tagcloud ul { 278 | margin-right: 0; 279 | } 280 | 281 | /* =Footer 282 | -------------------------------------------------------------- */ 283 | #site-generator { 284 | font-style:normal; 285 | } 286 | #site-generator a { 287 | background-position: right center; 288 | padding-right: 20px; 289 | padding-left: 0; 290 | } -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/santa70916112/wordpress-initial/9c89446bc8c653836fb8cd55685dadc69f94d845/screenshot.png -------------------------------------------------------------------------------- /search.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
    13 |
    14 | 15 | 16 |

    ' . get_search_query() . '' ); ?>

    17 | 25 | 26 |
    27 |

    28 |
    29 |

    30 | 31 |
    32 |
    33 | 34 |
    35 |
    36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /sidebar-footer.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 26 | 27 | 62 | -------------------------------------------------------------------------------- /sidebar.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 46 | 47 | 50 | 51 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /single.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
    13 |
    14 | 15 | 23 | 24 |
    25 |
    26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Twenty Ten 3 | Theme URI: https://wordpress.org/themes/twentyten/ 4 | Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar. 5 | Author: the WordPress team 6 | Author URI: https://wordpress.org/ 7 | Version: 2.7 8 | License: GNU General Public License v2 or later 9 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 | Tags: blog, two-columns, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header, featured-images, footer-widgets, featured-image-header 11 | Text Domain: twentyten 12 | */ 13 | 14 | 15 | /* =Reset default browser CSS. Based on work by Eric Meyer. 16 | -------------------------------------------------------------- */ 17 | 18 | html, body, div, span, applet, object, iframe, 19 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 20 | a, abbr, acronym, address, big, cite, code, 21 | del, dfn, em, font, img, ins, kbd, q, s, samp, 22 | small, strike, strong, sub, sup, tt, var, 23 | b, u, i, center, 24 | dl, dt, dd, ol, ul, li, 25 | fieldset, form, label, legend, 26 | table, caption, tbody, tfoot, thead, tr, th, td { 27 | background: transparent; 28 | border: 0; 29 | margin: 0; 30 | padding: 0; 31 | vertical-align: baseline; 32 | } 33 | body { 34 | line-height: 1; 35 | } 36 | h1, h2, h3, h4, h5, h6 { 37 | clear: both; 38 | font-weight: normal; 39 | } 40 | ol, ul { 41 | list-style: none; 42 | } 43 | blockquote { 44 | quotes: none; 45 | } 46 | blockquote:before, blockquote:after { 47 | content: ''; 48 | content: none; 49 | } 50 | del { 51 | text-decoration: line-through; 52 | } 53 | /* tables still need 'cellspacing="0"' in the markup */ 54 | table { 55 | border-collapse: collapse; 56 | border-spacing: 0; 57 | } 58 | a img { 59 | border: none; 60 | } 61 | 62 | /* =Layout 63 | -------------------------------------------------------------- */ 64 | 65 | /* 66 | LAYOUT: Two columns 67 | DESCRIPTION: Two-column fixed layout with one sidebar right of content 68 | */ 69 | 70 | #container { 71 | float: left; 72 | margin: 0 -240px 0 0; 73 | width: 100%; 74 | } 75 | #content { 76 | margin: 0 280px 0 20px; 77 | } 78 | #primary, 79 | #secondary { 80 | float: right; 81 | overflow: hidden; 82 | width: 220px; 83 | } 84 | #secondary { 85 | clear: right; 86 | } 87 | #footer { 88 | clear: both; 89 | width: 100%; 90 | } 91 | 92 | /* 93 | LAYOUT: One column, no sidebar 94 | DESCRIPTION: One centered column with no sidebar 95 | */ 96 | 97 | .one-column #content { 98 | margin: 0 auto; 99 | width: 640px; 100 | } 101 | 102 | /* 103 | LAYOUT: Full width, no sidebar 104 | DESCRIPTION: Full width content with no sidebar; used for attachment pages 105 | */ 106 | 107 | .single-attachment #content { 108 | margin: 0 auto; 109 | width: 900px; 110 | } 111 | 112 | 113 | /* =Fonts 114 | -------------------------------------------------------------- */ 115 | body, 116 | input, 117 | textarea, 118 | .page-title span, 119 | .pingback a.url { 120 | font-family: Georgia, "Bitstream Charter", serif; 121 | } 122 | h3#comments-title, 123 | h3#reply-title, 124 | #access .menu, 125 | #access div.menu ul, 126 | #cancel-comment-reply-link, 127 | .form-allowed-tags, 128 | #site-info, 129 | #site-title, 130 | #wp-calendar, 131 | .comment-meta, 132 | .comment-body tr th, 133 | .comment-body thead th, 134 | .entry-content label, 135 | .entry-content tr th, 136 | .entry-content thead th, 137 | .entry-meta, 138 | .entry-title, 139 | .entry-utility, 140 | #respond label, 141 | .navigation, 142 | .page-title, 143 | .pingback p, 144 | .reply, 145 | .widget-title, 146 | .wp-caption-text { 147 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 148 | } 149 | input[type="submit"] { 150 | font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; 151 | } 152 | pre { 153 | font-family: "Courier 10 Pitch", Courier, monospace; 154 | } 155 | code { 156 | font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 157 | } 158 | 159 | 160 | /* =Structure 161 | -------------------------------------------------------------- */ 162 | 163 | /* The main theme structure */ 164 | #access .menu-header, 165 | div.menu, 166 | #colophon, 167 | #branding, 168 | #main, 169 | #wrapper { 170 | margin: 0 auto; 171 | width: 940px; 172 | } 173 | #wrapper { 174 | background: #fff; 175 | margin-top: 20px; 176 | padding: 0 20px; 177 | } 178 | 179 | /* Structure the footer area */ 180 | #footer-widget-area { 181 | overflow: hidden; 182 | } 183 | #footer-widget-area .widget-area { 184 | float: left; 185 | margin-right: 20px; 186 | width: 220px; 187 | } 188 | #footer-widget-area #fourth { 189 | margin-right: 0; 190 | } 191 | #site-info { 192 | float: left; 193 | font-size: 14px; 194 | font-weight: bold; 195 | width: 700px; 196 | } 197 | #site-generator { 198 | float: right; 199 | width: 220px; 200 | } 201 | 202 | 203 | /* =Global Elements 204 | -------------------------------------------------------------- */ 205 | 206 | /* Main global 'theme' and typographic styles */ 207 | body { 208 | background: #f1f1f1; 209 | } 210 | body, 211 | input, 212 | textarea { 213 | color: #666; 214 | font-size: 12px; 215 | line-height: 18px; 216 | } 217 | hr { 218 | background-color: #e7e7e7; 219 | border: 0; 220 | clear: both; 221 | height: 1px; 222 | margin-bottom: 18px; 223 | } 224 | 225 | /* Text elements */ 226 | p { 227 | margin-bottom: 18px; 228 | } 229 | ul { 230 | list-style: square; 231 | margin: 0 0 18px 1.5em; 232 | } 233 | ol { 234 | list-style: decimal; 235 | margin: 0 0 18px 1.5em; 236 | } 237 | ol ol { 238 | list-style: upper-alpha; 239 | } 240 | ol ol ol { 241 | list-style: lower-roman; 242 | } 243 | ol ol ol ol { 244 | list-style: lower-alpha; 245 | } 246 | ul ul, 247 | ol ol, 248 | ul ol, 249 | ol ul { 250 | margin-bottom: 0; 251 | } 252 | dl { 253 | margin: 0 0 24px 0; 254 | } 255 | dt { 256 | font-weight: bold; 257 | } 258 | dd { 259 | margin-bottom: 18px; 260 | } 261 | strong { 262 | font-weight: bold; 263 | } 264 | cite, 265 | em, 266 | i { 267 | font-style: italic; 268 | } 269 | big { 270 | font-size: 131.25%; 271 | } 272 | ins { 273 | background: #ffc; 274 | text-decoration: none; 275 | } 276 | blockquote { 277 | font-style: italic; 278 | padding: 0 3em; 279 | } 280 | blockquote cite, 281 | blockquote em, 282 | blockquote i { 283 | font-style: normal; 284 | } 285 | pre { 286 | background: #f7f7f7; 287 | color: #222; 288 | line-height: 18px; 289 | margin-bottom: 18px; 290 | overflow: auto; 291 | padding: 1.5em; 292 | } 293 | abbr, 294 | acronym { 295 | border-bottom: 1px dotted #666; 296 | cursor: help; 297 | } 298 | sup, 299 | sub { 300 | height: 0; 301 | line-height: 1; 302 | position: relative; 303 | vertical-align: baseline; 304 | } 305 | sup { 306 | bottom: 1ex; 307 | } 308 | sub { 309 | top: .5ex; 310 | } 311 | small { 312 | font-size: smaller; 313 | } 314 | input[type="text"], 315 | input[type="password"], 316 | input[type="email"], 317 | input[type="url"], 318 | input[type="number"], 319 | textarea { 320 | background: #f9f9f9; 321 | border: 1px solid #ccc; 322 | box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 323 | -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 324 | -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1); 325 | padding: 2px; 326 | } 327 | a:link { 328 | color: #0066cc; 329 | } 330 | a:visited { 331 | color: #743399; 332 | } 333 | a:active, 334 | a:hover { 335 | color: #ff4b33; 336 | } 337 | 338 | /* Text meant only for screen readers */ 339 | .screen-reader-text { 340 | clip: rect(1px, 1px, 1px, 1px); 341 | overflow: hidden; 342 | position: absolute !important; 343 | height: 1px; 344 | width: 1px; 345 | } 346 | 347 | 348 | /* =Header 349 | -------------------------------------------------------------- */ 350 | 351 | #header { 352 | padding: 30px 0 0 0; 353 | } 354 | #site-title { 355 | float: left; 356 | font-size: 30px; 357 | line-height: 36px; 358 | margin: 0 0 18px 0; 359 | width: 700px; 360 | } 361 | #site-title a { 362 | color: #000; 363 | font-weight: bold; 364 | text-decoration: none; 365 | } 366 | #site-description { 367 | clear: right; 368 | float: right; 369 | font-style: italic; 370 | margin: 15px 0 18px 0; 371 | width: 220px; 372 | } 373 | 374 | /* This is the custom header image */ 375 | #branding img { 376 | border-top: 4px solid #000; 377 | border-bottom: 1px solid #000; 378 | display: block; 379 | float: left; 380 | } 381 | 382 | 383 | /* =Menu 384 | -------------------------------------------------------------- */ 385 | 386 | #access { 387 | background: #000; 388 | display: block; 389 | float: left; 390 | margin: 0 auto; 391 | width: 940px; 392 | } 393 | #access .menu-header, 394 | div.menu { 395 | font-size: 13px; 396 | margin-left: 12px; 397 | width: 928px; 398 | } 399 | #access .menu-header ul, 400 | div.menu ul { 401 | list-style: none; 402 | margin: 0; 403 | } 404 | #access .menu-header li, 405 | div.menu li { 406 | float: left; 407 | position: relative; 408 | } 409 | #access a { 410 | color: #aaa; 411 | display: block; 412 | line-height: 38px; 413 | padding: 0 10px; 414 | text-decoration: none; 415 | } 416 | #access ul ul { 417 | box-shadow: 0px 3px 3px rgba(0,0,0,0.2); 418 | -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); 419 | -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); 420 | display: none; 421 | position: absolute; 422 | top: 38px; 423 | left: 0; 424 | float: left; 425 | width: 180px; 426 | z-index: 99999; 427 | } 428 | #access ul ul li { 429 | min-width: 180px; 430 | } 431 | #access ul ul ul { 432 | left: 100%; 433 | top: 0; 434 | } 435 | #access ul ul a { 436 | background: #333; 437 | line-height: 1em; 438 | padding: 10px; 439 | width: 160px; 440 | height: auto; 441 | } 442 | #access li:hover > a, 443 | #access ul ul :hover > a { 444 | background: #333; 445 | color: #fff; 446 | } 447 | #access ul li:hover > ul { 448 | display: block; 449 | } 450 | #access ul li.current_page_item > a, 451 | #access ul li.current_page_ancestor > a, 452 | #access ul li.current-menu-ancestor > a, 453 | #access ul li.current-menu-item > a, 454 | #access ul li.current-menu-parent > a { 455 | color: #fff; 456 | } 457 | * html #access ul li.current_page_item a, 458 | * html #access ul li.current_page_ancestor a, 459 | * html #access ul li.current-menu-ancestor a, 460 | * html #access ul li.current-menu-item a, 461 | * html #access ul li.current-menu-parent a, 462 | * html #access ul li a:hover { 463 | color: #fff; 464 | } 465 | 466 | 467 | /* =Content 468 | -------------------------------------------------------------- */ 469 | 470 | #main { 471 | clear: both; 472 | overflow: hidden; 473 | padding: 40px 0 0 0; 474 | } 475 | #content { 476 | margin-bottom: 36px; 477 | } 478 | #content, 479 | #content input, 480 | #content textarea { 481 | color: #333; 482 | font-size: 16px; 483 | line-height: 24px; 484 | } 485 | #content p, 486 | #content ul, 487 | #content ol, 488 | #content dd, 489 | #content pre, 490 | #content hr { 491 | margin-bottom: 24px; 492 | } 493 | #content ul ul, 494 | #content ol ol, 495 | #content ul ol, 496 | #content ol ul { 497 | margin-bottom: 0; 498 | } 499 | #content pre, 500 | #content kbd, 501 | #content tt, 502 | #content var { 503 | font-size: 15px; 504 | line-height: 21px; 505 | } 506 | #content code { 507 | font-size: 13px; 508 | } 509 | #content dt, 510 | #content th { 511 | color: #000; 512 | } 513 | #content h1, 514 | #content h2, 515 | #content h3, 516 | #content h4, 517 | #content h5, 518 | #content h6 { 519 | color: #000; 520 | line-height: 1.5em; 521 | margin: 0 0 20px 0; 522 | } 523 | #content table { 524 | border: 1px solid #e7e7e7; 525 | margin: 0 -1px 24px 0; 526 | text-align: left; 527 | width: 100%; 528 | } 529 | #content tr th, 530 | #content thead th { 531 | color: #777; 532 | font-size: 12px; 533 | font-weight: bold; 534 | line-height: 18px; 535 | padding: 9px 24px; 536 | } 537 | #content tr td { 538 | border-top: 1px solid #e7e7e7; 539 | padding: 6px 24px; 540 | } 541 | #content tr.odd td { 542 | background: #f2f7fc; 543 | } 544 | .hentry { 545 | margin: 0 0 48px 0; 546 | } 547 | .home .sticky { 548 | background: #f2f7fc; 549 | border-top: 4px solid #000; 550 | margin-left: -20px; 551 | margin-right: -20px; 552 | padding: 18px 20px; 553 | } 554 | .single .hentry { 555 | margin: 0 0 36px 0; 556 | } 557 | .page-title { 558 | color: #000; 559 | font-size: 14px; 560 | font-weight: bold; 561 | margin: 0 0 36px 0; 562 | } 563 | .page-title span { 564 | color: #333; 565 | font-size: 16px; 566 | font-style: italic; 567 | font-weight: normal; 568 | } 569 | .page-title a:link, 570 | .page-title a:visited { 571 | color: #777; 572 | text-decoration: none; 573 | } 574 | .page-title a:active, 575 | .page-title a:hover { 576 | color: #ff4b33; 577 | } 578 | #content .entry-title { 579 | color: #000; 580 | font-size: 21px; 581 | font-weight: bold; 582 | line-height: 1.3em; 583 | margin-bottom: 0; 584 | } 585 | .entry-title a:link, 586 | .entry-title a:visited { 587 | color: #000; 588 | text-decoration: none; 589 | } 590 | .entry-title a:active, 591 | .entry-title a:hover { 592 | color: #ff4b33; 593 | } 594 | .entry-meta { 595 | color: #777; 596 | font-size: 12px; 597 | } 598 | .entry-meta abbr, 599 | .entry-utility abbr { 600 | border: none; 601 | } 602 | .entry-meta abbr:hover, 603 | .entry-utility abbr:hover { 604 | border-bottom: 1px dotted #666; 605 | } 606 | .entry-content, 607 | .entry-summary { 608 | clear: both; 609 | padding: 12px 0 0 0; 610 | } 611 | .entry-content .more-link { 612 | white-space: nowrap; 613 | } 614 | #content .entry-summary p:last-child { 615 | margin-bottom: 12px; 616 | } 617 | .entry-content fieldset { 618 | border: 1px solid #e7e7e7; 619 | margin: 0 0 24px 0; 620 | padding: 24px; 621 | } 622 | .entry-content fieldset legend { 623 | background: #fff; 624 | color: #000; 625 | font-weight: bold; 626 | padding: 0 24px; 627 | } 628 | .entry-content input { 629 | margin: 0 0 24px 0; 630 | } 631 | .entry-content input.file, 632 | .entry-content input.button { 633 | margin-right: 24px; 634 | } 635 | .entry-content label { 636 | color: #777; 637 | font-size: 12px; 638 | } 639 | .entry-content select { 640 | margin: 0 0 24px 0; 641 | } 642 | .entry-content sup, 643 | .entry-content sub { 644 | font-size: 10px; 645 | } 646 | .entry-content blockquote.left { 647 | float: left; 648 | margin-left: 0; 649 | margin-right: 24px; 650 | text-align: right; 651 | width: 33%; 652 | } 653 | .entry-content blockquote.right { 654 | float: right; 655 | margin-left: 24px; 656 | margin-right: 0; 657 | text-align: left; 658 | width: 33%; 659 | } 660 | .page-link { 661 | clear: both; 662 | color: #000; 663 | font-weight: bold; 664 | line-height: 48px; 665 | word-spacing: 0.5em; 666 | } 667 | .page-link a:link, 668 | .page-link a:visited { 669 | background: #f1f1f1; 670 | color: #333; 671 | font-weight: normal; 672 | padding: 0.5em 0.75em; 673 | text-decoration: none; 674 | } 675 | .home .sticky .page-link a { 676 | background: #d9e8f7; 677 | } 678 | .page-link a:active, 679 | .page-link a:hover { 680 | color: #ff4b33; 681 | } 682 | body.page .edit-link { 683 | clear: both; 684 | display: block; 685 | } 686 | #entry-author-info { 687 | background: #f2f7fc; 688 | border-top: 4px solid #000; 689 | clear: both; 690 | font-size: 14px; 691 | line-height: 20px; 692 | margin: 24px 0; 693 | overflow: hidden; 694 | padding: 18px 20px; 695 | } 696 | #entry-author-info #author-avatar { 697 | background: #fff; 698 | border: 1px solid #e7e7e7; 699 | float: left; 700 | height: 60px; 701 | margin: 0 -104px 0 0; 702 | padding: 11px; 703 | } 704 | #entry-author-info #author-description { 705 | float: left; 706 | margin: 0 0 0 104px; 707 | } 708 | #entry-author-info h2 { 709 | color: #000; 710 | font-size: 100%; 711 | font-weight: bold; 712 | margin-bottom: 0; 713 | } 714 | .entry-utility { 715 | clear: both; 716 | color: #777; 717 | font-size: 12px; 718 | line-height: 18px; 719 | } 720 | .entry-meta a, 721 | .entry-utility a { 722 | color: #777; 723 | } 724 | .entry-meta a:hover, 725 | .entry-utility a:hover { 726 | color: #ff4b33; 727 | } 728 | #content .video-player { 729 | padding: 0; 730 | } 731 | .format-standard .wp-video, 732 | .format-standard .wp-audio-shortcode, 733 | .format-audio .wp-audio-shortcode, 734 | .format-standard .video-player { 735 | margin-bottom: 24px; 736 | } 737 | 738 | /* =Asides 739 | -------------------------------------------------------------- */ 740 | 741 | .home #content .format-aside p, 742 | .home #content .category-asides p { 743 | font-size: 14px; 744 | line-height: 20px; 745 | margin-bottom: 10px; 746 | margin-top: 0; 747 | } 748 | .home .hentry.format-aside, 749 | .home .hentry.category-asides { 750 | padding: 0; 751 | } 752 | .home #content .format-aside .entry-content, 753 | .home #content .category-asides .entry-content { 754 | padding-top: 0; 755 | } 756 | 757 | 758 | /* =Gallery listing 759 | -------------------------------------------------------------- */ 760 | 761 | .format-gallery .size-thumbnail img, 762 | .category-gallery .size-thumbnail img { 763 | border: 10px solid #f1f1f1; 764 | margin-bottom: 0; 765 | } 766 | .format-gallery .gallery-thumb, 767 | .category-gallery .gallery-thumb { 768 | float: left; 769 | margin-right: 20px; 770 | margin-top: -4px; 771 | } 772 | .home #content .format-gallery .entry-utility, 773 | .home #content .category-gallery .entry-utility { 774 | padding-top: 4px; 775 | } 776 | 777 | 778 | /* =Attachment pages 779 | -------------------------------------------------------------- */ 780 | 781 | .attachment .entry-content .entry-caption { 782 | font-size: 140%; 783 | margin-top: 24px; 784 | } 785 | .attachment .entry-content .nav-previous a:before { 786 | content: '\2190\00a0'; 787 | } 788 | .attachment .entry-content .nav-next a:after { 789 | content: '\00a0\2192'; 790 | } 791 | 792 | 793 | /* =Images 794 | -------------------------------------------------------------- */ 795 | 796 | /* 797 | Resize images to fit the main content area. 798 | - Applies only to images uploaded via WordPress by targeting size-* classes. 799 | - Other images will be left alone. Use "size-auto" class to apply to other images. 800 | */ 801 | img.size-auto, 802 | img.size-full, 803 | img.size-large, 804 | img.size-medium, 805 | .attachment img, 806 | .widget-container img { 807 | max-width: 100%; /* When images are too wide for containing element, force them to fit. */ 808 | height: auto; /* Override height to match resized width for correct aspect ratio. */ 809 | } 810 | .alignleft, 811 | img.alignleft { 812 | display: inline; 813 | float: left; 814 | margin-right: 24px; 815 | margin-top: 4px; 816 | } 817 | .alignright, 818 | img.alignright { 819 | display: inline; 820 | float: right; 821 | margin-left: 24px; 822 | margin-top: 4px; 823 | } 824 | .aligncenter, 825 | img.aligncenter { 826 | clear: both; 827 | display: block; 828 | margin-left: auto; 829 | margin-right: auto; 830 | } 831 | img.alignleft, 832 | img.alignright, 833 | img.aligncenter { 834 | margin-bottom: 12px; 835 | } 836 | .wp-caption { 837 | background: #f1f1f1; 838 | line-height: 18px; 839 | margin-bottom: 20px; 840 | max-width: 632px !important; /* prevent too-wide images from breaking layout */ 841 | padding: 4px; 842 | text-align: center; 843 | } 844 | .widget-container .wp-caption { 845 | max-width: 100% !important; 846 | } 847 | .wp-caption img { 848 | margin: 5px 5px 0; 849 | max-width: 622px; /* caption width - 10px */ 850 | } 851 | .wp-caption p.wp-caption-text { 852 | color: #777; 853 | font-size: 12px; 854 | margin: 5px; 855 | } 856 | .wp-smiley { 857 | margin: 0; 858 | } 859 | .gallery { 860 | margin: 0 auto 18px; 861 | } 862 | .gallery .gallery-item { 863 | float: left; 864 | margin-top: 0; 865 | text-align: center; 866 | width: 33%; 867 | } 868 | .gallery-columns-2 .gallery-item { 869 | width: 50%; 870 | } 871 | .gallery-columns-4 .gallery-item { 872 | width: 25%; 873 | } 874 | .gallery img { 875 | border: 2px solid #cfcfcf; 876 | } 877 | .gallery-columns-2 .attachment-medium { 878 | max-width: 92%; 879 | height: auto; 880 | } 881 | .gallery-columns-4 .attachment-thumbnail { 882 | max-width: 84%; 883 | height: auto; 884 | } 885 | .gallery .gallery-caption { 886 | color: #777; 887 | font-size: 12px; 888 | margin: 0 0 12px; 889 | } 890 | .gallery dl { 891 | margin: 0; 892 | } 893 | .gallery img { 894 | border: 10px solid #f1f1f1; 895 | } 896 | .gallery br+br { 897 | display: none; 898 | } 899 | #content .attachment img {/* single attachment images should be centered */ 900 | display: block; 901 | margin: 0 auto; 902 | } 903 | 904 | 905 | /* =Navigation 906 | -------------------------------------------------------------- */ 907 | 908 | .navigation { 909 | color: #777; 910 | font-size: 12px; 911 | line-height: 18px; 912 | overflow: hidden; 913 | } 914 | .navigation a:link, 915 | .navigation a:visited { 916 | color: #777; 917 | text-decoration: none; 918 | } 919 | .navigation a:active, 920 | .navigation a:hover { 921 | color: #ff4b33; 922 | } 923 | .nav-previous { 924 | float: left; 925 | width: 50%; 926 | } 927 | .nav-next { 928 | float: right; 929 | text-align: right; 930 | width: 50%; 931 | } 932 | #nav-above { 933 | margin: 0 0 18px 0; 934 | } 935 | #nav-above { 936 | display: none; 937 | } 938 | .paged #nav-above, 939 | .single #nav-above { 940 | display: block; 941 | } 942 | #nav-below { 943 | margin: -18px 0 0 0; 944 | } 945 | 946 | 947 | /* =Comments 948 | -------------------------------------------------------------- */ 949 | #comments { 950 | clear: both; 951 | } 952 | #comments .navigation { 953 | padding: 0 0 18px 0; 954 | } 955 | h3#comments-title, 956 | h3#reply-title { 957 | color: #000; 958 | font-size: 20px; 959 | font-weight: bold; 960 | margin-bottom: 0; 961 | } 962 | h3#comments-title { 963 | padding: 24px 0; 964 | } 965 | .commentlist { 966 | list-style: none; 967 | margin: 0; 968 | } 969 | .commentlist li.comment { 970 | border-bottom: 1px solid #e7e7e7; 971 | line-height: 24px; 972 | margin: 0 0 24px 0; 973 | padding: 0 0 0 56px; 974 | position: relative; 975 | } 976 | .commentlist li:last-child { 977 | border-bottom: none; 978 | margin-bottom: 0; 979 | } 980 | #comments .comment-body ul, 981 | #comments .comment-body ol { 982 | margin-bottom: 18px; 983 | } 984 | #comments .comment-body p:last-child { 985 | margin-bottom: 6px; 986 | } 987 | #comments .comment-body blockquote p:last-child { 988 | margin-bottom: 24px; 989 | } 990 | .commentlist ol { 991 | list-style: decimal; 992 | } 993 | .commentlist .avatar { 994 | position: absolute; 995 | top: 4px; 996 | left: 0; 997 | } 998 | .comment-author { 999 | } 1000 | .comment-author cite { 1001 | color: #000; 1002 | font-style: normal; 1003 | font-weight: bold; 1004 | } 1005 | .comment-author .says { 1006 | font-style: italic; 1007 | } 1008 | .comment-meta { 1009 | font-size: 12px; 1010 | margin: 0 0 18px 0; 1011 | } 1012 | .comment-meta a:link, 1013 | .comment-meta a:visited { 1014 | color: #777; 1015 | text-decoration: none; 1016 | } 1017 | .comment-meta a:active, 1018 | .comment-meta a:hover { 1019 | color: #ff4b33; 1020 | } 1021 | .commentlist .even { 1022 | } 1023 | .commentlist .bypostauthor { 1024 | } 1025 | .reply { 1026 | font-size: 12px; 1027 | padding: 0 0 24px 0; 1028 | } 1029 | .reply a, 1030 | a.comment-edit-link { 1031 | color: #777; 1032 | } 1033 | .reply a:hover, 1034 | a.comment-edit-link:hover { 1035 | color: #ff4b33; 1036 | } 1037 | .commentlist .children { 1038 | list-style: none; 1039 | margin: 0; 1040 | } 1041 | .commentlist .children li { 1042 | border: none; 1043 | margin: 0; 1044 | } 1045 | .nopassword, 1046 | .nocomments { 1047 | display: none; 1048 | } 1049 | #comments .pingback { 1050 | border-bottom: 1px solid #e7e7e7; 1051 | margin-bottom: 18px; 1052 | padding-bottom: 18px; 1053 | } 1054 | .commentlist li.comment+li.pingback { 1055 | margin-top: -6px; 1056 | } 1057 | #comments .pingback p { 1058 | color: #777; 1059 | display: block; 1060 | font-size: 12px; 1061 | line-height: 18px; 1062 | margin: 0; 1063 | } 1064 | #comments .pingback .url { 1065 | font-size: 13px; 1066 | font-style: italic; 1067 | } 1068 | 1069 | /* Comments form */ 1070 | input[type="submit"] { 1071 | color: #333; 1072 | } 1073 | #respond { 1074 | border-top: 1px solid #e7e7e7; 1075 | margin: 24px 0; 1076 | overflow: hidden; 1077 | position: relative; 1078 | } 1079 | #respond p { 1080 | margin: 0; 1081 | } 1082 | #respond .comment-notes { 1083 | margin-bottom: 1em; 1084 | } 1085 | .form-allowed-tags { 1086 | line-height: 1em; 1087 | } 1088 | .children #respond { 1089 | margin: 0 48px 0 0; 1090 | } 1091 | h3#reply-title { 1092 | margin: 18px 0; 1093 | } 1094 | #comments-list #respond { 1095 | margin: 0 0 18px 0; 1096 | } 1097 | #comments-list ul #respond { 1098 | margin: 0; 1099 | } 1100 | #cancel-comment-reply-link { 1101 | font-size: 12px; 1102 | font-weight: normal; 1103 | line-height: 18px; 1104 | } 1105 | #respond .required { 1106 | color: #ff4b33; 1107 | font-weight: bold; 1108 | } 1109 | #respond label { 1110 | color: #777; 1111 | font-size: 12px; 1112 | } 1113 | #respond input { 1114 | margin: 0 0 9px; 1115 | width: 98%; 1116 | } 1117 | #respond textarea { 1118 | width: 98%; 1119 | } 1120 | #respond .form-allowed-tags { 1121 | color: #777; 1122 | font-size: 12px; 1123 | line-height: 18px; 1124 | } 1125 | #respond .form-allowed-tags code { 1126 | font-size: 11px; 1127 | } 1128 | #respond .form-submit { 1129 | margin: 12px 0; 1130 | } 1131 | #respond .form-submit input { 1132 | font-size: 14px; 1133 | width: auto; 1134 | } 1135 | #respond #wp-comment-cookies-consent { 1136 | width: auto; 1137 | margin: 0 10px 0 0; 1138 | } 1139 | 1140 | 1141 | /* =Widget Areas 1142 | -------------------------------------------------------------- */ 1143 | 1144 | .widget-area ul { 1145 | list-style: none; 1146 | margin-left: 0; 1147 | } 1148 | .widget-area ul ul { 1149 | list-style: square; 1150 | margin-left: 1.3em; 1151 | } 1152 | .widget-area select { 1153 | max-width: 100%; 1154 | } 1155 | .widget_search #s {/* This keeps the search inputs in line */ 1156 | width: 60%; 1157 | } 1158 | .widget_search label { 1159 | display: none; 1160 | } 1161 | .widget-container { 1162 | word-wrap: break-word; 1163 | -webkit-hyphens: auto; 1164 | -moz-hyphens: auto; 1165 | hyphens: auto; 1166 | margin: 0 0 18px 0; 1167 | } 1168 | .widget-container .wp-caption img { 1169 | margin: auto; 1170 | } 1171 | .widget-title { 1172 | color: #222; 1173 | font-weight: bold; 1174 | } 1175 | .widget-area a:link, 1176 | .widget-area a:visited { 1177 | text-decoration: none; 1178 | } 1179 | .widget-area a:active, 1180 | .widget-area a:hover { 1181 | text-decoration: underline; 1182 | } 1183 | .widget-area .entry-meta { 1184 | font-size: 11px; 1185 | } 1186 | #wp_tag_cloud div { 1187 | line-height: 1.6em; 1188 | } 1189 | #wp-calendar { 1190 | width: 100%; 1191 | } 1192 | #wp-calendar caption { 1193 | color: #222; 1194 | font-size: 14px; 1195 | font-weight: bold; 1196 | padding-bottom: 4px; 1197 | text-align: left; 1198 | } 1199 | #wp-calendar thead { 1200 | font-size: 11px; 1201 | } 1202 | #wp-calendar thead th { 1203 | } 1204 | #wp-calendar tbody { 1205 | color: #aaa; 1206 | } 1207 | #wp-calendar tbody td { 1208 | background: #f5f5f5; 1209 | border: 1px solid #fff; 1210 | padding: 3px 0 2px; 1211 | text-align: center; 1212 | } 1213 | #wp-calendar tbody .pad { 1214 | background: none; 1215 | } 1216 | #wp-calendar tfoot #next { 1217 | text-align: right; 1218 | } 1219 | .widget_rss a.rsswidget { 1220 | color: #000; 1221 | } 1222 | .widget_rss a.rsswidget:hover { 1223 | color: #ff4b33; 1224 | } 1225 | .widget_rss .widget-title img { 1226 | width: 11px; 1227 | height: 11px; 1228 | } 1229 | .widget_text ul, 1230 | .widget_text ol { 1231 | margin-bottom: 1.5em; 1232 | } 1233 | .widget_text ol { 1234 | margin-left: 1.3em; 1235 | } 1236 | .widget_text ul ul, 1237 | .widget_text ol ol, 1238 | .widget_text ul ol, 1239 | .widget_text ol ul { 1240 | margin-bottom: 0; 1241 | } 1242 | .widget_media_video video { 1243 | max-width: 100%; 1244 | } 1245 | .tagcloud ul { 1246 | list-style-type: none; 1247 | margin-left: 0 !important; 1248 | } 1249 | .tagcloud ul li { 1250 | display: inline-block; 1251 | } 1252 | 1253 | /* Helps galleries in widget areas look presentable in most cases. */ 1254 | .widget-area .gallery-columns-2 img, 1255 | .widget-area .gallery-columns-3 img, 1256 | .widget-area .gallery-columns-4 img, 1257 | .widget-area .gallery-columns-5 img, 1258 | .widget-area .gallery-columns-6 img, 1259 | .widget-area .gallery-columns-7 img, 1260 | .widget-area .gallery-columns-8 img, 1261 | .widget-area .gallery-columns-9 img { 1262 | border: none; 1263 | max-width: 90%; 1264 | width: auto; 1265 | } 1266 | 1267 | /* Main sidebars */ 1268 | #main .widget-area ul { 1269 | margin-left: 0; 1270 | padding: 0 20px 0 0; 1271 | } 1272 | #main .widget-area ul ul { 1273 | border: none; 1274 | margin-left: 1.3em; 1275 | padding: 0; 1276 | } 1277 | #primary { 1278 | } 1279 | #secondary { 1280 | } 1281 | 1282 | /* Footer widget areas */ 1283 | #footer-widget-area { 1284 | } 1285 | 1286 | 1287 | /* =Footer 1288 | -------------------------------------------------------------- */ 1289 | 1290 | #footer { 1291 | margin-bottom: 20px; 1292 | } 1293 | #colophon { 1294 | border-top: 4px solid #000; 1295 | margin-top: -4px; 1296 | overflow: hidden; 1297 | padding: 18px 0; 1298 | } 1299 | #site-info { 1300 | font-weight: bold; 1301 | } 1302 | #site-info a { 1303 | color: #000; 1304 | text-decoration: none; 1305 | } 1306 | #site-generator { 1307 | font-style: italic; 1308 | position: relative; 1309 | } 1310 | #site-generator a { 1311 | background: url(images/wordpress.png) center left no-repeat; 1312 | color: #666; 1313 | display: inline-block; 1314 | line-height: 16px; 1315 | padding-left: 20px; 1316 | text-decoration: none; 1317 | } 1318 | #site-generator a:hover { 1319 | text-decoration: underline; 1320 | } 1321 | img#wpstats { 1322 | display: block; 1323 | margin: 0 auto 10px; 1324 | } 1325 | #site-info span[role=separator] { 1326 | padding: 0 0.6em 0 0.3em; 1327 | } 1328 | #site-info span[role=separator]::before { 1329 | content: '\007c'; 1330 | } 1331 | 1332 | 1333 | /* =Mobile Safari ( iPad, iPhone and iPod Touch ) 1334 | -------------------------------------------------------------- */ 1335 | 1336 | pre { 1337 | -webkit-text-size-adjust: 140%; 1338 | } 1339 | code { 1340 | -webkit-text-size-adjust: 160%; 1341 | } 1342 | #access, 1343 | .entry-meta, 1344 | .entry-utility, 1345 | .navigation, 1346 | .widget-area { 1347 | -webkit-text-size-adjust: 120%; 1348 | } 1349 | #site-description { 1350 | -webkit-text-size-adjust: none; 1351 | } 1352 | 1353 | 1354 | /* =Print Style 1355 | -------------------------------------------------------------- */ 1356 | 1357 | @media print { 1358 | body { 1359 | background: none !important; 1360 | } 1361 | #wrapper { 1362 | clear: both !important; 1363 | display: block !important; 1364 | float: none !important; 1365 | position: relative !important; 1366 | } 1367 | #header { 1368 | border-bottom: 2pt solid #000; 1369 | padding-bottom: 18pt; 1370 | } 1371 | #colophon { 1372 | border-top: 2pt solid #000; 1373 | } 1374 | #site-title, 1375 | #site-description { 1376 | float: none; 1377 | line-height: 1.4em; 1378 | margin: 0; 1379 | padding: 0; 1380 | } 1381 | #site-title { 1382 | font-size: 13pt; 1383 | } 1384 | .entry-content { 1385 | font-size: 14pt; 1386 | line-height: 1.6em; 1387 | } 1388 | .entry-title { 1389 | font-size: 21pt; 1390 | } 1391 | #access, 1392 | #branding img, 1393 | #respond, 1394 | .comment-edit-link, 1395 | .edit-link, 1396 | .navigation, 1397 | .page-link, 1398 | .widget-area { 1399 | display: none !important; 1400 | } 1401 | #container, 1402 | #header, 1403 | #footer { 1404 | margin: 0; 1405 | width: 100%; 1406 | } 1407 | #content, 1408 | .one-column #content { 1409 | margin: 24pt 0 0; 1410 | width: 100%; 1411 | } 1412 | .wp-caption p { 1413 | font-size: 11pt; 1414 | } 1415 | #site-info, 1416 | #site-generator { 1417 | float: none; 1418 | width: auto; 1419 | } 1420 | #colophon { 1421 | width: auto; 1422 | } 1423 | img#wpstats { 1424 | display: none; 1425 | } 1426 | #site-generator a { 1427 | margin: 0; 1428 | padding: 0; 1429 | } 1430 | #entry-author-info { 1431 | border: 1px solid #e7e7e7; 1432 | } 1433 | #main { 1434 | display: inline; 1435 | } 1436 | .home .sticky { 1437 | border: none; 1438 | } 1439 | } 1440 | -------------------------------------------------------------------------------- /tag.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
    13 |
    14 | 15 |

    ' . single_tag_title( '', false ) . '' ); 17 | ?>

    18 | 19 | 27 |
    28 |
    29 | 30 | 31 | 32 | --------------------------------------------------------------------------------