Title: Span wrapper (class &quot;twitter-post&quot;)
Last modified: August 21, 2016

---

# Span wrapper (class "twitter-post")

 *  Resolved [Cibulka](https://wordpress.org/support/users/cibulka/)
 * (@cibulka)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/span-wrapper-class-twitter-post/)
 * Hello,
 * thanks again for an awesome plugin! I praised its awesomness already in a five
   star review here. 🙂
 * I have a question however – my posts/tweets are getting wrapped in a span with
   a class “twitter-post”. I use wp_autop filter, so the span-wrapper kind of breaks
   my validation and cause other minor headaches.
 * Is it possible to remove the wrapper without the need of messing around the plugin’s
   code?
 * Thank you very much! P!
 * [http://wordpress.org/plugins/twitter-posts-to-blog/](http://wordpress.org/plugins/twitter-posts-to-blog/)

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

 *  Plugin Author [badbreze](https://wordpress.org/support/users/badbreze/)
 * (@badbreze)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/span-wrapper-class-twitter-post/#post-4074830)
 * I fix this isue for you. =)
 *  Thread Starter [Cibulka](https://wordpress.org/support/users/cibulka/)
 * (@cibulka)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/span-wrapper-class-twitter-post/#post-4074839)
 * Wow, this is a hell of a plugin support, sir! Thank you very much! 🙂
 *  Thread Starter [Cibulka](https://wordpress.org/support/users/cibulka/)
 * (@cibulka)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/span-wrapper-class-twitter-post/#post-4074858)
 * Hello again badreze,
 * thanks again for very quick reaction! Unfortunately the problem kind of persists.
 * The wrapper changed from `<span>` to `<p>` in the current update, which unfortunately
   still dashes against `wp_autop` – it basically outputs content wrapped in paragraphs
   around paragraps. 🙂
 *     ```
       <p class="twitter-post">
            <p><!--added by wpautop-->
                 <?php // content ?>
            </p>
       </p>
       ```
   
 * If there is some need for the posts to have wrappers, I would suggest plain old`
   <div>`. What do you say?
 * Thanks again!
 *  Plugin Author [badbreze](https://wordpress.org/support/users/badbreze/)
 * (@badbreze)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/span-wrapper-class-twitter-post/#post-4074859)
 * Update to 1.4.6, you can use the text area called “body text” (body formatting)
   to customize the output text of the tweet, it’s basicaly as title formatting,
   you can use %tweet% in the point you want to see the text of the tweet and %author%
   for the same think.
 * egsample:
 * `Tweet from %author%: %tweet%. For all tweets of this user see <a href="https://
   twitter.com/%author%">Here!</a>`
 * Like my idea? =)
 *  Thread Starter [Cibulka](https://wordpress.org/support/users/cibulka/)
 * (@cibulka)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/span-wrapper-class-twitter-post/#post-4074860)
 * Very much! And your response time is unbelievable. 🙂 Thanks and keep up the 
   great work!

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

The topic ‘Span wrapper (class "twitter-post")’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/twitter-posts-to-blog_dadada.svg)
 * [Twitter posts to Blog](https://wordpress.org/plugins/twitter-posts-to-blog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twitter-posts-to-blog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twitter-posts-to-blog/)
 * [Active Topics](https://wordpress.org/support/plugin/twitter-posts-to-blog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitter-posts-to-blog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitter-posts-to-blog/reviews/)

## Tags

 * [headache](https://wordpress.org/support/topic-tag/headache/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cibulka](https://wordpress.org/support/users/cibulka/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/span-wrapper-class-twitter-post/#post-4074860)
 * Status: resolved