Giter Site home page Giter Site logo

Comments (5)

poisonboy avatar poisonboy commented on July 19, 2024

可以,如果你会简单代码的话,可以做成任何你想做的样子。你可以看看我头像的小程序,就是基于群主的开源程序做的。

from winxin-app-watch-life.net.

skating507 avatar skating507 commented on July 19, 2024

就是测试了没有成功

from winxin-app-watch-life.net.

skating507 avatar skating507 commented on July 19, 2024

//获取热点文章
getTopHotPosts(flag){
var url = HOST_URI;
if(flag ==1)
{
url +="posts?per_page=5&&page=1&categories=2836"
}
else if(flag==2)
{
url += "posts?per_page=5&&page=1&categories=18212"
}

  return url;

},
我直接改成这样好像不行,哪里出问题了呢

from winxin-app-watch-life.net.

iamxjb avatar iamxjb commented on July 19, 2024

热点文章是基于我自己定义的api来显示的,并非用的官方的api,所以你的方法是没法生效的,如果你想改为分类的,需要修改我写得wordpress 插件。

from winxin-app-watch-life.net.

skating507 avatar skating507 commented on July 19, 2024

我修改插件老是显示出错。

from winxin-app-watch-life.net.

Related Issues (20)

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.