Title: OMS Sidebar Widgets
Author: Jimmy K.
Published: <strong>2014 年 6 月 19 日</strong>
Last modified: 2015 年 5 月 25 日

---

搜索插件

![](https://ps.w.org/oms-sidebar-widgets/assets/banner-772x250.png?rev=935287)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/oms-sidebar-widgets_e9e7e1.svg)

# OMS Sidebar Widgets

 作者：[Jimmy K.](https://profiles.wordpress.org/jklatt86/)

[下载](https://downloads.wordpress.org/plugin/oms-sidebar-widgets.zip)

 * [详情](https://cn.wordpress.org/plugins/oms-sidebar-widgets/#description)
 * [评价](https://cn.wordpress.org/plugins/oms-sidebar-widgets/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/oms-sidebar-widgets/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/oms-sidebar-widgets/#developers)

 [支持](https://wordpress.org/support/plugin/oms-sidebar-widgets/)

## 描述

A collection of widgets for displaying maps, images, and/or videos in your
 website
sidebars.

#### Sidebar Map

Maps are powered by the Google Maps API v3. Locations can be automatically
 geocoded
or latitude and longitude coordinates can be specified for more precise control.
Multiple map locations (pins) are supported.

#### Sidebar Image & Sidebar Video

Images and videos play in a `prettyPhoto` lightbox. External images are
 supported.
Videos can be hosted on either YouTube or Vimeo. Viddler is currently not supported.

#### Notes

This plugin pairs well with the `Simple Page Sidebars` plugin to allow different

images, videos, or maps to be displayed on individual pages.

## 屏幕截图

 * [[
 * An example of a sidebar map. Left, widget output; right, widget form.
 * [[
 * An example of a sidebar video. Left, widget output; right, widget form. (Sidebar
   Image is very similar.)
 * [[
 * An example of a sidebar image lightbox. (Sidebar Video is very similar.)

## 安装

 1. Upload the `oms-sidebar-widgets` plugin directory to the `/wp-content/plugins/`
    
    directory on your server.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Navigate to the `Widgets` page in WordPress.
 4. Drag and drop images, videos, or map widgets to your sidebar.
 5. Configure each widget.
 6. Profit!

## 常见问题

  Which lightbox do images and videos open in?

This plugin uses `prettyPhoto` to display images and videos in a lightbox.

  Which service is used for displaying maps?

This plugin uses the `Google Maps API v3` to display maps and geocode addresses.

  Can I change the marker image for maps?

Yes you can! You can specify the icon image to use for each map. Alternatively,

if one is not supplied, the default one will be used.

## 评价

![](https://secure.gravatar.com/avatar/281d9587071c09c226245fd3f17daeb470e6f56c18f4b769de6e758a9278eb87?
s=60&d=retro&r=g)

### 󠀁[Great plugin, but doesn’t work in WP 4.8](https://wordpress.org/support/topic/great-plugin-but-doesnt-work-in-wp-4-8/)󠁿

 [Syllogic](https://profiles.wordpress.org/syllogic/) 2017 年 7 月 3 日

Great plugin, but doesn’t work in WP 4.8 🙁

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/)

## 贡献者及开发者

「OMS Sidebar Widgets」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jimmy K. ](https://profiles.wordpress.org/jklatt86/)
 *   [ sorensenss ](https://profiles.wordpress.org/sorensenss/)

[帮助将「OMS Sidebar Widgets」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/oms-sidebar-widgets)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/oms-sidebar-widgets/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/oms-sidebar-widgets/)，或通过[RSS](https://plugins.trac.wordpress.org/log/oms-sidebar-widgets/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/oms-sidebar-widgets/)。

## 更新日志

#### 0.1

The initial release of this plugin.

#### 1.0

The finalized release of this plugin.

#### 1.1

Minor bug fixes and refactoring.

#### 2.1

The refactored release of this plugin. Added multiple pins to map widgets.

#### 2.2

Changed array object creation from [] to array() for < PHP 5.4.

#### 2.3

Added checks to make sure the prettyPhoto library is loaded before initializing.

#### 2.4

Fixed multiple map widgets bug where fields were being duplicated.

#### 2.5

Fixed prettyPhoto XSS vulnerability by updating prettyPhoto to 3.1.6.

## 额外信息

 *  版本 **2.5**
 *  最后更新：**11 年前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/oms-sidebar-widgets/)
 * 标签
 * [image](https://cn.wordpress.org/plugins/tags/image/)[PrettyPhoto](https://cn.wordpress.org/plugins/tags/prettyphoto/)
   [sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)[video](https://cn.wordpress.org/plugins/tags/video/)
   [youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/oms-sidebar-widgets/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/oms-sidebar-widgets/reviews/)

## 贡献者

 *   [ Jimmy K. ](https://profiles.wordpress.org/jklatt86/)
 *   [ sorensenss ](https://profiles.wordpress.org/sorensenss/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/oms-sidebar-widgets/)