编辑“WordPress:Plugins/WordPress Widgets”
该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
==What is a Widget?== | ==What is a Widget?== | ||
WordPress Widgets are also known as "sidebar accessories" which are WordPress Plugins or add-ons to your WordPress blog sidebar. Developed by [http://www.automattic.com/ Automattic] for WordPress and [http://www.wordpress.com/ WordPress.com] blogs, WordPress Widgets allow the easy addition of design elements, gadgets, content, images, and more to your WordPress sidebar to personalize your blog without knowing HTML, PHP, or any code. Many WordPress Plugins now come with a Widget version to allow easy addition to the sidebar. | WordPress Widgets are also known as "sidebar accessories" which are WordPress Plugins or add-ons to your WordPress blog sidebar. Developed by [http://www.automattic.com/ Automattic] for WordPress and [http://www.wordpress.com/ WordPress.com] blogs, WordPress Widgets allow the easy addition of design elements, gadgets, content, images, and more to your WordPress sidebar to personalize your blog without knowing HTML, PHP, or any code. Many WordPress Plugins now come with a Widget version to allow easy addition to the sidebar. | ||
[[WordPress:Image:widgets-currentwidgets.png|right|thumb|WordPress Widgets Available to choose from]]Since Version 2.3, Widgets are fully integrated into WordPress. The [[WordPress:Plugins/WordPress_Widgets_Api|API]] has improved to make them easier to use and able to be moved around on your sidebar through the '''Design''' panel of your WordPress Theme options. | [[WordPress:Image:widgets-currentwidgets.png|right|thumb|WordPress Widgets Available to choose from]]Since Version 2.3, Widgets are fully integrated into WordPress. The [[WordPress:Plugins/WordPress_Widgets_Api|API]] has improved to make them easier to use and able to be moved around on your sidebar through the '''Design''' panel of your WordPress Theme options. | ||
==Using Widgets== | ==Using Widgets== | ||
[[WordPress:Image:widgets-availablewidgets.png|right|Available WordPress Widgets on the Design Panel for Widgets]]The [[WordPress:Widgets_SubPanel|Widgets SubPanel]] provides information on the various WordPress Widgets which come with WordPress and how to use them. Widgetized WordPress Plugins will appear in the Widgets SubPanel when the Plugin is activated. | [[WordPress:Image:widgets-availablewidgets.png|right|Available WordPress Widgets on the Design Panel for Widgets]]The [[WordPress:Widgets_SubPanel|Widgets SubPanel]] provides information on the various WordPress Widgets which come with WordPress and how to use them. Widgetized WordPress Plugins will appear in the Widgets SubPanel when the Plugin is activated. | ||
[[WordPress:Image:widgets-selectsidebar.png|left|thumb|Select the sidebar in which you want a specific WordPress Widget to appear]]In general, add WordPress Widgets from the list of Widget options to the sidebar of your choice, if your WordPress Theme features more than one sidebar. You can move the Widget around on the sidebar, changing the order and placement. | [[WordPress:Image:widgets-selectsidebar.png|left|thumb|Select the sidebar in which you want a specific WordPress Widget to appear]]In general, add WordPress Widgets from the list of Widget options to the sidebar of your choice, if your WordPress Theme features more than one sidebar. You can move the Widget around on the sidebar, changing the order and placement. | ||
To edit or change the options for a specific Widget, click the icon on the right side of the Widget to access the Widget's Options. When you made the changes and selected the options, click okay or click on the browser away from the option popup. | To edit or change the options for a specific Widget, click the icon on the right side of the Widget to access the Widget's Options. When you made the changes and selected the options, click okay or click on the browser away from the option popup. | ||
The content WordPress Widgets provides range from the basic ability to add "static" text, images, and links to your WordPress blog sidebar, to adding automatically generated link lists, images, videos, counters, and much more. | The content WordPress Widgets provides range from the basic ability to add "static" text, images, and links to your WordPress blog sidebar, to adding automatically generated link lists, images, videos, counters, and much more. | ||
The most recent versions of WordPress come ready to add Widgets, however, WordPress Themes must be made ready to use WordPress Widgets. See [[WordPress:Widgetizing_Themes|Widgetizing Themes]] for more information. | The most recent versions of WordPress come ready to add Widgets, however, WordPress Themes must be made ready to use WordPress Widgets. See [[WordPress:Widgetizing_Themes|Widgetizing Themes]] for more information. | ||
===Using Text Widgets=== | ===Using Text Widgets=== | ||
The built-in Text Widget that comes with the latest versions of WordPress can be used to add new content, links, and images to your WordPress blog sidebar. You can add as many text widgets to your sidebar as you need, and each one can have completely different content. | The built-in Text Widget that comes with the latest versions of WordPress can be used to add new content, links, and images to your WordPress blog sidebar. You can add as many text widgets to your sidebar as you need, and each one can have completely different content. | ||
[[WordPress:Image:widgets-addtextbox.png|right|thumb|Add text Widget to sidebar]]To add a text Widget to your blog's sidebar, go to '''Design > Widgets''' and choose which sidebar you would like the text Widget to appear on. Then chose '''Add Text''' from the list of Widgets. | [[WordPress:Image:widgets-addtextbox.png|right|thumb|Add text Widget to sidebar]]To add a text Widget to your blog's sidebar, go to '''Design > Widgets''' and choose which sidebar you would like the text Widget to appear on. Then chose '''Add Text''' from the list of Widgets. | ||
[[WordPress:Image:widgets-edittextbox.png|right|thumb|Click Edit to edit the text Widget]]Click '''Edit''' to enter the widget Options and enter the text in the text Widget. | [[WordPress:Image:widgets-edittextbox.png|right|thumb|Click Edit to edit the text Widget]]Click '''Edit''' to enter the widget Options and enter the text in the text Widget. | ||
[[WordPress:Image:widgets-textintextbox.png|right|thumb|Adding text to a text Widget]]To add text or code to the text Widget, there are two sections to add content. In the top line, enter a description or title for that particular widget. In the next section of the form, enter the the text or HTML code for the widget. | [[WordPress:Image:widgets-textintextbox.png|right|thumb|Adding text to a text Widget]]To add text or code to the text Widget, there are two sections to add content. In the top line, enter a description or title for that particular widget. In the next section of the form, enter the the text or HTML code for the widget. | ||
To change or add the new text to the text Widget on your blog, click '''Change'''. To remove the text Widget from your blog's sidebar, click '''Remove'''. | To change or add the new text to the text Widget on your blog, click '''Change'''. To remove the text Widget from your blog's sidebar, click '''Remove'''. | ||
Here's a list of content known to work via the WordPress Text Widget. These content providers supplies the necessary code for you to copy and paste into your widget to display their content on your blog. [Subject to Change] | Here's a list of content known to work via the WordPress Text Widget. These content providers supplies the necessary code for you to copy and paste into your widget to display their content on your blog. [Subject to Change] | ||
*[http://babelfish.yahoo.com/free_trans_service Babelfish Yahoo Translation] - translate your page or other URLs | *[http://babelfish.yahoo.com/free_trans_service Babelfish Yahoo Translation] - translate your page or other URLs | ||
*[http://bannerbot.conversive.com/BannerBot/Default.aspx BannerBot] - talking banner | *[http://bannerbot.conversive.com/BannerBot/Default.aspx BannerBot] - talking banner | ||
第80行: | 第50行: | ||
*[http://terraserver.microsoft.com/about.aspx?n=AboutLinktoHtml TerraServer] - Terraserver images and topo maps | *[http://terraserver.microsoft.com/about.aspx?n=AboutLinktoHtml TerraServer] - Terraserver images and topo maps | ||
*[http://www.youtube.com YouTube] - Video URL and embeddable player | *[http://www.youtube.com YouTube] - Video URL and embeddable player | ||
===Using RSS Widgets=== | ===Using RSS Widgets=== | ||
The built-in RSS Widget can be used to add feeds to your sidebar. As with the text widget, you can have as many RSS widgets as you need. | The built-in RSS Widget can be used to add feeds to your sidebar. As with the text widget, you can have as many RSS widgets as you need. | ||
Click the '''Edit''' link on the Widget to open the panel to allow you to add the URL for the feed, a description of the feed, and how many items from the feed you want displayed, and other options. | Click the '''Edit''' link on the Widget to open the panel to allow you to add the URL for the feed, a description of the feed, and how many items from the feed you want displayed, and other options. | ||
You can add feeds from various sources, such as [http://del.icio.us/ del.icio.us], [http://www.ebay.com Ebay], [http://sabifoo.com/main Sabifoo] instant messaging accounts at AOL Instant Messenger, Jabber, MSN Messenger, Yahoo Messenger, and Google Talk, and [http://rsstalker.com/ RSStalker.com] with Amazon products, wishlists, and categories. Or you can add feeds from various blogs you enjoy. | You can add feeds from various sources, such as [http://del.icio.us/ del.icio.us], [http://www.ebay.com Ebay], [http://sabifoo.com/main Sabifoo] instant messaging accounts at AOL Instant Messenger, Jabber, MSN Messenger, Yahoo Messenger, and Google Talk, and [http://rsstalker.com/ RSStalker.com] with Amazon products, wishlists, and categories. Or you can add feeds from various blogs you enjoy. | ||
In general, the WordPress RSS/Feed Widget will only import titles. If the visitor hovers their mouse over the title link, the description will include the excerpt or the first few hundred words of the blog post. | In general, the WordPress RSS/Feed Widget will only import titles. If the visitor hovers their mouse over the title link, the description will include the excerpt or the first few hundred words of the blog post. | ||
==Finding WordPress Widgets== | ==Finding WordPress Widgets== | ||
The [http://wordpress.org/extend/plugins/ WordPress Plugin Directory] includes WordPress Widgets and WordPress Plugins with Widget options. It offers the most extensive listing of WordPress Widgets. Search for Widgets or click on the Widget tag. | The [http://wordpress.org/extend/plugins/ WordPress Plugin Directory] includes WordPress Widgets and WordPress Plugins with Widget options. It offers the most extensive listing of WordPress Widgets. Search for Widgets or click on the Widget tag. | ||
==Making Themes Widget-ready== | ==Making Themes Widget-ready== | ||
In order for WordPress Widgets to work on WordPress Themes, the Theme must be made "Widget-ready." See [[WordPress:Widgetizing_Themes|Widgetizing Themes]] for detailed instructions to make your theme recognize WordPress Widgets. | In order for WordPress Widgets to work on WordPress Themes, the Theme must be made "Widget-ready." See [[WordPress:Widgetizing_Themes|Widgetizing Themes]] for detailed instructions to make your theme recognize WordPress Widgets. | ||
Alternatively you can choose a theme that is already widget-aware from the list of [http://wordpress.org/extend/themes/ WordPress Theme Directory]. | Alternatively you can choose a theme that is already widget-aware from the list of [http://wordpress.org/extend/themes/ WordPress Theme Directory]. | ||
== Writing Your Own Widgets== | == Writing Your Own Widgets== | ||
WordPress Plugins can be converted to Widgets or take advantage of the [[WordPress:Plugins/WordPress_Widgets_Api|Widgets API]] to add Widget features and options. The developer documentation on writing your own WordPress Widget Plugins, see the [[WordPress:Plugins/WordPress_Widgets_Api|Widgets API]]. | WordPress Plugins can be converted to Widgets or take advantage of the [[WordPress:Plugins/WordPress_Widgets_Api|Widgets API]] to add Widget features and options. The developer documentation on writing your own WordPress Widget Plugins, see the [[WordPress:Plugins/WordPress_Widgets_Api|Widgets API]]. | ||
==Other Resources on WordPress Widgets== | ==Other Resources on WordPress Widgets== | ||
*[[WordPress:Widget_List|List of Widgets]] | *[[WordPress:Widget_List|List of Widgets]] | ||
第181行: | 第96行: | ||
{{PluginIndex}} | {{PluginIndex}} | ||