Wordpress 如何在选项树框架元框中显示短代码的功能?
我在调用shortcode ultimate short代码时遇到问题Wordpress 如何在选项树框架元框中显示短代码的功能?,wordpress,plugins,themes,Wordpress,Plugins,Themes,我在调用shortcode ultimate short代码时遇到问题 echo get_post_meta($post->ID, 'itineary', true); 上面的代码将内容显示为纯文本,但我必须使用 [su_button icon="icon: bullhorn"]Button text[/su_button] 这个简短的代码添加了一个按钮,但它也显示在纯文本 希望有一个解决方案 试试看 echo do_shortcode( get_post_meta( $post-&g
echo get_post_meta($post->ID, 'itineary', true);
上面的代码将内容显示为纯文本,但我必须使用
[su_button icon="icon: bullhorn"]Button text[/su_button]
这个简短的代码添加了一个按钮,但它也显示在纯文本
希望有一个解决方案 试试看
echo do_shortcode( get_post_meta( $post->ID, 'itineary', true ) );
谢谢,我在Noway找到了它,谢谢@JayDeep