這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Social Network Widget

外掛說明

A simple widget that allows you easily add icons for the most popular social networks to your sidebar or other widget area.

螢幕擷圖

  • Widget settings interface

安裝方式

Minimum Requirements

  • PHP version 7.2 or greater.
  • MySQL version 5.6 or greater or MariaDB version 10.0 or greater.
  • WordPress version 5.0 or greater.

Automatic installation

Automatic installation is the easiest option — WordPress will handle the file transfer, and you won’t need to leave your web browser. To do an automatic install of the plugin, log in to your WordPress dashboard, navigate to the Plugins menu, and click “Add New.”

In the search field type “Social Network Widget”, then click “Search Plugins.” Once you’ve found the plugin, you can view details about it such as the point release, rating, and description. Click “Install Now,” and WordPress will take it from there.

Manual installation

The manual installation method requires downloading the plugin and uploading it to your webserver via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

Updating

Automatic updates should work smoothly, but we still recommend you back up your site.

常見問題集

How do I use the plugin?

  1. Log into your WordPress website and navigate to Appearance » Widgets.
  2. Locate the Social Network widget and drag it to the sidebar area where you wish it to appear.
  3. Click the down arrow in the upper right corner to expand the widget’s interface.
  4. For each social media account you want to add, click on “Add an icon” button and then enter the URL for the social media account.
  5. Then click the Save button to save the widget’s customization.
  6. Preview the site. You should now see the added social widget is visible.

How does the widget knows which icon to display?

The answer is in the URL. If “facebook.com” is in the URL, the Facebook icon will be displayed. Likewise, if “twitter.com” is in the URL, the Twitter icon is going to be displayed instead. And so on.

Can I reorder the icons?

Yes, social account URLs can be reordered or sorted by dragging and dropping within the widget’s interface.

Can I add an icon?

Yes, custom icons can be added with the use of the following filter:

function prefix_custom_social_icon( $supported_icons ) {
    $supported_icons[] = array(
        'url' => array( 'example.com' ),
        'label' => 'Example',
        'icon' => '' // Your SVG icon
    );

    return $supported_icons;
} 
add_filter( 'social_network_widget_supported_icons', 'prefix_custom_social_icon', 10, 1 );

Which icons are supported?

Linking to any of the following sites in your social network widget will automatically display its icon in your sidebar area:

  • 500px
  • Amazon
  • Behance
  • CodePen
  • DeviantArt
  • Dribbble
  • Dropbox
  • Etsy
  • Facebook
  • RSS Feed
  • Flickr
  • Foursquare
  • Goodreads
  • Google
  • GitHub
  • Instagram
  • Last.fm
  • LinkedIn
  • Email
  • Meetup
  • Medium
  • Pinterest
  • Pocket
  • Reddit
  • Skype
  • Snapchat
  • SoundCloud
  • Spotify
  • Tumblr
  • Twitch
  • Twitter
  • Vimeo
  • VK
  • WordPress
  • Yelp
  • YouTube

NOTE — The rights to each pictogram (icon) in this plugin are either trademarked or copyrighted by the respective company.

How do I get help with the plugin?

The easiest way to receive support is to “Create a new topic” by visiting Community Forums page here.

Make sure to check the “Notify me of follow-up replies via email” checkbox to receive notifications, as soon as a reply posted to your question or inquiry.

Please note that this is an opensource 100% volunteer project, and it’s not unusual to get reply days or even weeks later.

Can I help in translating this plugin into a new language?

The plugin is fully translation-ready and localized using the GNU framework, and translators are welcome to contribute to the plugin.

Here’s the WordPress translation website →

How do I contribute to this plugin?

We welcome contributions in any form, and you can help reporting, testing, and detailing bugs.

Here’s the GitHub development repository →

Did you like the idea behind this plugin?

Please share your experience by leaving this plugin 5 shining stars if you like it, thanks!

I need help customizing this plugin?

Professional engineer and independent creative technologist in tech · over 6 years experience working from prototype to production · developing WordPress products, services, and eCommerce solutions.

Available for hire →

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Social Network Widget〉的開發相關工作。

參與者

將〈Social Network Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1

Bumped Tested up to version.

1.1.0

  • Multiple code standards improvements.
  • Compatibility with WordPress 5.5

1.0.0

  • Initial release.