站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Plugins/WordPress Widgets
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
Xxf3325
(
讨论
|
贡献
)
2008年9月25日 (四) 09:46的版本
(新页面: ==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...)
(差异) ←上一版本 |
最后版本
(
差异
) |
下一版本→
(
差异
)
跳转至:
导航
、
搜索
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
==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: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== [[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. 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 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=== 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-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. 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] *[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://www.bitty.com/manual/?mode=wordpress Bitty Browser] - baby browser for you blog from [http://www.bitty.com/ bitty.com] *[http://www.clustrmaps.com/ ClustrMaps] - Geolocation-based hit counter *[http://del.icio.us del.icio.us] - bookmark links *[http://www.etsy.com Etsy Mini-Shop] - html for you Etsy Mini-Shop *[http://www.flickr.com Flickr] - HTML and Flash Badges *[http://www.kucoon.com/portal/html/modules.php?name=Content&pa=showpage&pid=237 Kucoon] - blog toys *[http://www.gabbly.com/ Gabbly] - chat box *[http://www.gapingvoid.com/widget/ gapingvoid.com] - shows Hugh Macleod's latest cartoon *[http://gasbuddy.com/ GasBuddy] - display low/high gas prices or search box to find lowest gas prices *[http://www.last.fm Last.fm] - Last.FM Charts *[http://www.lovelybooks.de/tools.html Lovelybooks] - Share your bookshelf *[http://www.us.map24.com/ Map24] - various tools to access maps, route planning *[http://www.musestorm.com/ MuseStorm] - generates code to copy into Widget admin *[http://www.pandora.com/feeds#blog Pandora] - favorite songs *[http://www.snipperoo.com Snipperoo] - itself a widget service that lets you manage third-party widgets in the same way *[http://terraserver.microsoft.com/about.aspx?n=AboutLinktoHtml TerraServer] - Terraserver images and topo maps *[http://www.youtube.com YouTube] - Video URL and embeddable player ===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. 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. 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== 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== 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]. == 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]]. ==Other Resources on WordPress Widgets== *[[WordPress:Widget_List|List of Widgets]] *[http://automattic.com/code/widgets/use/ Automattic - How to Use Widgets] *[http://automattic.com/code/widgets/ Automattic - WordPress Widgets Download] *[http://automattic.com/code/widgets/api/ Automattic - Widgets API] *[http://automattic.com/code/widgets/themes/ Automattic - Widgetizing Themes] *[http://automattic.com/code/widgets/plugins/ Automattic - Widgetizing Plugins] *[http://wordpress.org/development/2006/03/widgets-plugin/ WordPress Development Blog Announcement] *[http://wordpress.com/blog/2006/02/25/wordpress-widgets/ WordPress.com Blog - WordPress Widgets on WordPress.com] *[http://garryconn.com/free-widgets-ready-custom-wordpress-theme-conversion.php Widgets Ready Volunteer WordPress Theme Conversion] *[http://www.quickonlinetips.com/archives/2007/11/how-to-widget-enable-wordpress-themes-in-3-easy-steps/ Widget-Enable WordPress Themes in 3 Easy Steps] *[http://lorelle.wordpress.com/2006/03/31/designing-a-theme-to-include-wordpress-widgets/ Designing a Theme to Include WordPress Widgets?] *[http://lorelle.wordpress.com/2006/03/10/playing-with-wordpresscom-new-sidebar-widgets/ Playing with WordPress.com New Sidebar Widgets] *[http://en.wikipedia.org/wiki/Widget_%28computing%29 Wikepedia Widget (computing)] *[http://www.quickonlinetips.com/archives/2007/11/how-to-create-multiple-dynamic-sidebars-for-wordpress-widgets/ Create Multiple Dynamic Sidebars for Widgets] *[http://widgets.wordpress.com/ WordPress Widgets at WordPress Widgets Blog] *[http://www.fahlstad.se/2006/06/02/widgetize-your-wordpress-theme/ Widgetize your WordPress Theme] *[http://www.widgetswordpress.com/ Widgetizing your WordPress] *[http://www.themelab.com/2008/04/18/see-how-easy-it-is-to-widgetize-wordpress-themes/ See How Easy It Is To Widgetize WordPress Themes] {{PluginIndex}}
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
模板:PluginIndex
(
编辑
)
模板:插件索引
(
编辑
)