GithubHelp home page GithubHelp logo

hzlzh / dot-b Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 3.0 2 MB

WordPress Theme: Dot-B

Home Page: http://wordpress.org/extend/themes/dot-b/

License: GNU General Public License v2.0

PHP 61.14% JavaScript 4.37% CSS 34.49%

dot-b's Issues

How to change the RSS icon image into your own image?

One way:

You can cover the old image named all.png by tools like Photoshop
Location: http://xxxx.xxxx.com/wp-content/themes/dot-b/images/all.png

Another way:

Add a new CSS style to the theme file style.css to the bottom.
Please save that image into your FTP and replace the image URL.

#header #rss {
    background: url("https://dl.dropboxusercontent.com/u/13642414/temp/facebook.png") repeat scroll 0 0 transparent;
}
#header #rss:hover {
    background: url("https://dl.dropboxusercontent.com/u/13642414/temp/facebook.png") repeat scroll 0 0 transparent;
}

then you can see the new image there like the screenshot belwo:
after

怎样解决Windows主机下,主题分页出错的问题?

分页无法打开,是因为你没有完全开启 .htaccess URL重定向功能造成的,比如URL变成下面分页就正常了。
无法打开:http://www.test.com/page/2/
正常打开:http://www.test.com/index.php/page/2/

解决方案有两个:


1. hack法

你尝试先hack一下 navigation.php 第10行,手动加上缺失部分。
https://github.com/hzlzh/Dot-B/blob/master/navigation.php#L10

2. 插件法

也可一直接使用WordPress的著名分页插件WP-PageNavi,因为这个主题做了此插件的兼容适配。

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.