我使用的儿童主题是Pixlex. 
该主题有一个选项面板,可以让我选择是否在主页上设置2列或3列,以及这些列是否要用帖子或页面填充。
我有一个列被设置为用已创建的页面填充,该页面中有一个按钮的快捷码。(短代码由主题代码本身提供)
我的问题是,当呈现主页时,拉入页面的列显示未解析的短代码,我只剩下:[bigbutton url="http://somelink.com" color="yellow"]The Button[/bigbutton]
我希望这里的人能看到我没有看到的东西。
这是主页模板中的代码,它位于第3列。
<?php  
if($options[\'basic_homebox3\'] && $options[\'basic_homebox3\']!=2){ 
$args = array(\'page_id\' =>$options[\'basic_homebox3\'], );
$post_h = get_post($options[\'basic_homebox3\']);
$title = $post_h->post_title;
$sjc_excerpt = explode( \'<!--more-->\', $post_h->post_content); 
$permalink = get_permalink( $options[\'basic_homebox3\'] );
$i=1;
?>
<?php if (have_posts()) : ?>   
<?php while (have_posts()) : the_post(); 
      if($i<2){
      ?>
        <div class="span4">
                <div class="home-threebox lastbox">
                    <h2 class="homepage-title"><?php echo $title; ?></h2>
                    <div class="homepage-excerpt">
                      <?php echo wpautop( $sjc_excerpt[0] ); ?>
                    </div>
                </div> 
        </div>        
        <?php 
          }
         $i++;
         endwhile; ?>
         <?php 
         endif;
         }else{
         ?>
            <div class="span4">
                <div class="home-threebox lastbox">
                    <h2 class="homepage-title">Third box</h2>
                    <div class="homepage-excerpt">
                      <p>Suspendisse nisl.</p>
                    </div>
                <div>
            </div>       
<?php
} ?>