wordpress 那些事儿

Post on 16-Apr-2017

3.400 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

WordPress 和它的兄弟姐妹们

BSP 服务商BSP ( Blog Service Provider ),博客服务托管商。比如:blogger.com 、 myspace.com 、 Qzone ,以及曾经的 Live Spaces 。

博客平台分类

独立博客独立的域名 + 空间。常见的博客平台:WordPress 、 Z-Blog 、 PJBlog 、 Bo-blog 、 Typecho 、emlog

WordPress 的市场地位WordPress,Drupal,DeDecms,Phpcms 是目前市场占有率最高的 CMS 、 blog 构架系统。用 Google 的 Trend 趋势工具纵向分析 WordPress 近些年来的成长历程以及市场地位。

WordPress 的优势

免费开源

安全性 易操作

兼容性扩展性

因为专注所以专业 个性化

利于 SEO

WordPress ,这个可以有!1

1.下载 XAMPP for Windows PHP+MySql 套装,一键配置本地 Apache 服务器环境。2.进入 phpMyAdmin 数据库管理后台。3.新建一个数据库。4.新建一个数据库用户。

WordPress ,这个可以有!2

1.在 WordPress 中文官方站下载最新版。2.把 WordPress 解压到 xampp\htdocs 目录。3.打开 http://localhost 按向导进行安装。4.Hello World

WordPress ,这个可以有!3

1.下载并安装 WordPress 主题。2.下载并安装 WordPress 插件。

WordPress 主题的制作

WordPress 主题之 header.php

<!DOCTYPE HTML><html lang="zh-CN"><head>

<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" /><?php wp_head(); ?><title><?php wp_title()?></title>

</head><body>

<div id="header"><h1><?php bloginfo('name'); ?></h1><h2><?php bloginfo('description'); ?></h2><div id="nav"><?php

if ( function_exists( 'register_nav_menus' ) ) {

wp_nav_menu(array('theme_location'=>'nav','menu_id'=>'','menu_class' => '','container'=>'div'));}

?></div>

</div>

WordPres 主题之 footer.php

<div id="footer"><p>Copyright &copy; 2006-2011 我友 <a href="http://www.woyo.com"

title="WoYo.com">WoYo.com</a> 我友 .com All Rights Reserved.</p></div><?php wp_footer(); ?>

</body></html>

WordPress 主题之 sidebar.php

<div id="sidebar"><?php if (is_home()) {

dynamic_sidebar('Widget A'); } else {

dynamic_sidebar('Widget B'); }?>

</div>

WordPress 主题之 index.php

<?php get_header(); ?><div id="main">

<div id="content"><?php if (have_posts()):while (have_posts()):the_post(); ?>

<div class="post"><div class="hd">

<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

</div> <div class="bd"><?php the_content();?>

</div></div><?php endwhile; endif;?>

</div><?php get_sidebar();?>

</div><?php get_footer(); ?>

WordPress 常用插件

留言相关•Akismet•WordPress Thread Comment•Show Top Commentators•Comment Luv

内容相关•WordPress Related Posts•中文 WordPress 工具箱•CoolCode•Simple Tags

SEO 相关•All in One SEO Pack•Google XML Sitemaps•Baidu Sitemap Generator

WordPress 之博彩众长

Willin Kan —— http://kan.willin.org/ —— 我爱水煮鱼 http://fairyfish.net/ —— 幸福收藏夹 http://sofish.de/ —— 帕兰映像 http://paranimage.com/ ZWWoOoOo —— http://zww.me/ —— 木木木木木 http://immmmm.com/ —— 小丑鱼 http://www.konecy.cn/ QiqiBoy —— http://www.qiqiboy.com/ —— 自力博客 http://zlz.im/ —— 荒野无灯 http://www.ihacklog.com/

WordPress 学习资源

WordPress 官方文档1

WordPress 中文文档2

WordPress 中文论坛3

WordPress 视频教程4

WordPress 的八卦新闻

一位名叫 Devin Reams 的爱好者为WordPress 自编自导自演了一首乡村风格的音乐 MV 。以其幽默动听的歌声充分表达了他对 WordPress 的喜爱。链接

WordPress 的发行版都用着名的爵士音乐家的名字命名。举例来说, WordPress 1.2 的代号为 Mingus (咆勃爵士乐中贝斯手 Charles Mingus 的姓)。

WordPress2.6 版本开始就在文章发布的后台隐藏了一个彩蛋。只要同时比较两个相同版本的文章修订版本,就会触发这个彩蛋,若有兴趣,不妨一试 :-P

版本命名 WP 之歌 神奇彩蛋

UED/UED/ 重构重构 // 一组一组 // 朱一成朱一成 (http://wange.im)(http://wange.im)

top related