
wordpress
冯强军
甘肃云间网络科技有限公司
展开
-
常用插件总结
1、Category Order and Taxonomy Terms Order设置分类插件2、Disable Google Fonts停止GOOGLE字体插件3、FileBrowser汉化修正版文件管理插件4、Kindeditor For Wordpress编辑器插件5、MobilePress手机模板配置插件6、Page Links To发生文章到某个链接7、Res原创 2016-07-11 19:41:34 · 396 阅读 · 0 评论 -
wordpress幻灯图获取代码
//cat表示获取的分类,-1表示全部获取 //5表示获取的条数 " target="_blank"> ID)); echo $url; ?>" title="" alt=""/>原创 2016-07-11 20:24:18 · 692 阅读 · 0 评论 -
HTML文字上下循环滚动代码
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body><div id="hdemo" style="height:200px;overflow:hidden;"><div id="indemo" style="height:200原创 2016-07-12 21:26:56 · 17894 阅读 · 0 评论 -
自动识别设备跳转手机页面代码
<script src="http://siteapp.baidu.com/static/webappservice/uaredirect.js" type="text/javascript"></script><script type="text/javascript">uaredirect("http://m.ldbro.com");</script>原创 2016-07-13 20:50:30 · 1269 阅读 · 0 评论 -
function.php文件常用设置
<?php// 一、不要长时间链接function get_ssl_avatar($avatar) { //$avatar = preg_replace('/.*/avatar/(.*)?s=([d]+)&.*/','',$avatar); return $avatar;};add_filter('get_avatar', 'get_ssl_avatar');// 二、缩略图添加原创 2016-07-11 20:28:47 · 2706 阅读 · 0 评论 -
wordpress常用调用代码
1、获取页面分类列表<?php query_posts('showposts=6&cat=54'); //cat=1为调用ID为1的分类下文章while(have_posts()) : the_post(); ?> <li> <a href="<?php echo the_permalink() ?>" title="<?php the_title(); ?>" ><?p原创 2016-07-11 21:38:17 · 3856 阅读 · 2 评论