• Resolved djuradj

    (@agent001)


    I’m using this code to display the code on my template (i hardcoded it, not using the widget)

    <?php echo do_shortcode( “[rotatingtweets screen_name=’…’ rotation_type =’carousel’ tweet_count=’5′]” ) ?>

    I selected version 2 of jQueryCycle in the settings page.

    There are two things that bug me:
    First, it works with and without rotation_type ='carousel'.

    Second, it shows only two tweets (with rotation, but no more than that). How to set that it shows 5-6 tweets at once, with rotation.

    https://www.ads-software.com/plugins/rotatingtweets/

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

    (@mpntod)

    What happens if you remove the space between rotation_type & = …

    Also, the right code for the number of tweets to show in a carousel is carousel_count.

    <?php echo do_shortcode( "[rotatingtweets screen_name='...' rotation_type='carousel' carousel_count='5']" ) ?>

    Thread Starter djuradj

    (@agent001)

    It works with carousel_count, thanks. There’s a bug, sometimes the parts of some tweets that are ‘outside’ of the visible area, seem cutoff. As if the height of container is slightly bigger than it should be. Is there a way around it?

    Regarding the rotation_type=’carousel’, it rotates with or without that bit of code in the short-code. It has no difference whether i add space between = or not.

    Plugin Author Martin Tod

    (@mpntod)

    The default is that rotatingtweets always rotates – but with rotation_type=carousel if using version 2 of jQuery cycle, it shows more than one tweet at a time. I’d be very surprised if it showed more than one tweet with rotation_type removed.

    The best way of adjusting sizing is via CSS. It’s hard to judge exactly what you might need to change without seeing the page. In Chrome, at least, Inspect element is extremely useful for finding what needs to change.

    Thread Starter djuradj

    (@agent001)

    Yeah, sorry, it doesn’t work without rotation_type. I’m very sorry for the misunderstanding. I was using a certain cache plugin, which wasn’t showing the changes on the site in real time, thus the confusion.

    Regarding the CSS, is there a pre-made template that is responsive by any chance?

    By the way, thank you for promptly replies.

    Plugin Author Martin Tod

    (@mpntod)

    To sort the width question is partly a question of which container is too large or not resizing as you would wish it to.

    If you use Inspect element to look at the various ‘containers’, which one seems to be the problem?

    Thread Starter djuradj

    (@agent001)

    The width is fine, but it is cut off vertically. The length of tweets are different, thus some take one line, others two lines etc, therefore they have different heights, and the main container has a fixed height, so sometimes, a few tweets are visible (top of the letters) at the end of the container and they shouldn’t be.

    It looks something like this

    Plugin Author Martin Tod

    (@mpntod)

    I would experiment with something like:

    div.rotatingtweets {
        min-height: 500px;
    }
    div.rotatingtweet {
        min-height: 500px;
    }

    but it’s hard to judge without seeing your site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Display more than one tweet with rotation’ is closed to new replies.