[wp-trac] [WordPress Trac] #42158: Twenty Seventeen: RSS Social Icon Missing

WordPress Trac noreply at wordpress.org
Mon Feb 26 08:26:47 UTC 2018


#42158: Twenty Seventeen: RSS Social Icon Missing
-------------------------+------------------------------
 Reporter:  Kimball31    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  template
-------------------------+------------------------------

Comment (by Christian Ries):

 Here is the solution:
 Add this code below <defs> on top of the svg-icons.svg file in the folder
 wp-content/themes/twentyseventeen/assets/images:


 {{{
 <symbol id="icon-feed" viewBox="0 0 256 256">
 <circle cx="68" cy="189" r="24" fill="#FFF"/>
 <path class="path1" d="M160 213h-34a82 82 0 0 0 -82 -82v-34a116 116 0 0 1
 116 116z
 M184 213A140 140 0 0 0 44 73 V 38a175 175 0 0 1 175 175z"></path>
 </symbol>
 }}}


 Add this line in the array $social_links_icons at the bottom of the file
 icon-functions.php in the folder wp-content/themes/twentyseventeen/inc


 {{{
 '/feed'           => 'feed',
 }}}


 That's it. :-) Christian

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42158#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list