plugin-icon

Wp Vue

作者:tristup·
WP Vue plugin will provide you the shortcode to show the Posts using the VUE JS. Page will shows as Single Page Application.
版本
0.1.0
活跃安装
10
最后更新
Jan 28, 2020

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:

  1. Shows the Posts using Vue-JS

  2. Can limit the posts [ Else will take default value from Site Settings ]

  3. Shows the Pagination

  4. Single Page Appplication

  5. 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

  1. wp-vue.php : File to start working on
  2. wp-vue-template.php : Template file showing the value fetched using Vue
  3. main.js : Main JavaScript file to create a fetch request to the Post API endpoint to get the posts.
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.2.23
这个插件是可用的下载,适用于您的站点。