Title: [Plugin: WP Float] Load on specific pages?
Last modified: August 20, 2016

---

# [Plugin: WP Float] Load on specific pages?

 *  Resolved [DougEvans](https://wordpress.org/support/users/dougevans/)
 * (@dougevans)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/)
 * Hi. Awesome plugin, thanks! How can I get each widget to only show on certain
   pages?
 * Thanks,
    Doug
 * [http://wordpress.org/extend/plugins/wp-float/](http://wordpress.org/extend/plugins/wp-float/)

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

 *  Plugin Author [samhagin](https://wordpress.org/support/users/samhagin/)
 * (@samhagin)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080438)
 * you can use any of the display options for the widget such as Show on Posts, 
   Show on Pages, Show for Posts Only in Category, however if none of those fit 
   the criteria for the post/page you want to use WP Float on, you can use the shortcode
   instead. For information on using the shortcode, please refer to [http://webwiki.co/wp-float](http://webwiki.co/wp-float)
 *  Thread Starter [DougEvans](https://wordpress.org/support/users/dougevans/)
 * (@dougevans)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080447)
 * Thanks! I had not tried the shortcode yet and it works great. One thing. Is there
   any way to set the alignment of the content from the center within the shortcode?
 * Thanks again,
    Doug
 *  Plugin Author [samhagin](https://wordpress.org/support/users/samhagin/)
 * (@samhagin)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080455)
 * There is no such option for the shortcode. I hope to add that in the next plugin
   release.
 *  Plugin Author [samhagin](https://wordpress.org/support/users/samhagin/)
 * (@samhagin)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080546)
 * the new version has been released and it has shortcode support
 *  Thread Starter [DougEvans](https://wordpress.org/support/users/dougevans/)
 * (@dougevans)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080558)
 * This is great news! Thank you.
 * I took a look around but could not find how to set the alignment to center. Can
   you direct me please?
 * Thanks again,
    Doug
 *  Plugin Author [samhagin](https://wordpress.org/support/users/samhagin/)
 * (@samhagin)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080559)
 * simply add `center="true"` if you want to “set alignment from center”. you can
   also use the tinymce button for WP Float and that will add the shortcode automatically
   for you. You can only access the button in visual mode, the button looks like
   this [http://webwiki.co/wp-content/uploads/2012/05/wp-float-tinymce.png](http://webwiki.co/wp-content/uploads/2012/05/wp-float-tinymce.png)
 *  Thread Starter [DougEvans](https://wordpress.org/support/users/dougevans/)
 * (@dougevans)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080560)
 * Thanks again Sam!
    Doug
 *  [ichomusic](https://wordpress.org/support/users/ichomusic/)
 * (@ichomusic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080596)
 * Hi Sam,
    I’m afraid the shortcode is not working for me … I’ve tried on several
   websites. It is working if I use the plugin settings … but if I use the shortcode
   nothing happens.
 * Here is a test page: [http://countrysidetimes.com/float-test](http://countrysidetimes.com/float-test)
 * Any idea why this is happening?
    Thanks
 *  Plugin Author [samhagin](https://wordpress.org/support/users/samhagin/)
 * (@samhagin)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080603)
 * i checked your page and it does shows an error, screenshot at [http://prntscr.com/i42b1](http://prntscr.com/i42b1),
   this means you have a blank paragraph (<p> tag) before the closing [/wp_float].
   check your post under the HTML tab using the WordPress editor and remove the 
   <p></p>
 *  [ichomusic](https://wordpress.org/support/users/ichomusic/)
 * (@ichomusic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080604)
 * Hi Sam,
 * Here is the code I’m using:
 * [wp_float type=”float” location=”top” align=”right” center=”false” offsetlocation
   =”200″ offsetalign=”” speed=”” width=”100″ ]hello[/wp_float]
 * I am not adding any <p> tags.
 * BUT .. By turning off all plugins and changing themes I’ve discovered it is the
   theme I’m using. It works with the default theme but have tried both Bangkok 
   Press (which we are using) and another called Continuum.
 * So it looks like the wordpress is adding this automatically. Have you come across
   this before? Any ideas how to solve it?
 * I have tried the plugin called Raw HTML with the following variations:
 * [wp_float type=”float” location=”top” align=”right” center=”false” offsetlocation
   =”200″ offsetalign=”” speed=”” width=”100″ ][raw]hello[/raw][/wp_float] – didn’t
   work
 * [raw][wp_float type=”float” location=”top” align=”right” center=”false” offsetlocation
   =”200″ offsetalign=”” speed=”” width=”100″ ]hello[/wp_float][/raw] – just should
   the shortcode code in full
 * Thanks
 *  [ichomusic](https://wordpress.org/support/users/ichomusic/)
 * (@ichomusic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080605)
 * If I paste this in it works:
 * <div id=’wp-float-1551′>testing testing 1 2 3</div>
    <p> <script type=’text/javascript’
   > jQuery(document).ready(function($) { jQuery(‘#wp-float-1551’).dcFloater({ width:‘
   100’, location: ‘bottom’, align: ‘right’, offsetLocation:400, offsetAlign:0, 
   speedFloat:”, tabText: ”, tabClose: false, easing: ‘easeOutQuint’, event: ‘hover’,
   disableFloat:false, center: false, centerPx: 0, idWrapper: ‘wp-float-post-1551’,});});
   </script>
 * But there might be a neater way of doing it?
 *  Plugin Author [samhagin](https://wordpress.org/support/users/samhagin/)
 * (@samhagin)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080606)
 * you can try using a plugin such as [http://wordpress.org/extend/plugins/ps-disable-auto-formatting/](http://wordpress.org/extend/plugins/ps-disable-auto-formatting/)
   to disable auto formatting for the WordPress editor.

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

The topic ‘[Plugin: WP Float] Load on specific pages?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-float.svg)
 * [WP Float](https://wordpress.org/plugins/wp-float/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-float/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-float/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-float/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-float/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-float/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [samhagin](https://wordpress.org/support/users/samhagin/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-float-load-on-specific-pages/#post-3080606)
 * Status: resolved