Title: Location Taxonomy
Author: Felix Arntz
Published: <strong>2025 年 1 月 22 日</strong>
Last modified: 2026 年 5 月 17 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/location-taxonomy.svg)

# Location Taxonomy

 作者：[Felix Arntz](https://profiles.wordpress.org/flixos90/)

[下载](https://downloads.wordpress.org/plugin/location-taxonomy.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/location-taxonomy/)

## 描述

This plugin adds a “Location” taxonomy to your website – plain and simple. The taxonomy
allows you to associate your posts with specific locations.

By default, the taxonomy will be available for posts. This can be customized with
a filter.

## 安装

 1. Upload the entire `location-taxonomy` folder to the `/wp-content/plugins/` directory
    or download it through the WordPress backend.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常见问题

### Where can I configure the plugin?

This plugin doesn’t come with a settings screen or options of any kind. Once you
install it, you should find a “Location” taxonomy entry in your “Posts” menu.

### How can I modify for which post types the location taxonomy is available?

This is very straightforward using the built-in filter `loctax_post_types`.

For example, the following snippet would additionally show the taxonomy for pages:

    ```
    add_filter(
        'loctax_post_types',
        function ( $post_types ) {
            $post_types[] = 'page';
            return $post_types;
        }
    );
    ```

### Where should I submit my support request?

For regular support requests, please use the [wordpress.org support forums](https://wordpress.org/support/plugin/location-taxonomy).
If you have a technical issue with the plugin where you already have more insight
on how to fix it, you can also [open an issue on GitHub instead](https://github.com/felixarntz/location-taxonomy/issues).

### How can I contribute to the plugin?

If you have ideas to improve the plugin or to solve a bug, feel free to raise an
issue or submit a pull request in the [GitHub repository for the plugin](https://github.com/felixarntz/location-taxonomy).
Please stick to the [contributing guidelines](https://github.com/felixarntz/location-taxonomy/blob/main/CONTRIBUTING.md).

You can also contribute to the plugin by translating it. Simply visit [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/location-taxonomy)
to get started.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Felix Arntz ](https://profiles.wordpress.org/flixos90/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/location-taxonomy/)
 * 标签
 * [hierarchical](https://cn.wordpress.org/plugins/tags/hierarchical/)[location](https://cn.wordpress.org/plugins/tags/location/)
   [post](https://cn.wordpress.org/plugins/tags/post/)[taxonomy](https://cn.wordpress.org/plugins/tags/taxonomy/)
 *  [高级视图](https://cn.wordpress.org/plugins/location-taxonomy/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Felix Arntz ](https://profiles.wordpress.org/flixos90/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://felix-arntz.me/wordpress-plugins/)