وضاحت
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:
- In the WordPress admin, go to Appearance…Widgets
- Drag the “Links With Icons” widget to a sidebar
- Select the number of links the widget will display and save the widget.
- The widget will reload with the proper number of fields for the number of links needed.
- Fill out the data (URL, Title and Image) and save the widget.
- Viola! The widget now appears with your pretty icons.
Important Notes:
- The widget doesn’t care about icon / image size. You should probably keep it consistent (and small) so it will be pretty.
- 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.
- The default CSS class for the container UL is links-with-icons-widget
- Each link li has a class of link-with-icon
-
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:
- Display the size of selected image in the widget under the preview
- Choose icon position for each link (left (default) or right side)
تصوير
انسٽاليشن
Like every other WordPress plugin! 🙂
- Upload all the files from links-with-icons-widget.zip into a folder within the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
FAQ
-
The link doesn’t work! Its showing a 404 error!
Don’t forget to add http:// to your link. -
What if I decrease the number of links in a widget?
The excess links will be removed and the data deleted.
- Installation Instructions
-
Like every other WordPress plugin! 🙂
- Upload all the files from links-with-icons-widget.zip into a folder within the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Upload all the files from links-with-icons-widget.zip into a folder within the
جائزا
تعاون ڪندڙ & ڊولپرز
“Links With Icons Widget” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙترجمو ڪريو “Links With Icons Widget” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
1.2
- Added tag to text for additional CSS styling flexibility (thx: github.com/morfie78)
1.1
- Added option for No Follow links
- Image URLs are now returned without protocol to support HTTP or HTTPS
1.0
- Initial Release