ThemeShaper Forums » Thematic

Media player in access menu only shows up on home page

(1 post)
  • Started 10 years ago by initialsbr
  • This topic is not resolved

Tags:

  1. initialsbr
    Member

    I am trying to place Dewplayer in the access menu of my site. But it shows up only on my home page. How do I make it appear on all pages? I have modified the functions.php file to remove the access menu and do this instead...

    // Create a custom access div with the menu and search box
    function custom_access() {
    ?>
    <div id="access">

    <div class="skip-link">

    "><?php _e('Skip to content', 'thematic'); ?></div>

    <?php wp_page_menu('sort_column=menu_order') ?>

    <div id="access-dewplayer">

    <object type="application/x-shockwave-flash" data="dewplayer/dewplayer-multi.swf" width="240" height="20" id="dewplayer" name="dewplayer">
    <param name="wmode" value="transparent" />
    <param name="movie" value="dewplayer/dewplayer-multi.swf" />
    <param name="flashvars" value="mp3=http://localhost:8888/diamondigloo/mp3/chaiselongue.mp3|http://localhost:8888/diamondigloo/mp3/strikeonback.mp3|http://localhost:8888/diamondigloo/mp3/returntococoonlagoonremix.mp3|http://localhost:8888/diamondigloo/mp3/breathingroom.mp3|http://localhost:8888/diamondigloo/mp3/adinnerparty.mp3&showtime=1" />
    </object>
    </div>

    </div><!-- #access -->
    <?php
    }
    add_action('thematic_header','custom_access',9);

    Any suggestions?

    Posted 10 years ago #

RSS feed for this topic

Reply

You must log in to post.