Title: Wp Vue
Author: tristup
Published: <strong>2020 年 1 月 28 日</strong>
Last modified: 2020 年 1 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-vue.svg)

# Wp Vue

 作者：[tristup](https://profiles.wordpress.org/tristup/)

[下载](https://downloads.wordpress.org/plugin/wp-vue.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-vue/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-vue/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-vue/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-vue/#developers)

 [支持](https://wordpress.org/support/plugin/wp-vue/)

## 描述

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.

## 屏幕截图

[⌊Screenshot : Shortcode.⌉⌊Screenshot : Shortcode.⌉[

Screenshot : Shortcode.

## 安装

This section describes how to install the plugin and get it working.

 1. Go to WordPress Dashboard > Plugins > click on Installed plugins > look for add
    new at the top most of the screen and click here > Add Plugins > upload plugin 
    > choose file -> click here and upload Simple Demo Importer plugin.
 2. Activate Plugin through ‘Plugins’ menu in WordPress.
 3. You can start using the Shortcode with all the possible attributes. Happy `Vuing`

## 常见问题

 1. How to create a New Request?

Answer : Need to create a method in main.js follwoing the VUE JS structure, and 
call into the template file.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Wp Vue」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ tristup ](https://profiles.wordpress.org/tristup/)

[帮助将「Wp Vue」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-vue)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-vue/)，查看[SVN仓库](https://plugins.svn.wordpress.org/wp-vue/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wp-vue/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-vue/)。

## 更新日志

Intial Commit.

## 额外信息

 *  版本 **0.1.0**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-vue/)
 * 标签
 * [shortcodes](https://cn.wordpress.org/plugins/tags/shortcodes/)[vue](https://cn.wordpress.org/plugins/tags/vue/)
   [WordPress](https://cn.wordpress.org/plugins/tags/wordpress/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-vue/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-vue/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-vue/reviews/)

## 贡献者

 *   [ tristup ](https://profiles.wordpress.org/tristup/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-vue/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.tristupghosh.com/)