Support » Plugin: Rotating Tweets (Twitter widget and shortcode) » Display image above everything

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Martin Tod

    (@mpntod)

    There would currently be two ways to do this:

    1. You can write your own rotatingtweets_display_override() function that displays the elements of the tweet in the order you want.
    2. You can write some CSS against div.rtw_media

    A longer term solution might be to add some options to the shortcode, but I’d need to think a bit about what those would be.

    Thread Starter Alkorr

    (@alkorr)

    Ok. I tried CSS but it has to be done with absolute/relative positioning which is very complicated.

    I’d love to write my own rotatingtweets_display_override() function but I don’t know where to start…

    And of course, for people like me (not very good at CSS and even less at coding), it would be great to add some options to the shortcode like:

      rtw_info_position=3
      rtw_main_position=2
      rtw_media_position=1
      rtw_meta_position=4

    I’ll keep working on the CSS but this absolute/relative positioning is driving me crazy! 🙂

    Plugin Author Martin Tod

    (@mpntod)

    Or something like rtw_display_order="info,main,media,meta"?

    It will require a bit of work!

    Thread Starter Alkorr

    (@alkorr)

    Yes, even better! 🙂

    Plugin Author Martin Tod

    (@mpntod)

    This should now work in the development version.

    Plugin Author Martin Tod

    (@mpntod)

    And now the main version

    Thread Starter Alkorr

    (@alkorr)

    A-M-A-Z-I-N-G! It works wonderfully, that’s really great, thank you Martin! 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Display image above everything’ is closed to new replies.