SVG Social Menu

Beschreibung

This plugin adds a Widget that allows you to show show the social media links as vector icons.

To use it, follow these steps after activation:

  1. Create a menu with links to your social media channels
  2. Select “SVG Social Menu” as menu location and save it
  3. Drag the widget “SVG Social Menu” in one of your widget areas

You can filter the custom CSS with the following code in your theme, where $styles is the CSS:

function slug_edit_svg_social_menu_styles( $styles ) {
    $styles = '<style>yourStyles</style>';

    return $styles;
}

add_filter( 'svg_social_menu_inline_style', 'slug_edit_svg_social_menu_styles' );

If you want to add CSS to the default rules, try this:

function slug_edit_svg_social_menu_styles( $styles ) {
    $styles .= '<style>additionalStyles</style>';

    return $styles;
}

add_filter( 'svg_social_menu_inline_style', 'slug_edit_svg_social_menu_styles' );

The following social network URLs are supported:

  • plus.google.com
  • wordpress.org
  • wordpress.com
  • facebook.com
  • twitter.com
  • dribbble.com
  • pinterest.com
  • github.com
  • tumblr.com
  • youtube.com
  • flickr.com
  • vimeo.com
  • instagram.com
  • linkedin.com
  • xing.de
  • xing.com
  • /feed
  • mailto:

If you want more or have other problems, you can create an issue on GitHub.

Installation

  1. Upload the plugin files to the /wp-content/plugins/svg-social-menu directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress
  3. Create a menu with links to your social media channels
  4. Select “SVG Social Menu” as menu location and save it
  5. Drag the widget “SVG Social Menu” in one of your widget areas

FAQ

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/svg-social-menu directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress
  3. Create a menu with links to your social media channels
  4. Select “SVG Social Menu” as menu location and save it
  5. Drag the widget “SVG Social Menu” in one of your widget areas

Rezensionen

SVG 4 Everybody!

It works fine *out of the box* and make us poor leisure-bloggers look like a Pro! The plugin is written with a clean and semantic code an even has a „Walker“-class!
I would also take it for money.

Thanks Sebastian

Lies alle 1 Rezension

Mitwirkende & Entwickler

„SVG Social Menu“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „SVG Social Menu“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.2.3 — 08.11.2017

Changed

  • Updated »Tested up to« version to 4.9.
  • Modified inline styles to make them also work if the theme does not use the feature to add identifying classes to the widget wrapper.

1.2.2 — 26.05.2017

  • tested with 4.8
  • CSS improvements (use currentColor for Icons)
  • Updated svg4everybody to 2.1.8

1.2.1

  • tested with 4.7.3
  • fixed filter doc in readme

1.2

  • tested with 4.7
  • added Grunt for creating the svg sprite (thanks to Stefan Brechbühl aka pixelstrolch)

1.1.1

  • prefix class names for svg elements to prevent ad blocker from hiding icons

1.1

  • tested with 4.6
  • added email icon for mailto: links

1.0.6

  • moved span after the svg element (before it was inside accidently) and added missing closing tag

1.0.5

  • better accessibility of svgs, added screen reader span to the link element instead of using the title element inside the svg

1.0.4

  • removed filter which causes the deletion of the standard styles

1.0.3

  • added changelog notice for 1.0.2

1.0.2

  • replaced wrong translation function

1.0.1

  • load textdomain for translation

1.0

  • initial release