配置wordpress:给文章添加二维码(wordpress 6.2)

刘宏缔的架构森林 / 2023-05-04 / 原文

一,给文章添加二维码:

代码:
<img src="https://api.sey.ink/api/qr?text=<?php the_permalink(); ?>&size=100" alt="QR:<?php the_title(); ?>"/>
编辑文章页面->single.php:
查看效果

         对应的源码可以访问这里获取: https://github.com/liuhongdi/
         或: https://gitee.com/liuhongdi

说明:作者:刘宏缔 邮箱: 371125307@qq.com

二,查看wordpress的版本: