前言介紹
- 這款 WordPress 外掛「Wp Vue」是 2020-01-27 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2020-01-28,距離現在已有 1924 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.4 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
tristup |
外掛標籤
vue | VUE JS | WordPress | shortcodes |
內容簡介
WP Vue 外掛程式將提供您顯示文章的快速代碼,使用 VUE JS 在頁面上顯示的方式顯示。網頁將顯示為單一頁面應用程式。
WP Vue 的主要功能包括:
使用 Vue-JS 顯示文章
可以限制文章數量 [否則將使用網站設定的預設值]
顯示分頁
單一頁面應用程式
無需重新載入頁面
shortcode和屬性
使用所有預設值
[wp-vue-posts]
使用每頁文章數量選項
[wp-vue-posts posts_per_page=”20″]
使用位移量選項
[wp-vue-posts posts_per_page=”20″ offset=”10″]
使用排序選項
[wp-vue-posts posts_per_page=”20″ offset=”10″ order=”desc”]
排序選項:「desc」為降序,「asc」為升序
使用排序方式選項
[wp-vue-posts posts_per_page=”20″ offset=”10″ order=”desc” orderby=”date”]
排序方式選項:「id」是預設值,其他有效值為「date」、「relevance」、「include」、「title」和「slug」
檔案
wp-vue.php: 開始工作的檔案
wp-vue-template.php:範本檔案,顯示使用 Vue 獲取的值
main.js:主要 JavaScript 檔案,用於創建對文章 API 端點的請求來獲取文章
原文外掛簡介
WP Vue plugin will provide you the shortcode to show the Posts using the VUE JS. Page will shows as Single Page Application.
Major features in WP Vue include:
Shows the Posts using Vue-JS
Can limit the posts [ Else will take default value from Site Settings ]
Shows the Pagination
Single Page Appplication
Do Not reload the page.
Shortcode & Attributes
With all default values
[wp-vue-posts]
With Post Per Page Option
[wp-vue-posts posts_per_page=”20″]
With Offset Option
[wp-vue-posts posts_per_page=”20″ offset=”10″]
With Order Option
[wp-vue-posts posts_per_page=”20″ offset=”10″ order=”desc”]
Order Options : “desc” for descending, “asc” for ascending
With Order By Option
[wp-vue-posts posts_per_page=”20″ offset=”10″ order=”desc” orderby=”date”]
Order By Options : “id” is deafult value, other valid values are “date”, “relevance”, “include”, “title”, and “slug”
Files
wp-vue.php : File to start working on
wp-vue-template.php : Template file showing the value fetched using Vue
main.js : Main JavaScript file to create a fetch request to the Post API endpoint to get the posts.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Wp Vue」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
SC-Vue 》SC-Vue 提供一個短代碼來注入 Vue.js 應用程式, 到 WordPress 頁面和文章中。例如,以下短代碼, 會注入 'demo_posts' 應用程式:, [pl2010_vue app="demo_p...。
WP Vue by Shaanz 》您可以選擇針對個別的文章類型進行開發或生產, 或者, 您可以透過「設置」->「WP Vue」進行全域設置。, 功能特色, , 能夠管理在個別頁面/文章或任何自定義文章...。