[WordPress] 外掛分享: RNWP App template config

首頁外掛目錄 › RNWP App template config
10+
安裝啟用
尚無評分
1424 天前
最後更新
問題解決
WordPress 1.0.0+ PHP 7.0+ v1.0.1 上架:2020-11-04

內容簡介

這個外掛可以透過RNWP模板或使用此外掛所提供的REST API路由和功能,幫助您在Android和iOS平台上建立您的網站的行動應用程式。

透過此外掛,支援用戶搜尋他們所選擇的文章類型的REST API。預設的WordPress REST API {post_type} 路由只搜尋一種文章類型。預設的search路由不會返回文章內容。因此,此外掛註冊了一個rest路由,可以搜尋超過一個文章類型,並返回與此搜索相關的所有文章的標題、內容和摘錄。rest路由可以通過訪問此鏈接進行訪問:your-website.com/wp-json/search/v1/search。

搜索rest路由有兩個參數; 參數per_page可以在外掛管理儀表板中進行調整。 關鍵字參數應與搜索文本相關。

由於WordPress預設的REST API限制文章查詢為100個文章對象。如果網站要下載超過100篇文章,用戶可以調整插件以下載他希望的文章數量,限制可以超過100個文章對象。

如果用戶正在使用Woocommerce,此外掛確保商品類別和標籤會有一個REST API,這樣應用程式就可以訪問它們。

此外掛可以幫助RNWP模板的用戶配置其行動應用程式喜好設置,而無需編寫代碼。

用戶可以調整應用程式的主要URL(有助於多語言網站)、要顯示的文章類型或分類、每頁文章數量、應用程式自定義文本(例如屏幕、設定和通知消息)、淺色和深色模式顏色、聯繫詳細信息和社交鏈接、Admob設置等設置。

調整網站喜好設置後,用戶可以將生成的代碼複製到應用程式模板中,即可準備好建立應用程式。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「RNWP App template config」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin facilitates building a mobile app for your website on both Android and IOS platforms either with the help of RNWP template or through a custom template using the REST API routes and functionalities provided by this plugin.
Through this plugin, a REST API to search over the post types chosen by the user is supported. The default WordPress REST API {post_type} route searches only through one post type. The default search route doesn\’t return the post content. So this plugin registers a rest route that can search more than one post type and return the post title, content, and excerpt for all posts relevant to this search. The rest route can be accessed by going to this link: your-website.com/wp-json/search/v1/search.
The search rest route has two parameters; the parameter per_page can be adjusted in the plugin admin dashboard. The keyword parameter shall be related to the search text.
As the WordPress default, REST API limits the post query to 100 post objects. If the website has more than 100 posts to download, the user can adjust the plugin to download the number of posts he wishes and the limit can be more than 100 post objects.
If the user is using Woocommerce, this plugin ensures the product categories and tags will have a REST API so that the app can access them.
This plugin shall help the user of RNWP template configure his mobile app preferences without the need to write code.
The User can adjust the main URL for his app (will help for multilingual websites), post types or taxonomies to be shown, the number of posts per page, app custom texts (e.g. screen, settings, and notification messages), light and dark mode colors, contact details and social links, Admob settings and many other settings.
After adjusting the website preferences, the user can copy the generated code to the app template and the app would be ready to be built.

延伸相關外掛

文章
Filter
Mastodon