Title: OnList
Author: tradesouthwest
Published: <strong>2017 年 10 月 3 日</strong>
Last modified: 2024 年 4 月 20 日

---

搜索插件

![](https://ps.w.org/onlist/assets/banner-772x250.png?rev=1740553)

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

![](https://ps.w.org/onlist/assets/icon-256x256.png?rev=1740553)

# OnList

 作者：[tradesouthwest](https://profiles.wordpress.org/tradesouthwestgmailcom/)

[下载](https://downloads.wordpress.org/plugin/onlist.zip)

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

 [支持](https://wordpress.org/support/plugin/onlist/)

## 描述

Create a basic yet stylable directory type listing with custom categories. All field
names can be changed to fit the purpose of your website. Fields are by default named
Country, Address, State, City, ZipCode, Phone, Email, Website and Other. Map included
for each listing and uses the Address and Zip Code fields to calculate the location.
Simply add a google Maps API key into the control panel and away you go.

Supports a Featured Image that shows in main page listings and on archive and single
lists. Other images can be added in the standard editor so lister has full control
of images and can even create a gallery. Supports Comments and uses theme comment
form. Supports Excerpts. Set number of listings on a page. Set number of characters
on excerpt. Set text for ‘read more’ link. Includes default categories for all USA
States that can be enabled. (Listings Categories can be anything… food, music, plays.
OnList only provides the states since most use this type of plugin for listing by
locations.) Set size of maps box. Also has a before and after content editor so 
you can make the OnList meld with your current theme. Includes two shortcodes, one
to list the main page and another to create a Categories page with. Category Widget
can be added to any sidebar and this plugin supports nav menu entries.

Please note: You must have a google Maps API Key for Maps to work. (See Q. and A.
below)
 Custom theme available upon request. Demo at: [Demo link](https://tradesouthwest.com/onlist)

### Features

 * Most basic of settings to start a directory, with little to none configuration.
 * Custom meta data for every listing.
 * Categories can be added.
 * USA States are included but can be excluded as categories.
 * Only two fields: Address and Zipcode is all that is needed to show map.
 * Set size of map box on page.
 * Add any label to field “Other” to fit. (Specialist In, UPC, Certification Number,
   etc.)
 * Change any field name to make OnList versatile.
 * Before and After Content widgets included.
 * Supports comments.
 * Supports Featured Image.
 * Supports Excerpts.

## 屏幕截图

 * [[
 * Listing fields
 * [[
 * Admin Page with settings
 * [[
 * Admin Page Three
 * [[
 * Editor meta boxes
 * [[
 * Basic listing page
 * [[
 * Single listing page
 * [[
 * Single listing with images

## 安装

This section describes how to install the plugin and get it working.
 1. Upload `
onlist.zip` to the `/wp-content/plugins/` directory 2. Activate the plugin through
the ‘Plugins’ menu in WordPress 3. Go to Settings and configure OnList setting. 
4. Add shortcode to a page to display listsings [onlist-listings] 5. Optional, add
shortcode to page or use widget to display categories [onlist-categories]

## 常见问题

Q.: How do I let other people add a listing?
 A.: This plugin uses normal WordPress
login and user functions. So just use it like you would a blog. Have People register
and then they will have their own listing admin area without the administrative 
rights. (they can not change the plugin settings.)

Q.: Where is the controls for this plugin?
 A.: You will find the setup under menu
page “OnList Settings.

Q.: Can I change the listing style?
 A.: If you know CSS then you can use any CSS
editor to add a selctor in your Customizer or and other stylesheet. Using the Inspector
on your browser it is easy to look up the selector name. Most all of OnList selectors
start with onlist-.

Q.: How do I get an API key to use the maps?
 A.: To get an API Key, Visit: https://
developers.google.com/maps/documentation/javascript/get-api-key. Upi will be required
to have a Google account in order to create the key but the proccess is simpler 
than pie. No programming experience or coding required. Just copy the number and
paste it into the plugin field.

Q.: I just loaded a new theme and can not see the listings?
 A.: Go to Settings 
> Permalinks and hit “Save Changes.” This refreshes your posts to recognize the 
onlist post. It is also possible that you have changed the permalink settings. Try
to keep settings as “Post name” permalink.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ tradesouthwest ](https://profiles.wordpress.org/tradesouthwestgmailcom/)
 *   [ tradesouthwest ](https://profiles.wordpress.org/tradesouthwest/)

[帮助将「OnList」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/onlist)

### 对开发感兴趣吗?

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

## 更新日志

1.0.8
 * Tested on PHP 8.0 * Tested on WP 6.5.2 * Fix demo url

1.0.7
 * updated head in plugin file * tested on WP 5.8 and PHP 7.4 * corrected 
some typos * removed theme reference – no longer utilizing * moved stable to trunk

1.0.61
 * some css style fixes

1.0.6
 * removed whitespace * fixed zipcode element name * added place holder for
some inputs * fixed PSR4 standard in comments * fixed widget id and title * reworked
single and archive template

1.0.5
 * changed min version PHP tag * fixed widget callout * reset widget title
color

1.0.4
 * cleaned up white space

1.0.3
 * repaired category errors * added default values to options * style changes
to title

1.0.2
 * hide posts from non-authors * add notes to instruction page

1.0.1
 * fixed admin fields rendering

1.0.0
 * initial release

## 额外信息

 *  版本 **1.0.8**
 *  最后更新：**2 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.5.8**
 *  PHP 版本 ** 5.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/onlist/)
 * 标签
 * [classifieds](https://cn.wordpress.org/plugins/tags/classifieds/)[directory](https://cn.wordpress.org/plugins/tags/directory/)
   [ecommerce](https://cn.wordpress.org/plugins/tags/ecommerce/)[listings](https://cn.wordpress.org/plugins/tags/listings/)
   [responsive](https://cn.wordpress.org/plugins/tags/responsive/)
 *  [高级视图](https://cn.wordpress.org/plugins/onlist/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/onlist/reviews/)

## 贡献者

 *   [ tradesouthwest ](https://profiles.wordpress.org/tradesouthwestgmailcom/)
 *   [ tradesouthwest ](https://profiles.wordpress.org/tradesouthwest/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/onlist/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/tradesouthwest)