Coder Social home page Coder Social logo

18323385517 / kanbanmusume Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ixixii/kanbanmusume

0.0 1.0 0.0 3.4 MB

WordPress添加看板娘

Home Page: http://vwhm.net/2018/09/20/wordpress博客添加看板娘送37套服饰.html

CSS 36.32% JavaScript 49.65% PHP 14.03%

kanbanmusume's Introduction

KanBanMusume

WordPress添加看板娘

WordPress博客添加看板娘(送37套服饰) 1.  从我的github下载压缩包

  1. 将下载的压缩包 上传到网站的根目录,并解压

scp live2d_v1.0.zip [email protected]:/usr/local/nginx/html/vwhm_net_wwwroot/

  1. 在header文件中添加以下代码

cd wp-content/themes/twentyseventeen/

<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.js"></script>
  1. 在footer文件中body结束标签之前,添加以下代码
隐藏
换装
<script type="text/javascript"> var message_Path = '/live2d/' var home_Path = 'http://vwhm.net' //此处修改为你的域名,必须带斜杠 </script> <script type="text/javascript" src="/live2d/js/live2d.js"></script> <script type="text/javascript" src="/live2d/js/message.js"></script> <script type="text/javascript"> var index = Math.ceil(Math.random()*37) console.log('未闻花名vwhm.net + ' + index) loadlive2d("live2d", "/live2d/model/pio/model_"+index+".json"); </script>

效果如下:

WordPress博客添加看板娘(送37套服饰) ​

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.