{"id":22276,"date":"2013-02-27T23:26:16","date_gmt":"2013-02-27T23:26:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/genericond\/"},"modified":"2018-05-09T19:04:21","modified_gmt":"2018-05-09T19:04:21","slug":"genericond","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/genericond\/","author":71562,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"4.0.5","stable_tag":"4.0.5","tested":"4.9.29","requires":"3.9","requires_php":"","requires_plugins":"","header_name":"Genericon'd","header_author":"Mika Epstein (Ipstenu)","header_description":"","assets_banners_color":"c48260","last_updated":"2018-05-09 19:04:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/halfelf.org\/plugins\/genericond","header_author_uri":"https:\/\/ipstenu.org\/","rating":5,"author_block_rating":0,"active_installs":800,"downloads":39226,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Version 4.0 and up uses New Genericons which NO LONGER uses font icons by default. While I have done my best to ensure upgrades are seamless, please make sure to look at your site where Genericon&#039;d is in use to be sure.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"8"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1036942","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1036942","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"676981","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"676981","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["3.4.0","3.4.1","4.0.0","4.0.1","4.0.5"],"block_files":[],"assets_screenshots":{"screenshot-01.png":{"filename":"screenshot-01.png","revision":"1542290","resolution":"01","location":"assets"},"screenshot-02.jpg":{"filename":"screenshot-02.jpg","revision":"677562","resolution":"02","location":"assets"}},"screenshots":{"1":"Genericon'd help page","2":"Zaboo, patron avatar of Genericon'd"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[10479,23845,498,566],"plugin_category":[50],"plugin_contributors":[78470],"plugin_business_model":[],"class_list":["post-22276","plugin","type-plugin","status-closed","hentry","plugin_tags-font-icon","plugin_tags-genericons","plugin_tags-icons","plugin_tags-ui","plugin_category-media","plugin_contributors-ipstenu","plugin_committers-ipstenu"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/genericond_c48260.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/genericond\/assets\/screenshot-01.png?rev=1542290","caption":"Genericon'd help page"},{"src":"https:\/\/ps.w.org\/genericond\/assets\/screenshot-02.jpg?rev=677562","caption":"Zaboo, patron avatar of Genericon'd"}],"raw_content":"<!--section=description-->\n<p>Genericon'd includes three icon sets:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/Automattic\/genericons-neue\">Genericons Neue<\/a> - Generic looking icons, suitable for a blog or simple website.<\/li>\n<li><a href=\"https:\/\/github.com\/Automattic\/social-logos\">Social Logos<\/a> - A repository of all the social logos used on WordPress.com<\/li>\n<li><a href=\"https:\/\/github.com\/Automattic\/genericons\">Genericons Classic<\/a> - The original! Generic looking icons as a Font, suitable for a blog or simple website.<\/li>\n<\/ul>\n\n<p>By default, <em>Genericons Neue<\/em> and <em>Social Logos<\/em> are both active and use SVG sprites, not fonts. If you want to go back to displaying the icons as a font, you can do so via settings.<\/p>\n\n<p>To use any of the Genericons icons on your WordPress site you can use basic HTML (for inserting in themes and functions) or shortcodes (for use in posts or widgets). You can adjust the size of the icons via css or, when using the shortcode, the size attribute. Default size is 16px for Genericons and 24 for Social Logos.<\/p>\n\n<p>To display the Twitter icon: <code>[genericon icon=twitter]<\/code><\/p>\n\n<h4>Privacy Policy<\/h4>\n\n<p>No remote calls are made with this plugin and no data is tracked.<\/p>\n\n<!--section=installation-->\n<p>Install as a normal WordPress Plugin.<\/p>\n\n<h4>Usage<\/h4>\n\n<p>Add shortcodes to your posts, pages and even widgets to display a Genericons or Social Logos icon.<\/p>\n\n<p>For example, to display the Twitter icon: <code>[genericon icon=twitter]<\/code><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>Install as a normal WordPress Plugin.<\/p>\n\n<h4>Usage<\/h4>\n\n<p>Add shortcodes to your posts, pages and even widgets to display a Genericons or Social Logos icon.<\/p>\n\n<p>For example, to display the Twitter icon: <code>[genericon icon=twitter]<\/code><\/p><\/dd>\n<dt>I have an idea for an icon!<\/dt>\n<dd><p>Great! I'm a monkey with a crayon! Seriously, though, I didn't make Genericons, I have no artistic ability to make more. If I did, we'd have a unicorn one. Please file issues and requests for new icons <a href=\"https:\/\/github.com\/Automattic\/genericons-neue\/issues\">directly with Genericons<\/a>.<\/p>\n\n<p>Have a desire for social icons like Twumlrbook? Submit that <a href=\"https:\/\/github.com\/Automattic\/social-logos\/issues\">directly to Social Logos<\/a><\/p><\/dd>\n<dt>What's the difference between Genericons Neue, Social Logos, and 'Classic' Genericons?<\/dt>\n<dd><ul>\n<li><a href=\"https:\/\/github.com\/Automattic\/genericons-neue\">Genericons Neue<\/a> are the replacements for Genericons, using SVG instead of fonts.<\/li>\n<li><a href=\"https:\/\/github.com\/Automattic\/social-logos\">Social Logos<\/a> are where all the social logos like Twitter moved.<\/li>\n<li><a href=\"http:\/\/genericons.com\/\">'Classic' Genericons<\/a> are the old font icon pack you know and love<\/li>\n<\/ul><\/dd>\n<dt>Are there any known conflicts?<\/dt>\n<dd><p>Not at this time.<\/p><\/dd>\n<dt>What are all the icon names?<\/dt>\n<dd><p>On your WP dashboard, go to Appearance -&gt; Genericon'd. The page there will list all the icons and their file names.<\/p><\/dd>\n<dt>Can I add them to menus?<\/dt>\n<dd><p>No. You can't add shortcodes to menus at this time. There used to be a workaround with using the <code>icon<\/code> code, but since we're not using Font Icons anymore, you can't anymore unless you enable Legacy Font Icons.<\/p><\/dd>\n<dt>What are Legacy Font Icons?<\/dt>\n<dd><p>If you still want to have the old font-icons available, you can enable them by checking boxes on the settings page. It's not recommended though, as the font will slow your page down.<\/p><\/dd>\n<dt>How do I change colors?<\/dt>\n<dd><p>Using CSS with SVGs is weird. Instead of something like <code>.genericon {color:red;}<\/code> you'll have to use the <code>fill<\/code> parameter. For example, if you just want Twitter to be blue, add <code>svg.social-logos-twitter {fill:blue;}<\/code> and so on and so forth.<\/p><\/dd>\n<dt>Why are some icons using `genericons` and others use `social-logos`?<\/dt>\n<dd><p>Because in version 4.0, Genericons ceased development and moved to Genericons Neue. In doing so, they dropped support for all social media logos. Since I didn't want to leave everyone out in the cold, I pulled in the Social Logos icon set.<\/p><\/dd>\n<dt>Okay, but I want to change color in just this one use...<\/dt>\n<dd><p>I know what you mean. Try this: <code>[genericon icon=twitter color=blue]<\/code><\/p>\n\n<p>It uses inline styling, which I hate, but this was the best way to solve the problem that I could find (suggestions welcome).<\/p><\/dd>\n<dt>Speaking of, can I make just this one icon bigger?<\/dt>\n<dd><p>Sure can! Use this: <code>[genericon icon=twitter size=2x]<\/code><\/p>\n\n<p>You can use 2x through 6x. Anything else punts it to 1x.<\/p><\/dd>\n<dt>I want to repeat an icon<\/dt>\n<dd><p>You do it like this: <code>[genericon icon=star repeat=4]<\/code><\/p><\/dd>\n<dt>Can I flip an icon?<\/dt>\n<dd><p>Sure! <code>[genericon icon=twitter rotate={90|180|270|flip-horizontal|flip-vertical} ]<\/code><\/p><\/dd>\n<dt>How about changing the hover-color?<\/dt>\n<dd><p>This is less complicated than it looks but requires CSS:<\/p>\n\n<pre><code>svg.social-logos-twitter:hover {\n    fill: purple!important;\n}\n<\/code><\/pre>\n\n<p>If you wanted it to be for links only, then use <code>a svg.social-logos-twitter:hover<\/code> since you wrap the href around the shortcode.<\/p><\/dd>\n<dt>Aren't they called Genericons with an S?<\/dt>\n<dd><p>Yes, but Genericon'd is a Zaboo-esque sort of way of saying 'These icons have been genericonified!' I was in a The Guild frame of mind. Also since this is not the official plugin, I didn't want to use that slug.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>4.0.5<\/h4>\n\n<ul>\n<li>2018-01<\/li>\n<li>Updating some icons<\/li>\n<\/ul>\n\n<h4>4.0.1<\/h4>\n\n<ul>\n<li>2016-11<\/li>\n<li>Settings wouldn't save<\/li>\n<\/ul>\n\n<h4>4.0.0<\/h4>\n\n<ul>\n<li>2016-11<\/li>\n<li>Complete refactor<\/li>\n<li>Merge of Genericons Neue<\/li>\n<li>Merge of Social Icons<\/li>\n<li>Add option for supporting legacy fonts<\/li>\n<\/ul>\n\n<h4>3.4.1<\/h4>\n\n<ul>\n<li>2015-11-12<\/li>\n<li>IE8 support restored. <\/li>\n<\/ul>\n\n<h4>3.4.0<\/h4>\n\n<ul>\n<li>2015-09-18<\/li>\n<li><a href=\"http:\/\/genericons.com\/2015\/09\/18\/3-4\/\">Major 3.4 release to Genericons<\/a><\/li>\n<li>Move path to CSS file per change in Genericons<\/li>\n<li>Remove my rotation code as it's now included in core Genericons<\/li>\n<li>Split rotation and flip code to reflect changes above<\/li>\n<li>Fix broken rotations (which apparently was broken ages ago and no one noticed, sorry)<\/li>\n<\/ul>","raw_excerpt":"Enables easy use of the Genericons and Social Logo icon sets from within WordPress. Icons can be inserted using either HTML or a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/71562"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22276"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22276"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22276"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22276"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22276"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22276"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}