Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author simon.ward

    (@simonward-1)

    Using do_shortcode is pretty much equivalent to using the player’s template tag, so you’d still need to request the scripts (using mp3j_addscripts()) in the page header on any pages you want players on.

    Please see ‘Template Tag Help’ on the player settings page for a quick example on how to set it up.

    Simon

    Thread Starter @satori83

    (@satori83)

    Awesome that worked! The other work around you provided about throwing the widget in there also worked. Is one better than the other?

    Since they work fine on the other pages where the shortcodes will be (home page was widgetized by dev), will it cause an issue if the scripts are called twice now that I threw
    <?php mp3j_addscripts(); ?> in header?

    Plugin Author simon.ward

    (@simonward-1)

    Both will do the same thing, though it normally makes more sense to use the function to add the scripts.

    What I’d like to know is why the widget gets found but your shortcodes don’t get processed in it, is this still the case?

    No it’s fine, the scripts can only be added once.

    Thread Starter @satori83

    (@satori83)

    No its fine now after that function. I had a custom theme built by Psd2Html and the way they coded it is real wacky. Thanks for all you help though. I’ll throw you a donation when I wrap this project up.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widget Issue’ is closed to new replies.