• Resolved lesyeuxnoirs

    (@lesyeuxnoirs)


    I’m sure this player is awesome, but I’m completely new to WordPress and php and shortcodes. I’d only ever designed static sites. I’ve read through the support threads, but nothing has helped. I’m trying to install the widget in a right sidebar. I’m trying to create a custom theme. The header, footer, nav, and index pages are all working, as is the blog section on the home page in the main content section. I’m testing locally so can’t post a link.

    In my functions.php I have:

    if (function_exists(‘register_sidebar’)) {
    register_sidebar(array(
    ‘name’ => ‘Sidebar Widgets’,
    ‘id’ => ‘sidebar-widgets’,
    ‘description’ => ‘These are widgets for the sidebar.’,
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h2>’,
    ‘after_title’ => ‘</h2>’
    ));
    }

    And for my sidebar.php I have:

    <h3>PLAYLIST:</h3>
    <div id=”widgetized-area”>

    <?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘widgetized-area’)) : else : ?>

    <div class=”pre-widget”>
    </div>
    [hmp_player]
    <?php endif; ?>

    </div>

    Nothing is showing up in the sidebar except for the CSS styled space for the widget (a white box with a border). I bought and downloaded the PRO version of the player, moved all the files into MAMP/htdocs/wp-content/plugins and I’m working out of a folder MAMP/htdocs/wp-content/themes/mysite.

    Really sorry to waste your time with my extreme ignorance on this, but I’ve looked everywhere for a tutorial on how to install this or any other widget for that matter and I’m coming up blank.

    http://wordpress.org/plugins/html5-jquery-audio-player/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lesyeuxnoirs

    (@lesyeuxnoirs)

    Dang–ok, sorry. Got it working with the sample track. Will work on it now. Never mind, and sorry.

    Plugin Author Maeve Lander

    (@enigmaweb)

    Sorry I didn’t get to this in time to help you – glad to hear you’ve got it figured out. 🙂 Marking resolved now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode?’ is closed to new replies.