本文最后更新于 306 天前,其中的信息可能已经有所发展或是发生改变。
找到自己相对应文章列表卡片布局。比如我的为布局1
进入不同的preview.php文件。
找到 class="post-content", 在后面添加:
onclick="window.location.href='<?php the_permalink(); ?>'" style="cursor: pointer"
onclick="window.location.href='<?php the_permalink(); ?>'" style="cursor: pointer"
实测可用,谢谢大佬!
哈哈哈对你有帮助就好