Simple WordPress theme-buling Preview

Source: Internet
Author: User
Someone said that my blog was ugly last time. I looked at it carefully and it was really ugly. I have found that my aesthetics has improved over the past year and I like simple things. However, it is very difficult for me to create things. I searched for the wordpress theme at noon yesterday: what are the nice and simple WordPress Themes ?, On the top floor, I provided my blog. I checked it.

Someone said that my blog was ugly last time. I looked at it carefully and it was really ugly. I have found that my aesthetics has improved over the past year and I like simple things. However, it is very difficult for me to create things. I searched for the wordpress theme at noon yesterday: what are the nice and simple WordPress Themes ?, On the top floor, I provided my blog. I checked it.

Someone said that my blog was ugly last time. I looked at it carefully and it was really ugly. I have found that my aesthetics has improved over the past year and I like simple things. However, it is very difficult for me to create things. I searched for the wordpress theme at noon yesterday: what are the nice and simple WordPress Themes ?, On the top floor, I provided my own blog. After reading it, it was really beautiful. Previously, the apple official website used similar lines to describe it, but it was not open-source upstairs. Alas, this .....

Fortunately, we have micro-innovation, and its role is to copy and develop the good things of others. No, the current theme (buling, let's name it) has come out, this topic was changed based on chitose and has no features of the original topic.

The theme is adapted to different screens, mainly for large display, pad, and mobile browsing.

Currently, the topic settings include the following:
1. right sidebar of shadow. It's nice to hide it.
2. The article List supports displaying only the Abstract With N characters long.
3. footer statistics code or filing information.

There are so many appearances we can see. Because the theme is coming out of work yesterday and lunch break at noon today, there must be many bugs, such as compatibility, I checked that IE7 is still normal. I don't plan to support IE6. So... There is no formal topic for you to download and use.

----------- Technical split line -------------
This is also the first time To Learn wordpress theme development, which also involves the use of many APIs, some settings and configuration information of the topic, such as this article: zh-cn: TOPIC Development is a good website article, but the access speed is really uncomfortable.

1. Set topic information
Add the following information to the header of style.css:

View Code CSS

/* Theme Name: bulingTheme URI: http://www.mjix.com/archives/1417.htmlAuthor: bulingAuthor URI: http://mjix.comDescription: changed from the chitose Theme, no bells minimalistic style! Version: 1.0 */

2. Set a topic preview.
Place screenshot.png in the topic root directory

3. Set topic information
The topic setting code is directly written in functions. php.

View Code PHP

// Set topic-related information update_option ('buling _ key', $ _ POST [$ opt]); // obtain topic-related settings get_option ('buling _ key '); // register the sidebar information register_sidebar (array ('name' => 'pbar ', 'before _ title' => '', 'after _ title' => '')); // include sidebar. PHP file get_template_part ('inclubar'); // echo, the second parameter can enable multi-language support _ e ('some msg! '); // Return some msg _ ('some msg ');

There are a bunch of the_xxx APIs that will not be listed one by one. Basically, developing a set of theme is quite simple. For the first time, you can use an existing topic to modify it, and you will soon become familiar with it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.