标签: php wordpress
我使用下面的代码显示从latest post到sub-domain的{{1}} - 这是我正在使用的domain ---
latest post
sub-domain
domain
我需要显示code的限制字符,例如30
code
这是代码..
post_title
有任何帮助吗?
三江源
答案 0 :(得分:0)
substr($recent["post_title"],0,30)能做你需要的吗?
substr($recent["post_title"],0,30)