[wordpress插件] Citizens' initiative support市民的主动支持

wordpress 插件 文章 2020-03-23 21:50 525 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin provides easy way for adding widget to show number of support statements in Finnish citizens’ initiative.

此插件为添加小部件提供了简便的方法,以显示芬兰公民倡议中的支持声明数量。

It also adds a link to kansalaisaloite.fi where the initiative may be signed.

它还添加了指向kansalaisaloite.fi的链接,在该链接中可以签署该计划。

It receives initiative information from kansalaisaloite.fi Open Data API so all the information is fresh.

它从kansalaisaloite.fi开放数据API接收主动信息,因此所有信息都是新鲜的。

Plugin handles citizens’ initiative states correctly.

插件正确处理公民的主动权状态。

If initiative is more than month old and has less than 50 support statements, the due date and signature link will not be shown because signing is no longer possible in kansalaisaloite.fi.

如果主动权存在时间超过一个月且支持声明少于50个,则到期日期和签名链接将不会显示,因为kansalaisaloite.fi中不再可能进行签名。

Initiative more than six months old and with less than 50 000 support statements is treated same way.

超过六个月的倡议和少于五万份支持声明的倡议被以同样的方式对待。

Citizens’ initiative sent to Parliament will show message saying that the initiative has been sent to Parliament and signature link will not be shown.

发送给议会的公民倡议将显示一条消息,指出该倡议已发送给议会,并且不会显示签名链接。

Usage

用法

Navigate to the ‘Widgets’ dashboard, drag and drop ‘Kansalaisaloite’-widget to the desired place and set initiative number to get started.

导航到“小部件”仪表板,将“ Kansalaisaloite”小部件拖放到所需位置,并设置计划编号以开始使用。

Initiative number is the last part of initiative url in kansalaisaloite.fi, example kansalaisaloite.fi/fi/aloite/1.

计划编号是kansalaisaloite.fi中计划URL的最后一部分,例如kansalaisaloite.fi/fi/aloite/1

In widget settings there is input for title, if it is empty widget title will be title of initiative.

在小部件设置中,输入标题,如果为空,则小标题将是初始标题。

There is also opportunity to choose whether the widget uses Finnish or Swedish title of initiative.

也有机会选择小部件是使用芬兰语还是瑞典语的倡议名称。

Signature link uses this same choice so that if Swedish is chosen, link will point to Swedish version of kansalaisaloite.fi.

签名链接使用相同的选择,因此,如果选择瑞典语,则链接将指向瑞典语版本的kansalaisaloite.fi。

Future plans

未来计划

    • Add possibility to show progress bar for visualizing the number of support statements
    • 增加显示进度条的可能性,以可视化支持声明的数量

    • Add shortcode support to get number of support statements into content
    • 添加简码支持以使支持声明的内容更多

    Languages

    语言

      Plugin is NOT provided by Finnish Ministry of Justice and they are not responsible of this plugin!

      芬兰司法部不提供插件,他们对此插件不承担任何责任!

      Plugin is developed by Timi Wahalahti.

      插件由Timi Wahalahti开发。

安装步骤

Using The WordPress Dashboard

使用WordPress仪表板

    1. Navigate to the ‘Add New’ Plugin Dashboard
    2. 导航到“添加新的”插件面板

    3. Select citizen-initiative-support.zip from your computer
    4. 从计算机中选择 citizen-initiative-support.zip

    5. Upload
    6. 上传

    7. Activate the plugin on the WordPress Plugin Dashboard
    8. 在WordPress插件仪表板上激活插件

    Using FTP

    使用FTP

      1. Extract citizen-initiative-support.zip to your computer
      2. citizen-initiative-support.zip 提取到您的计算机中

      3. Upload the citizen-initiative-support directory to your wp-content/plugins directory
      4. 将citizen-initiative-support目录上传到您的wp-content / plugins目录

      5. Activate the plugin on the WordPress Plugins dashboard
      6. 在WordPress插件仪表板上激活插件

下载地址
https://downloads.wordpress.org/plugin/citizen-initiative-support.1.0.zip
-EOF-

AI助手支持GPT4.0