跳到内容

Zip.News API

v1.5.0

atanasbalevsky · 2021年3月23日 上架

This plugin will communicate with Zip.News' API, fetches articles according the search widget configuration and displaying them when the widget & …

正在使用
10 以下
评分
暂无
累计下载
1,522
最近更新
2021年10月12日
需要 WordPress 5.5+已测试到 5.8.20PHP 7.3+

贡献者

截图

The result of the integration will be articles from zip.news presented inside of a widget on your WordPress installation. The design of the boxes will be similar to https://zip.news, however customization is possible.
The result of the integration will be articles from zip.news presented inside of a widget on your WordPress installation. The design of the boxes will be similar to https://zip.news, however customization is possible.
Open https://zip.news
Open https://zip.news
Login or create a new account
Login or create a new account
Open your user menu and navigate to your Account Details
Open your user menu and navigate to your Account Details
On your Account Details page, please take your userID and apiToken
On your Account Details page, please take your userID and apiToken
Download the package from https://zip.news/wordpress-zipnews.zip or find it at WordPress's plugin archive at https://wordpress.org/plugins/
Download the package from https://zip.news/wordpress-zipnews.zip or find it at WordPress's plugin archive at https://wordpress.org/plugins/
Install the plugin and activate it
Install the plugin and activate it
Open the "Settings" page of the plugin and enter your UserID, ApiToken and configure your news API fetching period
Open the "Settings" page of the plugin and enter your UserID, ApiToken and configure your news API fetching period

Demo widgets here

General plugin information about news API

  • This plugin will communicate with Zip.News’ API, fetches articles according the search widget configuration and displaying them when the widget & widget area are enabled with the help of a the news api.
  • The plugin will present the articles in a similar design to the website https://Zip.News, customizable by your theme.
  • The plugin will cache the results from the news api on your WordPress installation for a configured period
  • This plugin can be customized or extended according to the WordPress codex
  • This plugin uses a 3rd-party service (Zip.News) for the news api, so you must also comply to Zip.News’ Terms and Conditions

Pre-requisites

Create an account at Zip.News

Please visit https://zip.news and create an account that we’ll use for the integration with your WordPress installation.

  1. Open https://zip.news (* screenshot-2)
  2. Login or create a new account (* screenshot-3)
  3. Open your user menu and navigate to your Account Details (* screenshot-4)
  4. On your Account Details page, please take your userID and apiToken (* screenshot-5) that we’ll use to access the news api

Plugin installation

  1. Download the package from Zipnews’s website https://zip.news/wordpress-zipnews.zip or find it at WordPress’s plugin archive at https://wordpress.org/plugins/ (* screenshot-6)
  2. Install the plugin and activate it (* screenshot-7)
  3. Open the “Settings” page of the plugin and enter your UserID, ApiToken and configure your news API fetching period (* screenshot-8)

Widget configuration

  1. Navigate to Admin -> Appearance -> Widgets (* screenshot-9)
  2. Add the Zip.News Widget to your desired widget area
  3. Configure the widget with your desired search parameters. Please consult the how to search tutorial at https://zip.news/us/howToSearch.html or ping us at https://zip.news/us/about.html in case you need an assistance. (* screenshot-10)

WordPress Developer information

  • This plugin will communicate with Zip.News API, fetches articles according the search widget configuration and displaying them when the widget & widget area are enabled. More info on the news api please visit https://zip.news
  • The plugin will cache the results on your WordPress installation for the configured period
  • If a custom design is needed, please check the template at ./templates/related-articles.php. You can override it by putting a template at your_theme/related-articles.php.
  • There’re numerous filters used to customize the presentation:
    • widget_title – this is an original WordPress filter that’s used to hook up during widget title calculation
    • znaw_article_href – filter the URL of each article
    • znaw_article_title – filter the title of each article
    • znaw_article_text – filter the text of each article
    • znaw_excerpt_length – the length of the excerpt text
    • znaw_excerpt_more – the symbol for the “read more” if the excerpt has to be truncated
    • znaw_the_content – filter the excerpt text of the article

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums