• I’ve installed 2 separate audio players, the standard WP Audio Player and Haiku and both seem to work well. I have a sidebar and have text there, which shows correctly but when the short codes for both players are inserted the audio doesn’t show up – I actually see the code but no player. same code as in the main body.
    This is regarding the voiceover page

    sidebar.php code

    <div id="primary" class="sidebar one-third column">
    
    <?php
    	// we're looking at a static page.  Which one?
            if (is_page('Voice Over')) {
                 include(TEMPLATEPATH . '/sidebar_voiceover.php');
            } elseif (is_page('Contact')) {
                 include(TEMPLATEPATH . '/sidebar_contact.php');
            } elseif (is_page('Photo')) {
                 include(TEMPLATEPATH . '/sidebar_photo.php');
            } elseif (is_page('Home')) {
                 include(TEMPLATEPATH . '/sidebar_home.php');
            } elseif (is_page('Resume')) {
                 include(TEMPLATEPATH . '/sidebar_resume.php');
    
    	} else {
                  // catch-all for other pages
                 include(TEMPLATEPATH . '/sidebar.php');        }
    	?> 
    
    </div><!-- #primary .sidebar -->
    
    <!-- <div id="secondary" class="sidebar one-third column"> -->
    
    <!-- </div> --><!-- #secondary .sidebar -->

    sidebar_voiceover.php code

    <h3>Voice Over Audio</h3>
    
    <?php echo 'http://www.victorhuzvar.com/audio/VictorHuzvar_GreyGooseCommercial.mp3' ?>
    
    [haiku url="http://www.victorhuzvar.com/audio/VictorHuzvar_GreyGooseCommercial.mp3" title="Victor Huzvar - Grey Goose"]

  • The topic ‘Audio not showing up in sidebar’ is closed to new replies.