Title: dcohen's Replies | WordPress.org

---

# dcohen

  [  ](https://wordpress.org/support/users/dcohen/)

 *   [Profile](https://wordpress.org/support/users/dcohen/)
 *   [Topics Started](https://wordpress.org/support/users/dcohen/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dcohen/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dcohen/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dcohen/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dcohen/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dcohen/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Float] allowing shortcode within the wp-float](https://wordpress.org/support/topic/allowing-shortcode-within-the-wp-float/)
 *  [dcohen](https://wordpress.org/support/users/dcohen/)
 * (@dcohen)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/allowing-shortcode-within-the-wp-float/#post-3582207)
 * I found a way to float a shortcode on the page from [http://israelphonerentals.com/how-we-added-a-floating-widget-in-wordpress/](http://israelphonerentals.com/how-we-added-a-floating-widget-in-wordpress/)
 * Basically, you first need to install widgets on pages
 * [http://wordpress.org/plugins/widgets-on-pages/](http://wordpress.org/plugins/widgets-on-pages/)
 * and then put this code right above the </body> in your footer.
 * `<div id=”floating_cart” style=”bottom:0;position:fixed;_position:absolute;right:
   0><?php widgets_on_template(“cart”); ?></div>
 * and just replace the widgets_on_template(“cart”) part with whatever the widgets
   on pages name is.
 * You can edit the style= section to change where it floats.

Viewing 1 replies (of 1 total)