,现在手机用户群里很庞大,那么站长们如何利用好二维码也是关键问题。下面告诉你如何在dede添加二维码,教您如何在dede添加二维,找到这个文件 /include/extend.func.php,if ( ! function_exists('qr_code')),{,function qr_code($aid,$widhtHeight ='150',$EC_level='L',$margin='0'),{,$arr = GetOneArchive($aid);,if($arr['arcurl']){,$str = urlencode($arr['arcurl']);,}else{,$str = urlencode($GLOBALS['cfg_phpurl'].'/view.php?aid='.$aid);,},return '<img src="http://chart.apis.google.com/chart?chs='.$widhtHeight.'x'.$widhtHeight.'&cht=qr&chld='.$EC_level.'|'.$margin.'&chl='.$str.'" alt="QR code" widhtHeight="'.$widhtHeight.'" widhtHeight="'.$widhtHeight.'"/>';,},},在文章页模板调用,{dede:field.id function="qr_code(@me,200);"/},最后添加一句 此办法适用于织梦5.7