Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 wordpress 复古主题,并使用插件来显示隐藏文本"[wpex Read more]hidden text[/wpex]"但它不起作用,数据由自定义函数显示我去那里并将代码更改为"retun do_shortcode( $result );"但适用于没有参数的简单短代码,不使用短代码有partmeters就像我之前提到的。谁能指导我该怎么做?
"[wpex Read more]hidden text[/wpex]"
"retun do_shortcode( $result );"
非常感谢
您错过了短代码中的参数,将 Read More 文本分配给这样的参数
[wpex parameter="Read more"]hidden text[/wpex]