跳到内容

Links With Icons Widget

v1.2

ethanpil · 2013年9月29日 上架

A widget to display links with icons alongside.

正在使用
900+
评分
5.0 / 5
累计下载
3.5 万
最近更新
2017年11月29日
7 条评价需要 WordPress 3.0+已测试到 4.4.34

贡献者

截图

Managing links inside the widget
Managing links inside the widget
Example Widget Output
Example Widget Output

Links With Icons Widget adds a new custom widget which displays links with icons alongside. The links are dynamically added to each widget in the widget admin. This plugin does not use the links manager and does not create any custom post type to store the links. All data is self contained in each widget as widget option data. Images are added and managed using the media library and uploader.

Usage:

  1. In the WordPress admin, go to Appearance…Widgets
  2. Drag the “Links With Icons” widget to a sidebar
  3. Select the number of links the widget will display and save the widget.
  4. The widget will reload with the proper number of fields for the number of links needed.
  5. Fill out the data (URL, Title and Image) and save the widget.
  6. Viola! The widget now appears with your pretty icons.

Important Notes:

  1. The widget doesn’t care about icon / image size. You should probably keep it consistent (and small) so it will be pretty.
  2. If you reduce the number of links in a widget after it has been populated with data, the excess links data will be deleted forever.
  3. The default CSS class for the container UL is links-with-icons-widget
  4. Each link li has a class of link-with-icon
  5. You can style and override the defaults in your own custom css, like:

    .links-with-icons { /* custom styles / }
    .link-with-icon a { /
    custom styles / }
    .link-with-icon img { /
    custom styles */ }
    etc…

Fork away: https://github.com/ethanpil/wp-links-with-icons-widget

This WordPress plugin is brought to you by Los Angeles Web Design

Future Plans:

  1. Display the size of selected image in the widget under the preview
  2. Choose icon position for each link (left (default) or right side)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums