摘要:
一、打开自定义字段功能 二、添加自定义字段和对应值 三、模板文件对应位置添加语法(有两种简单的办法): 1、the_meta() 模板函数。会自动输出一个无序列表: Key1: Value of “Key1″ Key2: Value of “Key2″ Key3: Value of “Key3″ 2 阅读全文
摘要:
需求:获取用户浏览器信息 1 //form 2 function getOsVersion() { 3 var u = navigator.userAgent, version = '' 4 if (u.indexOf('Mac OS X') > -1) { 5 // ios 6 var regSt 阅读全文