Ticket #39333: 39333.patch
File 39333.patch, 4.7 KB (added by , 9 years ago) |
---|
-
src/wp-content/themes/twentyseventeen/assets/images/svg-icons.svg
21 21 <symbol id="icon-vine" viewBox="0 0 27 32"> 22 22 <path class="path1" d="M26.732 14.768v3.536q-1.804 0.411-3.536 0.411-1.161 2.429-2.955 4.839t-3.241 3.848-2.286 1.902q-1.429 0.804-2.893-0.054-0.5-0.304-1.080-0.777t-1.518-1.491-1.83-2.295-1.92-3.286-1.884-4.357-1.634-5.616-1.259-6.964h5.054q0.464 3.893 1.25 7.116t1.866 5.661 2.17 4.205 2.5 3.482q3.018-3.018 5.125-7.25-2.536-1.286-3.982-3.929t-1.446-5.946q0-3.429 1.857-5.616t5.071-2.188q3.179 0 4.875 1.884t1.696 5.313q0 2.839-1.036 5.107-0.125 0.018-0.348 0.054t-0.821 0.036-1.125-0.107-1.107-0.455-0.902-0.92q0.554-1.839 0.554-3.286 0-1.554-0.518-2.357t-1.411-0.804q-0.946 0-1.518 0.884t-0.571 2.509q0 3.321 1.875 5.241t4.768 1.92q1.107 0 2.161-0.25z"></path> 23 23 </symbol> 24 <symbol id="icon-xing" viewBox="0 0 805 1024"> 25 <path class="path1" d="M341.143 381.143q-5.714 10.286-146.857 260.571-15.429 26.286-37.143 26.286h-136.571q-12 0-17.714-9.714t0-20.571l144.571-256q0.571 0 0-0.571l-92-159.429q-6.857-12.571-0.571-21.143 5.143-8.571 18.286-8.571h136.571q22.857 0 37.714 25.714zM801.714 14.286q6.286 9.143 0 21.143l-301.714 533.714v0.571l192 351.429q6.286 11.429 0.571 21.143-5.714 8.571-18.286 8.571h-136.571q-24 0-37.714-25.714l-193.714-355.429q10.286-18.286 303.429-538.286 14.286-25.714 36.571-25.714h137.714q12.571 0 17.714 8.571z"></path> 26 </symbol> 24 27 <symbol id="icon-vk" viewBox="0 0 35 32"> 25 28 <path class="path1" d="M34.232 9.286q0.411 1.143-2.679 5.25-0.429 0.571-1.161 1.518-1.393 1.786-1.607 2.339-0.304 0.732 0.25 1.446 0.304 0.375 1.446 1.464h0.018l0.071 0.071q2.518 2.339 3.411 3.946 0.054 0.089 0.116 0.223t0.125 0.473-0.009 0.607-0.446 0.491-1.054 0.223l-4.571 0.071q-0.429 0.089-1-0.089t-0.929-0.393l-0.357-0.214q-0.536-0.375-1.25-1.143t-1.223-1.384-1.089-1.036-1.009-0.277q-0.054 0.018-0.143 0.063t-0.304 0.259-0.384 0.527-0.304 0.929-0.116 1.384q0 0.268-0.063 0.491t-0.134 0.33l-0.071 0.089q-0.321 0.339-0.946 0.393h-2.054q-1.268 0.071-2.607-0.295t-2.348-0.946-1.839-1.179-1.259-1.027l-0.446-0.429q-0.179-0.179-0.491-0.536t-1.277-1.625-1.893-2.696-2.188-3.768-2.33-4.857q-0.107-0.286-0.107-0.482t0.054-0.286l0.071-0.107q0.268-0.339 1.018-0.339l4.893-0.036q0.214 0.036 0.411 0.116t0.286 0.152l0.089 0.054q0.286 0.196 0.429 0.571 0.357 0.893 0.821 1.848t0.732 1.455l0.286 0.518q0.518 1.071 1 1.857t0.866 1.223 0.741 0.688 0.607 0.25 0.482-0.089q0.036-0.018 0.089-0.089t0.214-0.393 0.241-0.839 0.17-1.446 0-2.232q-0.036-0.714-0.161-1.304t-0.25-0.821l-0.107-0.214q-0.446-0.607-1.518-0.768-0.232-0.036 0.089-0.429 0.304-0.339 0.679-0.536 0.946-0.464 4.268-0.429 1.464 0.018 2.411 0.232 0.357 0.089 0.598 0.241t0.366 0.429 0.188 0.571 0.063 0.813-0.018 0.982-0.045 1.259-0.027 1.473q0 0.196-0.018 0.75t-0.009 0.857 0.063 0.723 0.205 0.696 0.402 0.438q0.143 0.036 0.304 0.071t0.464-0.196 0.679-0.616 0.929-1.196 1.214-1.92q1.071-1.857 1.911-4.018 0.071-0.179 0.179-0.313t0.196-0.188l0.071-0.054 0.089-0.045t0.232-0.054 0.357-0.009l5.143-0.036q0.696-0.089 1.143 0.045t0.554 0.295z"></path> 26 29 </symbol> -
src/wp-content/themes/twentyseventeen/inc/icon-functions.php
205 205 'wordpress.com' => 'wordpress', 206 206 'yelp.com' => 'yelp', 207 207 'youtube.com' => 'youtube', 208 'xing.com' => 'xing', 208 209 ); 209 210 210 211 /** … … 216 217 */ 217 218 return apply_filters( 'twentyseventeen_social_links_icons', $social_links_icons ); 218 219 } 220 221 // add Xing using social 222 function twentyseventeen_starter_content_add_social( $content, $config ) { 223 if ( isset( $content['nav_menus']['social'] ) ) { 224 $content['nav_menus']['social']['items'][] = array( 225 'title' => 'Xing', 226 'url' => 'https://www.xing.com/', 227 ); 228 } 229 return $content; 230 } 231 add_filter( 'get_theme_starter_content', 'twentyseventeen_starter_content_add_social', 10, 2 ); -
src/wp-content/themes/twentyseventeen/style.css
3951 3951 clear: left; 3952 3952 float: left; 3953 3953 margin-bottom: 0; 3954 width: 36%;3954 width: 40%; 3955 3955 } 3956 3956 3957 3957 .site-info { 3958 3958 float: left; 3959 3959 padding: 0.7em 0 0; 3960 width: 5 8%;3960 width: 54%; 3961 3961 } 3962 3962 3963 3963 .social-navigation + .site-info {