如何在页面模板(WordPress)中使用获取请求

如何在WordPress中使用get方法?我正在使用页面模板, 但我想获取。

当我在wordpress中使用get方法时, 它会将我重定向到没有?page = 1的URL。

请注意, 发布方法工作正常。


#1


你应该能够使用get in wordpress。听起来你可能服务器配置错误。请查看此SO问题, 以获取有关如何确保正确配置apache的信息。

来源:

https://www.srcmini02.com/63522.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_37607.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?