Home » Archive

Articles tagged with: WordPress

WordPress »

[31 Jan 2010 | One Comment | ]

转载由:http://blogunion.org/wordpress/wordpress-plugins/all-in-one-seo-pack.html
一,什么是All in One SEO Pack?
All in One SEO Pack,wordpress的一个seo插件,用这一个插件你就可以实现wordpress的整体优化。

WordPress »

[9 Jan 2010 | No Comment | ]

正如大家所见,我使用的WordPress模板已经是很旧很旧的了,是以前在WordPress 1.5还是1.0系列的默认模板之上,简单修改而来的。没有选用三栏布局,因为我喜欢用稍微大一点的字体,三栏布局对我来说侧边栏东西太多,加上文章长了以后侧边栏的下面空白很大。不过旧模板自然也就没有Widgets:
No Sidebars Defined You are seeing this message because the theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please follow these instructions.

WordPress »

[8 Jan 2010 | No Comment | ]

刚建立Just A Blog的时候,我也是一直在WP的论坛或者通过Google到处找adsense的插件,当时就觉得adsense deluxe功能比较强大,但是使用一段时间后也觉得不怎么样,于是就像不使用插件,自己改Wordpress模板。 很多人都是想在文章正文里插入Adsense广告,让文字环绕着广告,这样可以获得不错的点击率。下面这个方法可以通过修改模板代码实现。 我们需要修改的是主题中的single.php文件。找到:

<!–p the_content(‘Read the rest of this entry »’);–>

上面的代码是用来显示文章内容de,我们在他的前面加上一段代码,就可以实现在文章开始显示Google adsense:

<div style="float:right;width:200px;">你的广告代码</div>

其中float:right是左右,你可以根据你个人喜欢来调整左右,width:200px,这个是你广告位置的宽,也可以根据你的广告大小进行调整。 加上这样的代码后,Google adsense就会悬浮在文章的右侧,宽度是200px。如果要放置adsense到文章底部直接在the_content下面插入:

<div>你的广告代码</div>

Featured, WordPress, 原创 »

[8 Jan 2010 | No Comment | ]
【原创】让Adsense Deluxe Plugin 用于 Wordpress 2.8.1 and Up

Wordpress已经更新到2.9.1,但Adsense Deluxe Plugin依然维持在0.8,在新版wp中Adsense Deluxe Plugin会出现:
You do not have sufficient permissions to access this page
你没有权限访问这个页面
的问题。通过这篇文章,我找到了问题所在。解决办法如下:

WordPress »

[8 Jan 2010 | No Comment | ]

一、插件介绍 该插件实现的功能是统计某篇文章被阅读次数并且可以实现侧边栏 Widget 以及显示最受欢迎(阅读数最多)文章、某分类下最受欢迎(阅读数最多)文章等功能,支持最新的 WP 2.3 版本。