Support » Plugin: Twitter posts to Blog » Span wrapper (class "twitter-post")

  • Resolved Cibulka

    (@cibulka)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author badbreze

    (@badbreze)

    I fix this isue for you. =)

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

    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

    (@badbreze)

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

    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.