开发者 | Ipstenu |
---|---|
更新时间 | 2018年5月10日 03:03 |
PHP版本: | 3.9 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[genericon icon=twitter]
Privacy Policy
No remote calls are made with this plugin and no data is tracked.
[genericon icon=twitter]
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 directly with Genericons. Have a desire for social icons like Twumlrbook? Submit that directly to Social Logos
Not at this time.
On your WP dashboard, go to Appearance -> Genericon'd. The page there will list all the icons and their file names.
No. You can't add shortcodes to menus at this time. There used to be a workaround with using the icon
code, but since we're not using Font Icons anymore, you can't anymore unless you enable Legacy Font Icons.
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.
Using CSS with SVGs is weird. Instead of something like .genericon {color:red;}
you'll have to use the fill
parameter. For example, if you just want Twitter to be blue, add svg.social-logos-twitter {fill:blue;}
and so on and so forth.
genericons
and others use social-logos
?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.
I know what you mean. Try this: [genericon icon=twitter color=blue]
It uses inline styling, which I hate, but this was the best way to solve the problem that I could find (suggestions welcome).
Sure can! Use this: [genericon icon=twitter size=2x]
You can use 2x through 6x. Anything else punts it to 1x.
You do it like this: [genericon icon=star repeat=4]
Sure! [genericon icon=twitter rotate={90|180|270|flip-horizontal|flip-vertical} ]
This is less complicated than it looks but requires CSS:
svg.social-logos-twitter:hover { fill: purple!important; }
If you wanted it to be for links only, then use a svg.social-logos-twitter:hover
since you wrap the href around the shortcode.
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.