Title: [scriptless] in multiple widget areas
Last modified: March 18, 2019

---

# [scriptless] in multiple widget areas

 *  [Jimmy Lee](https://wordpress.org/support/users/shirtguy72/)
 * (@shirtguy72)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scriptless-in-multiple-widget-areas/)
 * Hello friend, in an attempt to have [scriptless] show in multiple my footer menu
   widget area on multiple pages including archives I am using the following plugins…
   Shortcode Widget by Gagan Deep Singh and Widget Context by Kaspars Dambis. The
   error that is plaguing me is…When set to a single widget area (my home page) 
   everything is fine but soon as I add to any additional area, home page is fine
   but the other area shows no buttons, only links as text. Any input would be helpful
   but kindly keep in mind I’m pretty much a intermediate beginner and no developer
   by any means. Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Robin Cornett](https://wordpress.org/support/users/littlerchicken/)
 * (@littlerchicken)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scriptless-in-multiple-widget-areas/#post-11327940)
 * Without seeing what you are seeing, my guess is that the plugin styles are not
   loading, so you are getting the buttons output without the corresponding CSS.
 * If checking the manual setting for your individual post types won’t meet your
   needs, you can force the plugin styles to load sitewide, using this filter:
 * \`
    // Allow Scriptless Social Sharing buttons to load anywhere on the site. 
   add_filter( ‘scriptlesssocialsharing_can_do_buttons’, ‘__return_true’ ); `
 * This will allow the buttons to display anywhere, as well as load the necessary
   styles.
 * Note: I would guess that buttons in a widget area on a non-singular post/page/
   etc. will not work, as there is no context for them. The plugin queries the database
   to get each post’s related title, URL, etc…it can still work on archive pages
   if the buttons are within the context of a post, but a widget area is probably
   not going to meet that criteria.
 *  Thread Starter [Jimmy Lee](https://wordpress.org/support/users/shirtguy72/)
 * (@shirtguy72)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scriptless-in-multiple-widget-areas/#post-11328048)
 * Thank you and forgive me but, where would I add the snippet of code you provided?
 *  Plugin Author [Robin Cornett](https://wordpress.org/support/users/littlerchicken/)
 * (@littlerchicken)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scriptless-in-multiple-widget-areas/#post-11329818)
 * You can add it to your theme’s functions.php file, if you do not have a specific
   place where you add code snippets. Just make sure your site files are backed 
   up before you go editing. Here’s the snippet again (sorry, I used the wrong markup
   in the previous post; use this one instead):
 *     ```
       // Allow Scriptless Social Sharing buttons to load anywhere on the site.
       add_filter( 'scriptlesssocialsharing_can_do_buttons', '__return_true' );
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[scriptless] in multiple widget areas’ is closed to new replies.

 * ![](https://ps.w.org/scriptless-social-sharing/assets/icon-256x256.jpg?rev=1361689)
 * [Scriptless Social Sharing](https://wordpress.org/plugins/scriptless-social-sharing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/scriptless-social-sharing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/scriptless-social-sharing/)
 * [Active Topics](https://wordpress.org/support/plugin/scriptless-social-sharing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/scriptless-social-sharing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/scriptless-social-sharing/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Robin Cornett](https://wordpress.org/support/users/littlerchicken/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/scriptless-in-multiple-widget-areas/#post-11329818)
 * Status: not resolved