我有一系列共享按钮,每个按钮使用一个简短的URL(使用Ozh的Yourls插件)和一个页面标题(如urlencoding of the_title() doesn't work?) 有些需要描述。如何将正确编码的博客描述放入URL?
如何对博客描述进行urlencode()编码?
1 个回复
最合适的回答,由SO网友:Otto 整理而成
echo urlencode(get_bloginfo(\'description\'));
结束