Git Product home page Git Product logo

random-look's Introduction

Random Look

Random Look

给WordPress添加随便看看,顾名思义就是随机给出文章来看看,很小但很实用。

博客原文:WordPress添加随便看看

安装

WordPress后台安装插件,搜索:Random LookWordPress Plugin

修改配置

  • 方法一:在 WordPress 插件管理页面有设置按钮,进行设置
  • 方法二:在 WordPress 后台管理左侧导航栏设置随便看看设置,点击进入设置页面

选择随机方式

有两种随机方式,一种直接随机,另外一种可以指定分类和文章类型进行随机

使用方式

  • 访问你网站的域名 /?random 即可看到效果;

如:qq52o.me/?random

  • 如果要在导航菜单显示的话,在后台新建一个自定义 URL 菜单即可;

当你选择第二种指定分类和文章类型时,需要增加其他两个参数

random_cat_idrandom_post_type,分别表示分类ID和文章类型

random-look's People

Contributors

sy-records avatar

Watchers

 avatar

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.