Category Archives: YO2技巧

Yo2邀请码

Yo2邀请码: 0a8f79cc02ab0f4e66b022ffe1bada01 - 可使用   945528bed595d43eb29f5765063496b9 - 可使用   69afd80ab3c83d7f97b550c527e20cde - 可使用   3552912eca24ce6af7e9bdb67b8e31b5 - 可使用   b4c152d0e6c7273cd5490382a30a0a97 - 可使用   9c6bad0ddc85c448fa3f327dda55abe5 - 可使用 如以上邀请码已不能使用,请留言,并留下邮箱!

Posted in YO2技巧 | Tagged , | Leave a comment

整理的常用代码(插入时间、编辑按钮、计数器)

很多主题的虽然设计的很美观,但是有的地方总需要自己加以修改,以下是使用中可能遇到的代码 1.主题下显示发布时间(精确到时刻)的代码:                                <span class="post-meta-date"><?php the_time('F jS, Y'); ?></span>                                @                                <span class="post-meta-time"><?php the_time(); ?></span>                                By                                <span class="post-meta-author"><?php the_author(); ?></span> 2.插入编辑该文章的代码:                               <?php edit_post_link('编辑该文章', '<p>','</p>'); ?> 3.本博的计数器代码: … Continue reading

Posted in YO2技巧 | Tagged , , , | Leave a comment

Yo2博客添加留言板及解决不能留言问题(转)

具体解决办法: 在YO2后台"外观"项的"主题编辑器"中,点击"页面",找到< ?php endwhile; endif; ?>,在句代码的前面,加入<#?php comments_template(); ?>,加入的时候,将蓝色#删除。 然后保存更新。 本文转自木木的精品盒子 参考链接:http://97box.cn/archives/11065 注:收藏这些的目的是为了以后自己能够更好的学习和使用Yo2

Posted in YO2技巧 | Tagged , | Leave a comment

YO2插件Pagebar2的使用(转)

Pagebar2是 一个WordPress分页插件,一些WordPress模板的分页效果都很简陋,仅仅显示黑字粗体的"previous"和"Next",给人的感觉既 粗糙又不美观,而Pagebar2可以自定义Css外观,美化后你可以拥有一个漂亮的导航条来代替"previous"和"Next"。 插件主页:http://elektroelch.de/hacks/wp/pagebar/ 目前YO2使用的Pagebar2版本:2.01 官方最新版本:2.16 插件的启用: 1.登录YO2后台,插件-->插件管理,在插件名称里面找到Pagebar2,启用; 2.插件被启用之后,可以在插件菜单下看到一个Pagebar2菜单,点击打开设置(如图); 说明: Display和Tooltips中的设置,对照最后的分页效果图应该容易理解: -- Automatic insertion -- (自动设置,请看下面详细说明)-- Integration -- + Remove standard navigation (清除原先分页,请看下面详细说明)-- Stylesheet -- (选择css文件,YO2中只能选择放到style.css文件中) --Tokens -- (三个可用标识符,但我用{current}为何老是显示0,明白的告知一声) {page} Page number 页码 {total} Total number of pages 总页码 {current} … Continue reading

Posted in YO2技巧 | Tagged , | Leave a comment