[wordpress插件] USA Zip Codes by WP MonstersWP Monsters的美国邮政编码

wordpress 插件 文章 2020-02-01 01:00 576 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Plugin contains American zip code database.

插件包含美国邮政编码数据库。

You can activate this plugin for any post type in settings.

您可以为设置中的任何帖子类型激活此插件。

After activation you can set zip codes for all of your posts.

激活后,您可以为所有帖子设置邮政编码。

To connect zip code with the post you should do only 3 steps: 1) Choose State ( then the plugin will display all available cities in the chosen state) 2) Choose City ( then you will see all available Zip codes in this city)<

要将邮政编码与帖子连接起来,您只需执行以下三个步骤:1)选择州(然后插件将显示所选州的所有可用城市)2)选择城市(然后您将看到该城市中的所有可用邮政编码)<

br />

br />

3) Choose Zip code.

3)选择邮政编码。

Also you can connect several zip codes to one post.

您也可以将多个邮政编码连接到一个帖子。

Use ID, ‘zipFields’, true );

使用ID,“ zipFields”,true);

?>to get an array of connected zip codes.

?>获取一组连接的邮政编码。

安装步骤

    1. Upload this plugin to ‘/wp-content/plugins/’ folder.
    2. 将此插件上传到“ / wp-content / plugins /”文件夹。

    3. Activate it Plugins section.
    4. 激活它的插件部分。

    5. Set plugin options in Settings -> Zip-codes and after that click ‘Save Changes’.
    6. 在“设置”->“邮政编码”中设置插件选项,然后单击“保存更改”。

    7. Go to selected post type and choose your zip codes.
    8. 转到选定的帖子类型,然后选择邮政编码。

    9. If you want the chosen ones in frontend you can use get_post_meta( $post->ID, ‘zipFields’, true ).

    10. 如果要在前端选择选定的对象,则可以使用get_post_meta($ post-> ID,'zipFields',true)。

      This function gives you an array of all zip codes you chose.

    11. 此功能为您提供了所有所选邮政编码的数组。

下载地址

https://downloads.wordpress.org/plugin/add-zip-codes-to-posts.zip

https://downloads.wordpress.org/plugin/add-zip-codes-to-posts.zip

-EOF-

AI助手支持GPT4.0