在2012.11.08-2012.11.11进行了迁移

标题部分:

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

顶顶顶顶顶顶顶顶顶顶 加颜色,加删除线

插入图片,测试图片上传功能,上传到了sae的storage里,着实下了一番功夫。

调用LightBox Plux插件

顶顶顶顶顶顶顶顶顶顶

下面添加“更多”符号,应该会显示“阅读全文”

顶顶顶顶顶顶顶顶顶顶

引用开始

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

引用完毕

  • 顶顶顶顶顶顶顶顶顶顶
  • 顶顶顶顶顶顶顶顶顶顶
  • 顶顶顶顶顶顶顶顶顶顶
  1. 顶顶顶顶顶顶顶顶顶顶
  2. 顶顶顶顶顶顶顶顶顶顶
  3. 顶顶顶顶顶顶顶顶顶顶

居中

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

居右

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶 超链接

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶  设置字体颜色

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶 设置字体颜色

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

表格标题

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶    荧光绿底纹

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶   荧光黄底纹 

顶顶顶顶顶顶顶顶顶顶   

顶顶顶顶顶顶顶顶顶顶  

下面是不同字体的显示

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.  这是Arial12号字体 ,是这个主题默认的字号。12号!

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

分两列显示(word功能)

Title 1

Title 2

Text 1 Text 2

More text goes here.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog. 上标

A quick brown fox jumps over from a lazy dog. 下标

A quick brown fox jumps over from a lazy dog.

A quick brown fox jumps over from a lazy dog.

顶顶顶顶顶顶顶顶顶顶

顶顶顶顶顶顶顶顶顶顶

CodeColorer插件调用(“lang”=”matlab”) 只有在HTML模式下才会有层次感,可视化情况下层次感会消失,成为纯文本段落格式。

[cc lang=”matlab”]
if nargin<1, m=size(get(gcf,'colormap'),1); end

mp=[
 1   0  0  % red
 1  1/3 0  % orange
 1   1  0  % yellow
 0   1  0  % green
 0   0  1  % blue
.5   0 .5];% violet

if m<=6,map=mp(1:m,:);return,end

k=ceil(m/5);
mk=5*k+1;
map=zeros(mk,3);
ks=(0:4)*k +1;

for i=0:k-1
a=(1+cos(pi*i/k))/2;b=1-a; % cosine interp to maximize rainbow colors
map(i+ks,:)=a*mp(1:5,:) + b*mp(2:6,:);
end
map(mk,:)=mp(6,:);
map=map(1:m,:);
[/cc]

测试长代码,php语言
[cc lang="php"]
<?php
/*
Plugin Name: JiaThis分享工具
Plugin URI: http://www.jiathis.com/help/html/wordpress-install-jiathis
Description: JiaThis是中国最大的社会化分享按钮及工具提供商,已经有超过28万家网站正在使用JiaThis高效稳定的服务。通过JiaThis分享工具,你网站的用户可以便捷的将您网站内容分享到各大社会化媒体网站,从而为网站带来更多的社会化流量。JiaThis支持多达110个国内外流行的社会化媒体网站,并且提供了强大的用户自定义接口。JiaThis不仅具有全面的数据分析功能,而且还会根据用户喜好,将用户最常用的社会化媒体排在最前面。启用插件后,可以点击这里进行配置
Version: 1.0.2
Author: JiaThis Inc.
Author URI: http://www.jiathis.com
*/

load_plugin_textdomain(‘jiathis’);
$jiathis_share_code[‘code’]=’







‘;

$jiathis_share_code[‘position’] = 2;
$jiathis_share_code[‘area’] = ‘left’;
$new_jiathis_share_code = implode(‘|’, $jiathis_share_code);
$jiathis_code = get_option(‘jiathis_code’);
if($jiathis_code == ”) {
update_option(‘jiathis_code’, $new_jiathis_share_code);
}
add_filter(‘the_content’, ‘jiathis’);

function jiathis($content) {
    if(is_single() || is_page()) {
$arr1 = array(‘|1|left’, ‘|1|right’, ‘|2|left’, ‘|2|right’);
$jiathis_code = str_replace($arr1, ”, htmlspecialchars_decode(get_option(‘jiathis_code’)));
$arr2 = explode(‘|’, get_option(‘jiathis_code’));
if($arr2[1] == 2) {
$content = $content.’
‘.”

“.$jiathis_code.’

‘;
} else {
$content = ‘
‘.”

“.$jiathis_code.’

‘.$content;
}
}
return $content;
}

add_action(‘plugins_loaded’, ‘widget_sidebar_jiathis’);
function widget_sidebar_jiathis() {
    function widget_jiathis($args) {
        if(is_single() || is_page()) return;
        extract($args);
        echo $before_widget;
        echo $before_title . __(‘JiaThis分享工具’, ‘jiathis’) . $after_title;
   echo ‘

‘;
   echo htmlspecialchars_decode(get_option(“jiathis_code”)) . ‘

‘;
        echo $after_widget;
    }
    register_sidebar_widget(__(‘JiaThis分享工具’, ‘jiathis’), ‘widget_jiathis’);
}

add_action(‘admin_menu’, ‘jiathis_menu’);
function jiathis_menu() {
    add_options_page(__(‘jiathis选项’, ‘jiathis’), __(‘JiaThis分享工具’, ‘jiathis’), 8, basename(__FILE__), ‘jiathis_options’);
}
function jiathis_options() {
$updated = false;
    if($_POST[‘jiathis_code’] != ”) {
if($_POST[‘share_pos’] != ”) {
$jiathis_share_code[‘code’] = stripslashes_deep($_POST[‘jiathis_code’]);
$arr = explode(‘|’, $_POST[‘share_pos’]);
$jiathis_share_code[‘position’] = $arr[0];
$jiathis_share_code[‘area’] = $arr[1];
$new_jiathis_share_code = implode(‘|’, $jiathis_share_code);
update_option(‘jiathis_code’, $new_jiathis_share_code);
$updated = true;
}
    }
$arr1 = array(‘|1|left’, ‘|1|right’, ‘|2|left’, ‘|2|right’);
$arr2 = explode(‘|’, get_option(‘jiathis_code’));
$jiathis_code = str_replace($arr1, ”, get_option(‘jiathis_code’));
    echo ‘

‘;
    echo ”;
    echo ‘

jiaThis分享代码(请从JiaThis官网获取):

‘;
    echo ‘

JiaThis分享按钮主要分为:侧栏式、按钮式、工具式和图标式。默认嵌入的是”大图标”代码,显示在文章内容页的下面。如果您想更换按钮风格,请点击这里到JiaThis官网获取新代码。如果您需要对网站的分享数据进行追踪与分析,只需要到JiaThis免费注册并重新获取代码嵌入这里即可。

‘;
    if($updated) {
echo ‘

JiaThis分享代码已经成功保存。

‘;
    }
    echo ‘

‘;
echo ‘文章头部 :   ‘;
echo ‘ 居左  ‘;
echo ‘ 居右 ‘;
echo ‘

‘;
echo ‘文章尾部 :   ‘;
echo ‘ 居左  ‘;
echo ‘ 居右 ‘;
echo ‘

‘;
echo ‘

‘;
echo ”;
echo ‘

‘;
}
[/cc]

Latex插件调用(Latex for WordPress),居中显示

测试结束

一条评论

  1. 测试评论 PHP

    [cc lang=”php”]
    class lei
    {
    int i; //class content
    public:
    int j;
    };
    main()
    {
    lei test
    functions //注释
    cout<<"hello world"<

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注