Current location: home page >> text

time axis

2015/12/31

Start a new year with WordPress

2016/01/01

use Momokeng Xiaohuan ckoo revised version of three columns theme

2016/01/16

Installation of animal husbandry AtYou Plug in (similar to the @ function of microblog)

2016/01/27

Access to qiniu cloud provides static resource acceleration for blog

2016/01/28

through Dream wind Blogger reminds, fix can't comment bug

2016/01/29

Modify the blog background to random image, code from Saber sauce pillow

The random background of saber

<script language="javascript">

var bgarr = ["http://cdn.muruoxi.pw/beijing1.jpg","http://cdn.muruoxi.pw/beijing2.jpg","http://cdn.muruoxi.pw/beijing3.jpg"];

var bgindex = Math.floor((Math.random()*bgarr.length)); document.body.style.backgroundImage="url("+bgarr[bgindex]+")";

</script>

<!--saber-->

Add page effect Cherry Blossom flying, code from farewell song

The cherry blossoms are dancing in the song of farewell

<script type="text/javascript" src="http://cdn.muruoxi.pw/jquery.min.js"></script>

<script src="http://cdn.muruoxi.pw/jquery-sakura.min.js"></script>

<link type="text/css" rel="stylesheet" media="screen" href="http://cdn.muruoxi.pw/jquery-sakura.min.css" />

<script>

// domReady

$(function() {

$('body').sakura();

});

// windowLoad

$(window).load(function() {

$('body').sakura();

});

</script>

End farewell song -- >

Add a cute floating villain , code from Luoli Society

<! -- floating villain

<script type="text/javascript">

<?php if(is_ home()) echo 'var isindex=true;var title="";';else echo 'var isindex=false;var title="',  get_ the_ title(),'";'; ?>

<?php if((($display_ name = wp_ get_ current_ user()->display_ name) != null)) echo 'var visitor="',$display_ name,'";'; else if(isset($_ COOKIE['comment_ author_ '.COOKIEHASH])) echo 'var visitor="',$_ COOKIE['comment_ author_ '. Cookiehash],' "; '; else echo' var visitor = visitor ';'; echo" \ n ";? >"

</script>

<script type="text/javascript" src="<?php bloginfo('template_ directory'); ?>/js/spig.js"></script>

<style>

.spig {display:block;width:130px;height:170px;position:absolute;bottom: 300px;left:160px;z-index:9999;}

#message{color :#191919;border: 1px solid #c4c4c4;background:#ddd;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;min-height:1em;padding:5px;top:-45px;position:absolute;text-align:center;width:auto !important;z-index:10000;-moz-box-shadow:0 0 15px #eeeeee;-webkit-box-shadow:0 0 15px #eeeeee;border-color:#eeeeee; box-shadow:0 0 15px #eeeeee;outline:none;}

.mumu{width:130px;height:170px;cursor: move;background:url(http://i4.tietuku.com/6ad67957b145d5e3.png) no-repeat;}

</style>

<div id="spig" class="spig">

< div id = "message" > loading </div>

<div id="mumu" class="mumu"></div>

</div>

-->

Add my favorite fonts to the background editor

//Set me up

function custum_ fontfamily($initArray){

$initArray['font_ Formats'] = Microsoft YaHei ='microsoft YaHei '; Song typeface ='song typeface'; boldface ='boldface '; Fangsong ='fangsong'; regular script ='lishu '; Youyuan ='youyuan'; ";

return $initArray;

}

add_ filter('tiny_ mce_ before_ init', 'custum_ fontfamily');

Instead of sending mail with the theme to SMTP, Ma Yunjia ECS really can't play

//Using SMTP to send mail, you can refer to the specific settings of your mailbox SMTP

add_ action('phpmailer_ init', 'mail_ smtp');

function mail_ smtp( $phpmailer ) {

$phpmailer - > fromname ='mu Ruoxi '; / / from

$phpmailer - > host ='smtp. 163. Com '; / / modify it to your SMTP server

$phpmailer > port = 25; / / SMTP port, SSL encryption is not enabled

$phpmailer > username = '; / / email account

$phpmailer > password = '; / / enter your corresponding email password

$phpmailer > from = '; / / your email address

$phpmailer->SMTPAuth = true;

$phpmailer - > smtpsecure = '; / / TLS or SSL (Port = 25 left blank, 465 is SSL)

$phpmailer->IsSMTP();

}

Disable the shortcut key of the background editor after wp4.3, which is not used by baby

//Disable formatting shortcuts for visual editors

function disable_ mce_ wptextpattern( $opt ) {

if ( isset( $opt['plugins'] ) && $opt['plugins'] ) {

$opt['plugins'] = explode( ',', $opt['plugins'] );

$opt['plugins'] = array_ diff( $opt['plugins'] , array( 'wptextpattern' ) );

$opt['plugins'] = implode( ',', $opt['plugins'] );

}

return $opt;

}

add_ filter( 'tiny_ mce_ before_ init', 'disable_ mce_ wptextpattern' );

2016/01/30

Instead of floating villains, we have not studied how to connect them to a word or a jasmine robot
Maintain the daily operation of the blog with TinyMCE advanced plug-in recommended by Xiaohuan, yoast SEO and my commonly used WP sweep

2016/01/31

Leave the current page to automatically sprout the title, code from Dream of the year Well, I'll admit that I went to Lori's club to pick it up before I found out that the author Su Nai

<script type="text/javascript">
var OriginTitile = document.title;
var titleTime;
document.addEventListener('visibilitychange', function() {
if (document.hidden) {
Document. Title = '(つェ⊂⊂⊂つェ⊂⊂⊂つつェ⊂⊂) ~' + origintitile;
clearTimeout(titleTime);
}
else {
Document. Title = '(*' ∥ '*) found by you ~' + origintitile;
titleTime = setTimeout(function() {
document.title = OriginTitile;
}, 2000);
}
});
</script>

2016/02/12

The slow version of spring food So the picture is floating back Fruit cat

2016/02/16

Add a few friend chains unilaterally. I really use them as bookmarks In addition, the home page Memory of the house It seems that I couldn't open it before Chinese New Year. I don't know how Xiaohao is Move to the inside page first

2016/06/13

obtain Forum of my learning The webmaster - hope the teacher's sponsorship, move the website to the new server

2016/06/30

Using WP super cache plug-in to accelerate blog

2016/07/12

Dandelion swaying in the wind, code from Clouds fall

<div class="dandelion">

<span class="smalldan"></span>
<span class="bigdan"></span>
</div>

<style type="text/css">
@media screen and (max-width:600px){
.dandelion{display: none !important;}
}
.dandelion .smalldan {
width: 36px;
height: 60px;
left: 21px;
background-position: 0 -90px;
border: 0px solid red;
}
.dandelion span {
-webkit-animation: ball-x 3s linear 2s infinite;
-moz-animation: ball-x 3s linear 2s infinite;
animation: ball-x 3s linear 2s infinite;
-webkit-transform-origin: bottom center;
-moz-transform-origin: bottom center;
transform-origin: bottom center;
}
.dandelion span {
display: block;
position: fixed;
z-index:9999999999;
bottom: 0px;
background-image: url(http://mat1.gtimg.com/www/mb/images/zt/memory/pgy.png);
background-repeat: no-repeat;
_ background: none;
}
.dandelion .bigdan {
width: 64px;
height: 115px;
left: 47px;
background-position: -86px -36px;
border: 0px solid red;
}
@keyframes ball-x {
0% { transform:rotate(0deg);}
20% { transform:rotate(5deg); }
40% { transform:rotate(0deg);}
60% { transform:rotate(-5deg);}
80% { transform:rotate(0deg);}
100% { transform:rotate(0deg);}
}
@-webkit-keyframes ball-x {
0% { -webkit-transform:rotate(0deg);}
20% { -webkit-transform:rotate(5deg); }
40% { -webkit-transform:rotate(0deg);}
60% { -webkit-transform:rotate(-5deg);}
80% { -webkit-transform:rotate(0deg);}
100% { -webkit-transform:rotate(0deg);}
}
@-moz-keyframes ball-x {
0% { -moz-transform:rotate(0deg);}
20% { -moz-transform:rotate(5deg); }
40% { -moz-transform:rotate(0deg);}
60% { -moz-transform:rotate(-5deg);}
80% { -moz-transform:rotate(0deg);}
100% { -moz-transform:rotate(0deg);}
}
</style>

2016/07/28

An audio beautification of Yunluo

Contains jQuery, which has been called

><script src="http://cdn.muruoxi.pw/jquery-2.0.3.min.js"></script>

Header reference style

<link rel="stylesheet" href="http://cdn.muruoxi.pw/audioplayer.css" />

Finally, there is another reference

<script src="http://cdn.muruoxi.pw/audioplayer.min.js"></script>
<script>

<! -- initialize Lala -- >

$(function() {
$('audio').audioPlayer();
});
</script>

When calling in the article, use:

<audio preload="auto" controls>
< source SRC = the address of the song QAQ ">
</audio>

2016/12/02

Added a first line indent effect

//Indent the first line of the article
function Bing_ text_ indent($text){
$return = str_ replace('<p', '<p style="text-indent:2em;"',$text);
return $return;
}
add_ filter('the_ content','Bing_ text_ indent');

2017/05/18

Change the domain name to: www.muruoxi.com

End of 2017

The blog code layout was rectified, the useless code was deleted, and HTTPS was deployed. The final result was that I played bad at the top of articles. At present, I rely on plug-ins to top articles

 

11 comments

Comments loading
  1. 7th floor
    Let me be happy   

    Come back to see you. I've been writing automation tools recently. I'm too busy

    1:00 am, June 27, 2020   comment
  2. 6th floor
    Yunyang Taoge   

    Is it true that the blogger is a beauty?

    10:49 am, June 12, 2020   comment
  3. 5th floor
    Amou   

    Friends Ha ha ha, 15 years of virus bar, the blogger who knows about the rip off. Nice to meet you!

    May 15, 2020   comment
  4. 4th floor
    Thousands   

    Come and see from the master

    11:19 am, April 11, 2019   comment
  5. floor
    Jiang Chen   

    All of a sudden, it's 2019

    6:56 PM, February 3, 2019   comment
  6. Bench
    Jiang Chen   

    Meow ~ ~ a new day begins

    12:02 am, August 4, 2016   comment
  7. sofa
    Feng Shashen   

    I took your cherry blossom flying code_ (:3」∠❀)_

    11:24 PM, January 31, 2016   comment

Comment

╮( ̄▽ ̄)╭ |  (= ̄ω ̄=) |  (>﹏<) |  Σ( ° △ °|||)︴ |  Σ(っ °Д °;)っ |  X﹏X |  (╯-_ -)╯╧╧

Oh, you can see the hidden comments after submitting this page~
Loading