帮朋友做个小导航时用到了下拉菜单,话说WordPress3.0以上版本的”wp_nav_menu()”真是好用,加上主题自定义菜单的设置简直可以说是完美的网站导航。
涉及到下拉菜单制作的方法最核心的还是鼠标移动到上面的处理。下面是调用wp_nav_menu()函数后的HTML结构(做解释用):
帮朋友做个小导航时用到了下拉菜单,话说WordPress3.0以上版本的”wp_nav_menu()”真是好用,加上主题自定义菜单的设置简直可以说是完美的网站导航。
涉及到下拉菜单制作的方法最核心的还是鼠标移动到上面的处理。下面是调用wp_nav_menu()函数后的HTML结构(做解释用):
WordPress之所以强大,插件就起到了一半的作用。这些好用的插件可以让你博客写得更顺手,功能更强大从而体会到写博客的乐趣,据WordPress官方网站统计光插件就高达种,再加上各式各样的主题你完全可以把wp打造成你想要的任何形式的网站。用WordPress一年了自己总结了几个我觉得好用的插件精简后给大家介绍一下,当然好不好用得看自己的个人习惯哦。

捣腾新主题已经两天了,算是满满干了两天,马上就搞定的时候发现一个问题:当我们在wp后台设置每页显示文章数的时候,那么整个博客所有页面文章就只能显示你设置的数量.
我在制做主题时候有这样的要求:主页显示3篇日志,其它(如存档,分类,标签…)页面全部显示.如果是这种情况那么你去改模板的话相当麻烦.Google了一下发现一个好用的插件”Different Posts Per Page”.很明显用来设置不同页面显示不同数量的文章.
如果你也有同样需要不防下载个试试,比较好用.插件要发送邮件激活.大家可以参考一下我的设置:

顺便透漏一下:新主题明天正式上线,欢迎大家捧场哦^!^
总有些人会为了自己喜欢的事儿而疯狂,下面这个人就是个wordpress的终级fans。用乡村音乐唱出wordpress。不过个人感觉这视频更像是个WordPress的“使用小技巧”。我很喜欢里面的code is open,source is free,不废话了直接上视频.
Welcome to my story about my, CMS
It’s an awesome piece of software, it’s called WordPress
It manages my blog, it makes it look real nice
I installed in in 5 minutes, this things slicker than ice
All I had to do, was click on Next
Within seconds I was running, no room to get vexedIt’s called WordPress
It’s my CMS
It’s the best thing to hit the web since porn
The code is open, the source is free
It’s available for people, just like you and meOnce I picked my title and wrote a description,
I clicked on manage, I needed to do so me fixin’
I deleted Hello World, got rid of first comment, too
I clicked on View Site and all I saw was plain blue
I moved to Presentation, there were some nice looking themes
But none fit my style, none screamed Devin ReamsChorus
After I tweaked the code and played with CSS
I installed myself some plugins, I was real impressed
They organized my archives, they helped me tag, too
Then I installed a spam blocker not a single one came through
I added movie ratings and book ratings as well
Now when people visit me they’ll know that Crank was hellChorus
So I made an about page, it got me a stalker
I was thrilled and excited, I wanted to to talk to her
She said she knew my hometown, what I looked like, too
It was mentioned that she loved guys with eyes that were blue
I didn’t mind the attention, decided it was time she had met me
Little did I know, some people named their boys LeslieChorus
Now you might be thinking, he plays piano real good
I wish it were true, I sure wish I could
Instead I wrote the lyrics to this nerdy tune,
It was GarageBand provided ballad piano number 2