Title: Text block text inline
Last modified: August 21, 2016

---

# Text block text inline

 *  [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/text-block-text-inline/)
 * I want to be able to use text blocks to build up a paragraph on one line e.g.
 * [text-blocks id=”b11″ plain=1] my other text specific for the page [text-blocks
   id=”b2″ plain=1] more page specific text
 * The problem is that <p> tags surround the text block, and I only want the actual
   text / html I enter in the textblock.
    I have been using the “text snippets” 
   plugin, which works a treat and removes the surrounding <p> tags to the block,
   but it has not been updated for over 2 years, and no support. I have found your
   plugin which is very similar, apart from this issue. In your support there is
   a mention of a parameter, which I assume is plain=1, but there is nothing to 
   say if this does what I want, if its supposed to it does not work. Can you help
   with this please? Many thanks, LenW
 * [https://wordpress.org/plugins/reusable-text-blocks/](https://wordpress.org/plugins/reusable-text-blocks/)

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

 *  Thread Starter [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/text-block-text-inline/#post-5131930)
 * Just realised that the way you have this working, all text within a text-block
   end up in nested <p> tags. The page/post editor adds a paragraph, but the text
   block is already in a paragraph.
    The text-block should be inserted without the
   start and end <p> tags into a page at the shortcode position. Hope this helps
   make this plugin a real winner. Lencw
 *  Plugin Author [Hal Gatewood](https://wordpress.org/support/users/halgatewood/)
 * (@halgatewood)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/text-block-text-inline/#post-5131931)
 * To get rid of the p tag that surrounds it, you can go into ‘Text’ mode which 
   is in the top right of the WPeditor. Then wrap the shortcode with a DIV.
 * `<div>[text-blocks id="198"]</div>`
 * This will stop WP from adding the p tag automatically.
 * Please let me know if this answers your question.
 *  Thread Starter [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/text-block-text-inline/#post-5132041)
 * Hal
    Not really. Adding a div will not allow me to string blocks together. I 
   have found another issue, related to my second post above. As the text block 
   is within a <p> tag, if I then centre a text block on a page with the editor 
   it fails to centre. The centering is applied to the outer <p> tag, and the text
   block remains at the left. Can you please consider an update that allows use 
   of a text block without adding the <p> tag around the inserted text. The older
   text snippets plugin works like that, is far more flexible and far simpler to
   use. Adding a div in any editor always ends up in a mess, and cant be done where
   I want it all inline anyway. Lencw

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

The topic ‘Text block text inline’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reusable-text-blocks_53c8f2.svg)
 * [Reusable Text Blocks](https://wordpress.org/plugins/reusable-text-blocks/)
 * [Support Threads](https://wordpress.org/support/plugin/reusable-text-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/reusable-text-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reusable-text-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reusable-text-blocks/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [lencw](https://wordpress.org/support/users/lencw/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/text-block-text-inline/#post-5132041)
 * Status: not resolved