自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

编程小战

用代码改变人生

  • 博客(9)
  • 资源 (27)
  • 收藏
  • 关注

原创 J2EE项目中使用Spring 4及.properties文件UTF-8编码问题

Spring framework可以到此处下载:http://maxwoods.ctfile.com/u/758954/11098882,这里使用Spring 4。新建一个j2ee的web工程,将压缩包中对应的jar包放到WEB工程的lib子目录中,如/WebContent/WEB-INF/lib。修改web.xml文件,在web-app节点加入对应配置: org.spri

2015-11-25 22:20:26 3457

原创 如何在WordPress页面输出指定的调试信息

打开wp-blog-header.php文件,在尾部加入代码如下:<?php/** * Loads the WordPress environment and template. * * @package WordPress */if ( !isset($wp_did_header) ) { $wp_did_header = true; require_once( dir

2015-11-14 22:13:36 2523

原创 获取WordPress文章目录及其链接

获取文章分类使用get_categories,参考文档:http://codex.wordpress.org.cn/Function_Reference/get_categories获取文章分类的链接使用get_category_link,参考文档:http://codex.wordpress.org.cn/Function_Reference/get_category_link下

2015-11-13 22:31:13 1816

原创 WordPress主题支持导航菜单

在主题的functions.php中加入:register_nav_menus(array('primary'=> __('Primary Navigation')));在后台管理的主题设置里就可以看到菜单选项在header.php中加入:<?phpwp_nav_menu();?>就可以显示菜单,但是按默认方式显示的。

2015-11-07 23:54:20 1322

转载 自定义和扩展WordPress搜索功能

今天在做一个WordPress项目的时候,客户要求对wordpress默认的搜索功能进行修改,要求按照作者,按照文章标题,以及按照文章内容,这三个条件进行搜索。实现起来也比较简单,为了防止以后会用到所以来总结一下。  首先说下添加的方法,一是自己创建一个搜索框出来,二是使用wordpress默认的搜索框。代码如下: //直接使用默认搜索框放到你需要显示的地方即可">//自己手动

2015-11-07 22:00:51 2926

转载 WordPress 自定义搜索框

wordpress本事就自带搜索功能,但自带的搜索功能是全站搜索,不能完全满足用户需求,这就需要自定义解决。代码如下:全站搜索 "> 搜索 搜索某个分类 ">

2015-11-07 21:51:29 3536

转载 三种方法快速获取WordPress当前主题文件夹目录

制作WordPress主题时,在header.php和footer.php都需要引用当前主题文件夹内的一些文件,比如favicon.ico图标,js/jQuery……所以需要快速获取当前主题目录的路径。首先,看下如何调用本网站域名地址:获取主题目录也同样很简单,三种方法如下://第一种方法//第二种方法//第三种方法比如:想调用主题文件夹下的js文

2015-11-07 21:33:03 9483

原创 WordPress中修改固定链接导致无法显示文章内容的问题的解决办法

打开Apache服务器的配置谁httpd.conf1.找到下面一行#LoadModule rewrite_module modules/mod_rewrite.so把前面的#去掉2.找到AllowOverride None,替换为AllowOverride All然后重启Apache服务器,使rewrite生效

2015-11-07 17:54:08 966

转载 去掉 WordPress 3.1+版本顶部的admin bar管理工具

wordpress 3.1版本之后,为了方面WP用户,在博客首页、文章页、页面等顶部会默认显示一个admin bar,但并不是所有人都需要或喜欢这玩意,还好可以去掉admin bar功能,隐藏wp admin bar有两种方法,一种是通过后台设置,一种是在functions.php文件添加隐藏代码。wordpress 后台设置不显示wordpress admin bar1.登陆

2015-11-06 21:38:15 1193

TCP&UDP测试工具.rar

用于TCP,UDP发包的调试工具,支持客户端及服务端模式,支持自动重发,字符及十六进制格式,及文件发送

2020-01-12

Delphi 下深入Windows 核心编程

Delphi 下深入Windows 核心编程, PDF

2012-03-19

Delphi模式编程

Delphi模式编程,刘艺,PDF中文版

2012-03-19

Delphi Win32核心API参考

Delphi Win32核心API参考,PDF中文版

2012-03-19

Pro Android Apps Performance Optimization

Pro Android Apps Performance Optimization

2012-03-12

Pro OpenGL ES for Android

Pro OpenGL ES for Android, PDF

2012-03-12

Game Engine Architecture

Game Engine Architecture, PDF

2012-03-12

Essential Windows Phone 7.5

Essential Windows Phone 7.5, PDF

2012-03-12

Pro Android 4

Apress Pro Android 4, PDF

2012-03-09

Beginning Android 4

Beginning Android 4, PDF

2012-03-08

Pro jQuery

Apress.Pro.jQuery.Feb.2012.rar

2012-03-03

Delphi IDE Theme Editor 支持XE2

Delphi IDE Theme Editor 支持XE2

2012-03-03

Apress iOS 5 Recipes

Apress.iOS.5.Recipes.Feb.2012

2012-03-02

Microsoft.Silverlight.5.Building.Rich.Enterprise.Dashboards

Microsoft.Silverlight.5.Building.Rich.Enterprise.Dashboards

2012-03-02

iPhone and iPad Apps for Absolute Beginners iOS 5 Edition

iPhone and iPad Apps for Absolute Beginners iOS 5 Edition

2012-03-01

Pro Silverlight 5 in C# 4th

Pro Silverlight 5 in C# 4th

2012-03-01

Pro ASP.NET MVC 3 Framework 3rd Edition

Pro ASP.NET MVC 3 Framework 3rd Edition, pdf

2012-02-27

Wrox.Professional.CSharp.4.and.NET.4.Mar.2010

Wrox.Professional.CSharp.4.and.NET.4.Mar.2010

2012-02-25

C# Database Basics

C# Database Basics, PDF

2012-02-25

Professional NoSQL

Professional NoSQL, PDF

2012-02-23

ASP.NET 4.0 in Practice

ASP.NET 4.0 in Practice,PDF

2012-02-23

Sams Teach Yourself TCPIP in 24 Hours 5th

Sams Teach Yourself TCPIP in 24 Hours 5th

2012-02-22

编辑长求字符串相似度Delphi源代码

编辑长求字符串相似度Delphi源代码 编辑长求字符串相似度Delphi源代码

2012-02-04

VMware ESX Server: Advanced Technical Design Guide

600 pages Publisher: The Brian Madden Company (September 1, 2005) Language: English ISBN-10: 0971151067 ISBN-13: 978-0971151062 Detailing the design and deployment of a VMware ESX Server environment, and written from the practical experience of proven VMware engineers, this book provides IT architects with the insight needed to tackle tough design issues such as ESX Server security, network and SAN design, host hardware selection, guest selection and configuration, management tool selection, ESX performance optimizations, and automated installs and provisioning. A linear progression is provided, starting at the basic architecture of ESX server and then moving on to server configurations, design alternatives for hardware, SAN configuration and management tools, the creation of guest operating systems, and strategy development for implementing this technology into a specific environment. Advanced topics such as unattended installs, integration with network management software, configuration options for high availability, and disaster recovery scenarios are also addressed.

2012-02-04

Beginning iPhone and iPad Web Apps

Beginning iPhone and iPad Web Apps

2012-02-02

Embarcadero Delphi XE2 破解

Embarcadero Delphi XE2 破解

2012-02-02

Professional Windows Phone 7 Application Development

PROFESSIONAL Windows® Phone 7 Application Development BUILDING APPLICATIONS AND GAMES USING VISUAL STUDIO, SILVERLIGHT® , AND XNA®

2011-12-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除