SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2012
    Location
    US
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Css being stripped from Widget

    I am using a custom wordpress theme and I am a newb to php, so please bear with me I am using an mp3 player plugin but because of the way I styled the background, I need to use the shortcode version in the widget area. That wasn't working so I added
    add_filter('widget_text', 'do_shortcode'); to my functions.php
    That generated the player but stripped css. Is there any way around this, like another variable to call the css or something?

    http://www.g1ftedmusic.com/

    You can se I have it working fine in the page...http://www.g1ftedmusic.com/contact/t...-page-contact/

  2. #2
    SitePoint Zealot
    Join Date
    Feb 2012
    Location
    US
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it works if the shortcode is also put on the homepage, even though that particular one doesn't show up. I guess because the scripts are generated properly?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •