Twitter posts to Blog
[resolved] Span wrapper (class "twitter-post") (6 posts)

  1. Cibulka
    Posted 2 years ago #


    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!


  2. badbreze
    Plugin Author

    Posted 2 years ago #

    I fix this isue for you. =)

  3. Cibulka
    Posted 2 years ago #

    Wow, this is a hell of a plugin support, sir! Thank you very much! :)

  4. Cibulka
    Posted 2 years ago #

    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 ?>

    If there is some need for the posts to have wrappers, I would suggest plain old <div>. What do you say?

    Thanks again!

  5. badbreze
    Plugin Author

    Posted 2 years ago #

    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.


    Tweet from %author%: %tweet%. For all tweets of this user see <a href="https://twitter.com/%author%">Here!</a>

    Like my idea? =)

  6. Cibulka
    Posted 2 years ago #

    Very much! And your response time is unbelievable. :) Thanks and keep up the great work!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twitter posts to Blog
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic