<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eeq's Blog &#187; Wordpress</title>
	<atom:link href="http://www.iteeq.com/archives/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.iteeq.com</link>
	<description>Just a bloger's blog!</description>
	<lastBuildDate>Mon, 03 May 2010 13:37:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>给本BLOG添加了个回复评论的插件Brians threaded comments</title>
		<link>http://www.iteeq.com/archives/211</link>
		<comments>http://www.iteeq.com/archives/211#comments</comments>
		<pubDate>Tue, 18 Mar 2008 13:13:57 +0000</pubDate>
		<dc:creator>EEQ</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[141]]></category>
		<category><![CDATA[22]]></category>
		<category><![CDATA[63]]></category>
		<category><![CDATA[92]]></category>

		<guid isPermaLink="false">http://iteeq.cn/?p=211</guid>
		<description><![CDATA[Brians threaded comments是Wordpress一款提供&#8221;回复评论&#8221;的插件
装了他之后就可以通过对应的连接来对你想引用的评论进行回复, 把主回复和后来的对应回复集合在一起,
使浏览者更便捷地浏览评论~
-_-本来不打算装的, 不过发觉换了新模板后自带了这个代码, 所以就在网上搜了下~
这里提供Brians threaded comments的下载地址:Move to the download page
]]></description>
			<content:encoded><![CDATA[<p>Brians threaded comments是Wordpress一款提供&#8221;回复评论&#8221;的插件<br />
装了他之后就可以通过对应的连接来对你想引用的评论进行回复, 把主回复和后来的对应回复集合在一起,<br />
使浏览者更便捷地浏览评论~</p>
<p>-_-本来不打算装的, 不过发觉换了新模板后自带了这个代码, 所以就在网上搜了下~<br />
这里提供Brians threaded comments的下载地址:<a href="http://meidell.dk/archives/2006/12/19/brians-threaded-comments-159/">Move to the download page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iteeq.com/archives/211/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>博客更换Wordpress主题, 同时也向大家推荐一下 &#8211; LoveBlog</title>
		<link>http://www.iteeq.com/archives/209</link>
		<comments>http://www.iteeq.com/archives/209#comments</comments>
		<pubDate>Mon, 17 Mar 2008 06:18:10 +0000</pubDate>
		<dc:creator>EEQ</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://iteeq.cn/?p=209</guid>
		<description><![CDATA[
以前一直用Coolcode.cn的主题, 近段时间发现中间非常空荡, 本想改成三栏式, 但想来想去又不知中间放什么内容好~ 最主要原因是我不喜欢在自己的博客放广告, 于是就恨下决定直接到网上去找一个现成的~ (看出问题没? 其实是我懒得去自己做~ 哇哈哈~ )
好了, 费话不多说, 下面直接来看图吧~ 演示站就是本站 
(如果以后本站换了其他主题, 请进入http://themes.thaslayer.com/4/浏览主题演示~)


Wordpress Theme Name: LoveBlog
原作:http://www.thaslayer.com/
下载:Loveblog Theme (163)
在原作中, 本来左上角的蓝色LOGO是一个红色的水晶心形, 不过我更喜欢现在的:)
]]></description>
			<content:encoded><![CDATA[<p><img src="http://thaslayer.com/pics/loveblog.gif" height="80" width="500" /></p>
<p>以前一直用Coolcode.cn的主题, 近段时间发现中间非常空荡, 本想改成三栏式, 但想来想去又不知中间放什么内容好~ 最主要原因是我不喜欢在自己的博客放广告, 于是就恨下决定直接到网上去找一个现成的~ (看出问题没? 其实是我懒得去自己做~ 哇哈哈~ )<br />
好了, 费话不多说, 下面直接来看图吧~ 演示站就是本站 <img src='http://www.iteeq.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
(如果以后本站换了其他主题, 请进入<a href="入http://themes.thaslayer.com/4/">http://themes.thaslayer.com/4/</a>浏览主题演示~)<br />
<span id="more-209"></span><br />
<img src="http://www.iteeq.cn/wp-content/themes/loveblog/screenshot.png" height="225" width="300" /></p>
<p>Wordpress Theme Name: LoveBlog<br />
原作:<a href="http://www.thaslayer.com/">http://www.thaslayer.com/</a><br />
下载:<a href="http://www.thaslayer.com/wp-content/plugins/wp-downloadMonitor/download.php?id=3" title="Version 1.0 downloaded 163 times">Loveblog Theme (163)</a></p>
<p>在原作中, 本来左上角的蓝色LOGO是一个红色的水晶心形, 不过我更喜欢现在的:)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iteeq.com/archives/209/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WORDPRESS模板手册</title>
		<link>http://www.iteeq.com/archives/221</link>
		<comments>http://www.iteeq.com/archives/221#comments</comments>
		<pubDate>Sun, 16 Mar 2008 10:30:35 +0000</pubDate>
		<dc:creator>EEQ</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[模板]]></category>

		<guid isPermaLink="false">http://iteeq.cn/archives/221/</guid>
		<description><![CDATA[WordPress基本模板文件

一套完整的WordPress模板应至少具有如下文件：

    * style.css : CSS(样式表)文件
    * index.php : 主页模板
    * archive.php : Archive/Category模板
    * 404.php : Not Found 错误页模板
    * comments.php : 留言/回复模板
    * footer.php : Footer模板
    * header.php : Header模板
    * sidebar.php : 侧栏模板
    * page.php : 内容页(Page)模板
    * single.php : 内容页(Post)模板
    * searchform.php : 搜索表单模板
    * search.php : 搜索结果模板

当然，具体到特定的某款模板，可能不止这些文件，但一般而言，这些文件是每套模板所必备的。]]></description>
			<content:encoded><![CDATA[<h3>WordPress基本模板文件</h3>
<p>一套完整的WordPress模板应至少具有如下文件：</p>
<ul>
<li><code>style.css</code> : CSS(样式表)文件</li>
<li><code>index.php</code> : 主页模板</li>
<li><code>archive.php</code> : Archive/Category模板</li>
<li><code>404.php</code> : Not Found 错误页模板</li>
<li><code>comments.php</code> : 留言/回复模板</li>
<li><code>footer.php</code> : Footer模板</li>
<li><code>header.php</code> : Header模板</li>
<li><code>sidebar.php</code> : 侧栏模板</li>
<li><code>page.php</code> : 内容页(Page)模板</li>
<li><code>single.php</code> : 内容页(Post)模板</li>
<li><code>searchform.php</code> : 搜索表单模板</li>
<li><code>search.php</code> : 搜索结果模板</li>
</ul>
<p>当然，具体到特定的某款模板，可能不止这些文件，但一般而言，这些文件是每套模板所必备的。</p>
<h3>基本条件判断Tag</h3>
<ul>
<li><code>is_home()</code> : 是否为主页</li>
<li><code>is_single()</code> : 是否为内容页(Post)</li>
<li><code>is_page()</code> : 是否为内容页(Page)</li>
<li><code>is_category()</code> : 是否为Category/Archive页</li>
<li><code>is_tag()</code> : 是否为Tag存档页</li>
<li><code>is_date()</code> : 是否为指定日期存档页</li>
<li><code>is_year()</code> : 是否为指定年份存档页</li>
<li><code>is_month()</code> : 是否为指定月份存档页</li>
<li><code>is_day()</code> : 是否为指定日存档页</li>
<li><code>is_time()</code> : 是否为指定时间存档页</li>
<li><code>is_archive()</code> : 是否为存档页</li>
<li><code>is_search()</code> : 是否为搜索结果页</li>
<li><code>is_404()</code> : 是否为 “HTTP 404: Not Found” 错误页</li>
<li><code>is_paged()</code> : 主页/Category/Archive页是否以多页显示</li>
</ul>
<h3>Header部分常用到的PHP函数</h3>
<ul>
<li><strong>&lt;?php bloginfo(’name’); ?&gt;</strong> : 博客名称(Title)</li>
<li><strong>&lt;?php bloginfo(’stylesheet_url’); ?&gt;</strong> : CSS文件路径</li>
<li><strong>&lt;?php bloginfo(’pingback_url’); ?&gt;</strong> : PingBack Url</li>
<li><strong>&lt;?php bloginfo(’template_url’); ?&gt;</strong> : 模板文件路径</li>
<li><strong>&lt;?php bloginfo(’version’); ?&gt;</strong> : WordPress版本</li>
<li><strong>&lt;?php bloginfo(’atom_url’); ?&gt;</strong> : Atom Url</li>
<li><strong>&lt;?php bloginfo(’rss2_url’); ?&gt;</strong> : RSS 2.o Url</li>
<li><strong>&lt;?php bloginfo(’url’); ?&gt;</strong> : 博客 Url</li>
<li><strong>&lt;?php bloginfo(’html_type’); ?&gt;</strong> : 博客网页Html类型</li>
<li><strong>&lt;?php bloginfo(’charset’); ?&gt;</strong> : 博客网页编码</li>
<li><strong>&lt;?php bloginfo(’description’); ?&gt;</strong> : 博客描述</li>
<li><strong>&lt;?php wp_title(); ?&gt;</strong> : 特定内容页(Post/Page)的标题</li>
</ul>
<h3>模板常用的PHP函数及命令</h3>
<ul>
<li><strong>&lt;?php get_header(); ?&gt;</strong> : 调用Header模板</li>
<li><strong>&lt;?php get_sidebar(); ?&gt;</strong> : 调用Sidebar模板</li>
<li><strong>&lt;?php get_footer(); ?&gt;</strong> : 调用Footer模板</li>
<li><strong>&lt;?php the_content(); ?&gt;</strong> : 显示内容(Post/Page)</li>
<li><strong>&lt;?php if(have_posts()) : ?&gt;</strong> : 检查是否存在Post/Page</li>
<li><strong>&lt;?php while(have_posts()) : the_post(); ?&gt;</strong> : 如果存在Post/Page则予以显示</li>
<li><strong>&lt;?php endwhile; ?&gt;</strong> : While 结束</li>
<li><strong>&lt;?php endif; ?&gt;</strong> : If 结束</li>
<li><strong>&lt;?php the_time(’字符串’) ?&gt;</strong> : 显示时间，时间格式由“字符串”参数决定，具体参考<a href="http://php.net/date" target="_blank" class="extlink">PHP手册</a></li>
<li><strong>&lt;?php comments_popup_link(); ?&gt;</strong> : 正文中的留言链接。如果使用 comments_popup_script() ，则留言会在新窗口中打开，反之，则在当前窗口打开</li>
<li><strong>&lt;?php the_title(); ?&gt;</strong> : 内容页(Post/Page)标题</li>
<li><strong>&lt;?php the_permalink() ?&gt;</strong> : 内容页(Post/Page) Url</li>
<li><strong>&lt;?php the_category(’, ‘) ?&gt;</strong> : 特定内容页(Post/Page)所属Category</li>
<li><strong>&lt;?php the_author(); ?&gt;</strong> : 作者</li>
<li><strong>&lt;?php the_ID(); ?&gt;</strong> : 特定内容页(Post/Page) ID</li>
<li><strong>&lt;?php edit_post_link(); ?&gt;</strong> : 如果用户已登录并具有权限，显示编辑链接</li>
<li><strong>&lt;?php get_links_list(); ?&gt;</strong> : 显示Blogroll中的链接</li>
<li><strong>&lt;?php comments_template(); ?&gt;</strong> : 调用留言/回复模板</li>
<li><strong>&lt;?php wp_list_pages(); ?&gt;</strong> : 显示Page列表</li>
<li><strong>&lt;?php wp_list_categories(); ?&gt;</strong> : 显示Categories列表</li>
<li><strong>&lt;?php next_post_link(’ %link ‘); ?&gt;</strong> : 下一篇文章链接</li>
<li><strong>&lt;?php previous_post_link(’%link’); ?&gt;</strong> : 上一篇文章链接</li>
<li><strong>&lt;?php get_calendar(); ?&gt;</strong> : 日历</li>
<li><strong>&lt;?php wp_get_archives() ?&gt;</strong> : 显示内容存档</li>
<li><strong>&lt;?php posts_nav_link(); ?&gt;</strong> : 导航，显示上一篇/下一篇文章链接</li>
<li><strong>&lt;?php include(TEMPLATEPATH . ‘/文件名’); ?&gt;</strong> : 嵌入其他文件，可为定制的模板或其他类型文件</li>
</ul>
<h3>与模板相关的其他函数</h3>
<ul>
<li><strong>&lt;?php _e(’Message’); ?&gt;</strong> : 输出相应信息</li>
<li><strong>&lt;?php wp_register(); ?&gt;</strong> : 显示注册链接</li>
<li><strong>&lt;?php wp_loginout(); ?&gt; </strong>: 显示登录/注销链接</li>
<li><strong>&lt;!–next page–&gt;</strong> : 将当前内容分页</li>
<li><strong>&lt;!–more–&gt;</strong> : 将当前内容截断，以不在主页/目录页显示全部内容</li>
<li><strong>&lt;?php timer_stop(1); ?&gt;</strong> : 网页加载时间(秒)</li>
<li><strong>&lt;?php echo get_num_queries(); ?&gt;</strong> : 网页加载查询量</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.iteeq.com/archives/221/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress插件生成随机图片列表(修改自Advanced Post Image Plugin)</title>
		<link>http://www.iteeq.com/archives/158</link>
		<comments>http://www.iteeq.com/archives/158#comments</comments>
		<pubDate>Tue, 18 Dec 2007 09:04:08 +0000</pubDate>
		<dc:creator>EEQ</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[141]]></category>
		<category><![CDATA[53]]></category>
		<category><![CDATA[82]]></category>
		<category><![CDATA[92]]></category>

		<guid isPermaLink="false">http://iteeq.cn/?p=158</guid>
		<description><![CDATA[今天需要用到WP随机生成图片这个功能~
于是便网上搜呀搜哇~
最后选中了雪山飞猪出品的Advanced Post Image Plugin~
用着用着发现&#8230;.默认只能生成以最新发布来排序的图片列表, 满足不了我的需求~
所以修改了一下~

~~~~~~~~~~~~~~~~~~~~~~~~~~~
改了两个地方~
修改了
function get_post_image_list($sql_select)
和
if($sql_select==1){
$posts = get_posts( &#34; numberposts=$search_number &#38;amp; orderby=RAND() &#34; );
}else{
$posts = get_posts( &#34; numberposts=$search_number &#34; );
}
用作是否随机调用作判断~
&#8212;&#8212;&#8212;&#8212;&#8212;-邪恶的分分分分线~~~~~~~~~~
把
$img = '&#60;img src=&#34;http://blog.iteeq.cn/wp-admin/%27%20.%20$img_src%20.%20%27&#34; alt=&#34;'. wptexturize($post-&#38;gt;post_title) . '&#34; height=&#34;'.$thumb_height.'&#34; /&#62;';
修改成了
$img = '&#60;img src=&#34;http://blog.iteeq.cn/wp-admin/%27%20.%20$img_src%20.%20%27&#34; alt=&#34;'. wptexturize($post-&#38;gt;post_title) . '&#34; width=&#34;'.$thumb_width.'&#34; /&#62;';
这个嘛~因为我把图片放在SIDEBAR, 原来的height=&#8221;&#8216;.$thumb_height.&#8217;&#8221;是以高为基准来对图片进行缩放的, 使得有部分图片横向撑爆了我的框架&#8230;&#8230;..所以改成了width=&#8221;&#8216;.$thumb_width.&#8217;&#8221;, 因为我觉得在DIV来说, 上下撑爆的现象好少见, 毕竟大家都以上下滚为习惯, 对小屏幕的兼容性也好~ 所以就改成以横为基准进行缩放了~
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;重点重点~使用和下载方法~&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
点这里下载
使用方法~
基本用法和原作没什么大改动~
&#8212;以下文字也是从原文复制过来修改的~
1. 上传 advanced-post-image.php 到 /wp-content/plugins/ 目录下
2. 在插件菜单下激活插件
3. 在模板文件中适当的位置插入

 模板函数
//这里我来补充~

为随机图片读取

为以最新发布来排序读取~其实就改了这里~
4. 在 wp-content/uploads/ [...]]]></description>
			<content:encoded><![CDATA[<p>今天需要用到WP随机生成图片这个功能~<br />
于是便网上搜呀搜哇~<br />
最后选中了<a href="http://fairyfish.net/" target="_blank">雪山飞猪</a>出品的<a href="http://fairyfish.net/2007/10/16/advanced-post-image-plugin/" target="_blank">Advanced Post Image Plugin</a>~</p>
<p>用着用着发现&#8230;.默认只能生成以最新发布来排序的图片列表, 满足不了我的需求~<br />
所以修改了一下~<br />
<span id="more-158"></span><br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>改了两个地方~<br />
修改了</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">function get_post_image_list($sql_select)</li></ol></div>
<p>和</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">if($sql_select==1){</li>
<li>$posts = get_posts( &quot; numberposts=$search_number &amp;amp; orderby=RAND() &quot; );</li>
<li>}else{</li>
<li>$posts = get_posts( &quot; numberposts=$search_number &quot; );</li>
<li>}</li></ol></div>
<p>用作是否随机调用作判断~</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-邪恶的分分分分线~~~~~~~~~~</p>
<p>把</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">$img = '&lt;img src=&quot;http://blog.iteeq.cn/wp-admin/%27%20.%20$img_src%20.%20%27&quot; alt=&quot;'. wptexturize($post-&amp;gt;post_title) . '&quot; height=&quot;'.$thumb_height.'&quot; /&gt;';</li></ol></div>
<p>修改成了</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline">$img = '&lt;img src=&quot;http://blog.iteeq.cn/wp-admin/%27%20.%20$img_src%20.%20%27&quot; alt=&quot;'. wptexturize($post-&amp;gt;post_title) . '&quot; width=&quot;'.$thumb_width.'&quot; /&gt;';</li></ol></div>
<p>这个嘛~因为我把图片放在SIDEBAR, 原来的height=&#8221;&#8216;.$thumb_height.&#8217;&#8221;是以高为基准来对图片进行缩放的, 使得有部分图片横向撑爆了我的框架&#8230;&#8230;..所以改成了width=&#8221;&#8216;.$thumb_width.&#8217;&#8221;, 因为我觉得在DIV来说, 上下撑爆的现象好少见, 毕竟大家都以上下滚为习惯, 对小屏幕的兼容性也好~ 所以就改成以横为基准进行缩放了~</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;重点重点~使用和下载方法~&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><a href="http://eeq.uni.cc/download/advanced-post-image.rar" target="_blank">点这里下载</a></p>
<p>使用方法~<br />
基本用法和<a href="http://fairyfish.net/2007/10/16/advanced-post-image-plugin/" target="_blank">原作</a>没什么大改动~</p>
<p>&#8212;以下文字也是从<a href="http://fairyfish.net/2007/10/16/advanced-post-image-plugin/" target="_blank">原文</a>复制过来修改的~<br />
1. 上传 advanced-post-image.php 到 /wp-content/plugins/ 目录下<br />
2. 在插件菜单下激活插件<br />
3. 在模板文件中适当的位置插入
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"></li></ol></div>
<p> 模板函数<br />
//这里我来补充~</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"></li></ol></div>
<p>为随机图片读取</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"></li></ol></div>
<p>为以最新发布来排序读取~其实就改了这里~<br />
4. 在 wp-content/uploads/ 目录下创建 thumb 文件夹并将其设置为 777</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iteeq.com/archives/158/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[EEQ Wordpress Theme] 发布 &#8211; Eeq_0712sa_1.0</title>
		<link>http://www.iteeq.com/archives/157</link>
		<comments>http://www.iteeq.com/archives/157#comments</comments>
		<pubDate>Wed, 12 Dec 2007 13:55:04 +0000</pubDate>
		<dc:creator>EEQ</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[165]]></category>
		<category><![CDATA[88]]></category>
		<category><![CDATA[92]]></category>

		<guid isPermaLink="false">http://iteeq.cn/?p=157</guid>
		<description><![CDATA[

今天发布我第一个做的Wordpress Theme. 是一个比较清爽型的主题.
没啥好说的,喜欢就拿去用, 以后会不断修改, 希望大家多多支持~
呃&#8230;..个人当然是还有觉得不满意的地方, 但还没想好怎么修改, 等一个个版本吧, 哈哈~
PS:放在国外的空间, 下载速度可能稍慢, 大家请见谅.
点击下载
]]></description>
			<content:encoded><![CDATA[<p><img src="http://eeq.uni.cc/wp-content/themes/Eeq_0712sa_1.0/screenshot.gif"  /><br />
<span id="more-157"></span><br />
今天发布我第一个做的Wordpress Theme. 是一个比较清爽型的主题.</p>
<p>没啥好说的,喜欢就拿去用, 以后会不断修改, 希望大家多多支持~</p>
<p>呃&#8230;..个人当然是还有觉得不满意的地方, 但还没想好怎么修改, 等一个个版本吧, 哈哈~</p>
<p>PS:放在国外的空间, 下载速度可能稍慢, 大家请见谅.</p>
<p><a href="http://eeq.uni.cc/download/Eeq_0712sa_1.0.zip" title="Eeq_0712sa_1.0">点击下载</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iteeq.com/archives/157/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
