Possible Duplicate:
Shortcode always displaying at the top of the page  
我有一个快速而肮脏的短代码,它在我的wordpress页面中输出一个表单。然而,它在我的页面的开头添加了短代码输出,而不是在我想要的地方内联。
例如:
(WordPress post:)
This is some text!
[shortcode_here]
This is more text!
(output)
The end result does this:
Shortcode output is showing up here!
This is some text!
This is more text!
 shortcode函数只是提取一些信息。从数据库中并回显格式化结果,la:
   function shortcode_output() {
      //get stuff from database
      //format stuff
      echo <<<FORM
      <form method="POST" action="blah.php">
      <!--more html-->
      </form>
   FORM;
   }
 我试着返回内容而不是回音,但结果只是
0.