#42158 closed enhancement (worksforme)
Twenty Seventeen: RSS Social Icon Missing
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch needs-testing |
Focuses: | template | Cc: |
Description
The RSS icon was available in https://wordpress.com/theme/twentysixteen but is missing from https://codex.wordpress.org/Twenty_Seventeen. Using TwentySeventeen you will get a link/chain icon.
It looks like we only need to add 1) '/feed' => 'rss',
to the $social_links_icons array, and 2) an RSS symbol to svg-icons.svg.
I have never contributed before, but I'm willing to add an RSS icon, if this is something you want.
Attachments (1)
Change History (9)
#2
@
5 years ago
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
Note: See
TracTickets for help on using
tickets.
Yes this would be very useful. please do this asap. I don't understand why it is possible to leave this icon away anyway, it must have been forgotten. Thank you very much in advance, Christian