• Resolved Political83

    (@political83)


    First let me say how much i like the tweet, I was looking for ages for a lightweight plugin that would let me have a horizontal carousel to display my tweets.

    That said I am having some issues with the implementation, I am using the below shortcode on my homepage, however it is only displaying the latest tweet:

    <?php echo do_shortcode( "[rotatingtweets screen_name='VoteJasonBrown' rotation_type='carousel' show_meta_reply_retweet_favorite='0' carousel_horizontal='1' show_meta_prev_next='1' np_pos='bottom' prev='<' next='>' tweet_count='10',carousel_count='4',carousel_responsive='1']" ) ?>

    You can see the results of this on my site here: https://votejasonbrown.uk

    Also the Next/Previous links do not work all they do is bounce the page back to the top.

    In essence what I am trying to produce is something like this

    Im sure I have missed something quite simple, but its getting quite frustrating so any help you can give me would be appreciated and stop me tearing my hair out.

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

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter Political83

    (@political83)

    Thanks Mark for all your advice. I have positioned the pre/next arrows where I want them, to try and us images for the arrows I have added the following code:

    prev='<img src="https://www.votejasonbrown.uk/wp-content/themes/politicalpress-child-theme/img/arrow-circle_left.png">'

    But this results in the following error:

    “Parse error: syntax error, unexpected T_STRING in /home/content/37/12347537/html/wp-content/themes/politicalpress-child-theme/home-template.php on line 174”

    I thought, having read other support, that this would work but it does’t can you assist please.

    Thanks for all your help

    Plugin Author Martin Tod

    (@mpntod)

    Hard to judge because the raw code works on my site (and links to the image on your site!).

    What does it say on that line of code in the home-template.php file?

    Martin

    Thread Starter Political83

    (@political83)

    This is the full code that I am using Martin:

    <?php echo do_shortcode( "[rotatingtweets screen_name='VoteJasonBrown' rotation_type='scrollLeft' show_meta_reply_retweet_favorite='0' show_meta_prev_next='1' speed ='700' show_tco_link='1' show_meta_screen_name='0' show_meta_via='0' np_pos='bottom' prev='<img src="https://www.votejasonbrown.uk/wp-content/themes/politicalpress-child-theme/img/arrow-circle_left.png">' next='<img src="https://www.votejasonbrown.uk/wp-content/themes/politicalpress-child-theme/img/arrow-circle_right.png">' tweet_count='30' show_follow='1' no_show_count='1' no_show_screen_name='1' timeout ='300000' np_post='beforeafter']" ) ?>

    I hope it helps.

    Plugin Author Martin Tod

    (@mpntod)

    Looking at things other people have tried with other plug-ins, what happens if you switch ' for " (and vice-versa)?

    Thread Starter Political83

    (@political83)

    No that doesnt do anything

    Plugin Author Martin Tod

    (@mpntod)

    Try
    <?php echo do_shortcode( "[rotatingtweets screen_name='VoteJasonBrown' rotation_type='scrollLeft' show_meta_reply_retweet_favorite='0' show_meta_prev_next='1' speed ='700' show_tco_link='1' show_meta_screen_name='0' show_meta_via='0' np_pos='bottom' prev='<img src=\"https://www.votejasonbrown.uk/wp-content/themes/politicalpress-child-theme/img/arrow-circle_left.png\">' next='<img src=\"https://www.votejasonbrown.uk/wp-content/themes/politicalpress-child-theme/img/arrow-circle_right.png\">' tweet_count='30' show_follow='1' no_show_count='1' no_show_screen_name='1' timeout ='300000' np_post='beforeafter']" ) ?>

    rahy

    (@rahy)

    Hi Martin,
    A few questions:

    1. How to display the picture in the tweet?
    2. Why does the carousel doesn’t work? How does the parameter should be written?

    Thanks

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Horizontal carousel only displaying one tweet’ is closed to new replies.