我正在将文本输入WordPress页面并用于显示它。 WordPress输出为空
标签, 所以我使用了’remove_filter(‘the_content’, ‘wpautop’);’在functions.php中删除这些, 这确实起作用, 但是现在我不能分开’the_content();’分开
带有换行符的标签。
#1
你可以将此功能与content p标签一起使用:wpautop
<?php echo wpautop(get_the_content()); ?>
来源:
https://www.srcmini02.com/63219.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41940.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57