Giter VIP home page Giter VIP logo

blackcooler's Introduction

BlackCooler

本代码库是一个基于WordPress的主题
使用并适用于
https://www.redonleft.com/
可以直接点击查看
因为是我私有网站使用,不能保证所有网站的适用性。可能会缺失很多功能或者产生兼容性问题,请在有一定技术能力的基础上自行使用。

版权

主题基于GPL3.0协议,在协议允许的范围内使用请注明本主题的GitHub链接。
如有商业使用的需求,请联系我。

安装

需先行安装WordPress
如果不会,请参照

下载

英文
https://wordpress.org/download/#download-install
中文
https://cn.wordpress.org/download/#download-install

安装

英文
https://wordpress.org/support/article/how-to-install-wordpress/
中文
https://cn.wordpress.org/support/article/how-to-install-wordpress/
在安装并能成功运行WordPress后,进入下方文件夹并运行代码

wordpress\wp-content\themes\ 
git clone https://github.com/alucardwind/BlackCooler.git

在使用中请尽量获取最新版本的代码
相关git代码请自行学习

进入WordPress后台,在外观-主题中启用BlackCooler

本主题自动搭配以下插件,请自行下载使用
请自行学习如何手动安装WordPress插件
redonleft_player
redonleft_copyright

关于微博插件

主题在wordpress插件外,另行制作了基于微博PHP API的微博展示挂件
相关代码在weibo.php中,并在sidebar.php中调用
请注意! 微博外挂插件需要向新浪微博申请权限,请使用者自行申请,申请地址:https://open.weibo.com/
在未获得新浪微博授权时直接启用本主题会报错并显示错误。
基于以上情况,请使用者自行决定是否启用该功能

  • 如没有权限或不想使用该功能
    请编辑文件sidebar.php,查找24行并删除下方语句
get_weibo();

或者直接删除文件weibo.php

  • 如果已经拥有相关权限,请编辑文件weibo.php,查找45行并填入相关权限代码
$c = new SaeTClientV2( '权限代码1', '权限代码2', '权限代码3' );

blackcooler's People

Contributors

alucardwind avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xiamuguizhi

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.