本以为七夕朋友圈里会被各对情侣刷屏,但今年好像是个意外,朋友圈里没有一个秀恩爱的,反倒是单身狗们一个比一个激动。
为了安抚一下单身狗的情绪,XinTheme连夜赶工制作,分享一套WordPress主题,简约、清新、装逼范儿,非常适合写博客使用!送给各位钟爱WordPress的,单身狗!这个七夕,你不孤单!
主题仿制Typecho博客平台的pinghsu模板,作者Chakhsu Lau,无意间被XinTheme看到,甚是喜爱,现在将这款模板移植到WordPress平台,我们后续会对主题尽享改造升级,如有好的建议请联系我们,如果你也喜欢,欢迎下载使用!
Pinghsu 是一款以前端性能优化为出发点而制作的 WordPress 主题,同时又兼顾设计美学和视觉传达。
wordpress开启CDN后台样式不正常?
其实就是开启ssl后CSS jQ 等资源无法正常加载了!
那如何解决呢?其实就是改跳301
但是一般的也搞不懂咋弄? 怎么操作呢 下载一个插件就可以搞定!
Really Simple SSL 安装后开启就可以了!
界面英文不过也好理解~ 默认开启后就正常了
Kratos开源免费主题
https://github.com/seatonjiang/kratos
wordpress 当自带MP4播放器无法满足 可以使用这个!
当自带MP4播放器无法满足 可以使用这个!
使用说明
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4"]
You need to specify the location of a MP4 video file in the url parameter (H.264 encoded). This parameter is mandatory in order to embed a video using this plugin.
Video Demo
screenshot showing a demo of videojs html5 player for wordpress
Video Shortcode Options
Videojs plugin accepts a wide range of shortcode parameters that you can use to customize the video playback and controls.
WebM
“webm” parameter allows you to specify the location of a webm video file. For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" webm="http://example.com/wp-content/uploads/video/vid.webm"]
Ogv
“ogv” parameter allows you to specify the location of a ogv video file. For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" webm="http://example.com/wp-content/uploads/video/vid.webm" ogv="http://example.com/wp-content/uploads/video/vid.ogv"]
Width
“width” parameter allows you to set the width of the video. For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" width="480"]
Controls
“controls” parameter allows you to show/hide video controls. By default video controls will be displayed. If set to “false” controls will be disabled. For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" controls="false"]
Preload
“preload” parameter allows you to specify if and how a video should be loaded when the page loads.
“auto” – the video should be loaded entirely when the page loads (default)
“metadata” – only metadata should be loaded when the page loads
“none” – the video should not be loaded when the page loads
For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" preload="metadata"]
Autoplay
“autoplay” parameter allows you to automatically play the video when the page is rendered. For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" autoplay="true"]
Poster
“poster” parameter allows you to set a poster image for the video. For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" poster="http://example.com/wp-content/uploads/poster.jpg"]
Loop
“loop” parameter allows for the looping of the video file (The video will start over again, every time it is finished). For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" loop="true"]
Muted
“muted” parameter allows you to mute the audio output of the video. For example:
[videojs_video url="http://example.com/wp-content/uploads/video/vid.mp4" muted="true"]
wordpress视频播放插件Smartideo支持B站BV号
B站(bilibili)近期调整视频链接ID为BV开头,B站说是为了保护稿件信息安全,容纳更多投稿,维护UP主的权益,但是原作者(Smartideo)不更新,更知鸟修改版本