Php echo 无法正确应用于文本

Php echo wont apply in text correctly

我创建了我的第一个 WordPress 插件,很简单,这是代码

<?php
/*
Plugin Name: blabla
*/
function wp_first_shortcode(){
    echo "Hello, This is your another shortcode!";
}
add_shortcode('first', 'wp_first_shortcode');
?>

在 wp post,我有一篇文章,像这样:

text text text [first] text text

但是我看到的结果是:

[first]
text text text text text

[first] - 是短代码,必须显示来自我的插件的文本 - echo "Hello, This is your another shortcode!";

这里是 link 实例 www cpamethods。com/instagram-management/

关于 WordPress 的短代码,return,不要回显

<?php
/*
Plugin Name: blabla
*/
function wp_first_shortcode(){
    return "Hello, This is your another shortcode!";
}
add_shortcode('first', 'wp_first_shortcode');
?>

另外请务必在使用短代码之前激活您的插件