其实不怎么满意现在文内广告的位置,本来是想通过判断WP中的more标签位置插入广告的,奈何自己总是很懒,加上毕业设计的任务压在头上,也就作罢了,忽然想起WP的短代码功能似乎可以实现此功能,于是翻了翻WordPress Popular Posts的代码,找出了此段代码,这样就可以轻松在博客文章或者WordPress侧栏中任意位置添加Adsense广告了。 代码很简单,把以下的代码加入到主题的functions.php中: function showad() { return ‘<div class=”advertise”> //这里放你的

WordPress have different user roles. These roles let administrator manage blog contributors works better. Author role in WordPress can not see much information from the dashboard. Sometimes, we may want to see what we have published. At that time, we can uses the following code to let Author see their own posts list.

When we write article, we often uses some external links to extent our content. These links will help other websites build search engine weightiness. If you don’t want to help your competitors, you should add “nofollow” to these links. One idea is to add rel=”nofollow” on each links manually. But, it will be a tough task. […]

All my works has been transferred to OX Theme Description: SimpleBlue is my first free widget supported Wordpress theme.  It’s simple but stylish. I used bold design on my color selection. A dark gray  background with a deep blur navigation bar makes SimpleBlue very bright-colored. I build 6 widget column for your convenience.  There are three in the sidebar. […]

Before you starting to run a value added wordpress powered blog, it is important to begin with a full understanding of planning considerations going in and what has to be accomplished in the overall scheme of things. Planning your overall strategy will help you reach your goal in the short future after you started blogging. […]

自己博客用的主题已经很久了,慢慢的也看着有点腻了,想换换口味了,新版Wordpress主题正在制作中,准备命名为Simple,不过估计Simple已经有别的免费主题使用这个名字了。

本着折腾到底不罢休的精神,又给博客做了个手术,这手术做的可不轻松,啃下了WP最艰难的部分。本次修改主要是为了支持嵌套回复,也是为了提高用户体验的一个重大举措吧,其实要纯粹的支持嵌套回复功能倒是简单,然而同时要正常使用ThinkAgain的Mail to Commenter插件来邮件回复的时候,问题就会随之而来了。昨晚折腾到半夜三点,终究是把问题给解决了。关键点在于如何让主题支持嵌套以及如何支持邮件回复。

Some people find it hard to make a good blog theme. But there are some common points a good theme have. Follow these 5 tips and you will make a perfect blog theme.

I started make my free WordPress themes few days ago. While I said I’ll publish my first theme quickly, I have no time to build it. I began this work on my holiday. Now I ‘ll share some expiriences. First post, I will introduce you some head functions used in wordpress themes and their parameters. […]

最近才开始摆弄Wordpress主题,之前说过要制作个主题的,只是一直不得空,现在开始制作自己的主题,也把自己在制作Wordpress主题中遇到的问题和解决方法分享一下。第一篇先来说说wordpress主题制作中头部用到的函数及其参数,注意这里说到的头部指<head>与</head>之间的部分。 至于说到用法,以下所有函数的使用方式都如:<?php wp_title(); ?>其中wp_title()修改为你需要用到的函数。