• Resolved chicknlil25

    (@chicknlil25)


    I’m trying this plugin on a new not-yet-fully-published website, and no matter how many number of tweets I tell it to display from my list, it only shows a single tweet. I’m willing to provide an email with temporary wp-admin access to support. Thanks much!

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

    (@mpntod)

    There are two reasons it might show one Tweet.

    1. There is only one Tweet in the Twitter account for it to show!
    2. It’s pulling in more Tweets and putting them on the page (which you can normally see in HTML), but the rotation is broken – normally because there’s a clash of JavaScript with another plug-in or with the template.

    If you post a link to the site, it’s normally possible to see what the problem is.

    Plugin Author Martin Tod

    (@mpntod)

    The normal problem is a clash of JavaScripts – either because there’s a poorly designed plug-in or theme that doesn’t use the standard WordPress way of installing scripts – or because there’s another plug-in using the same rotation script as Rotating Tweets…

    If you look at the HTML on the page and the console, it can normally tell you which one it is!

    Thread Starter chicknlil25

    (@chicknlil25)

    As I mentioned in my title, I’m using the LIST function, as this is the only non-paid plugin I can find that allows for that, and the list definitely has plenty of tweets to choose from. The tweets don’t appear to be updating, except on a forced reload.

    I’ve uploaded an image of the console here.

    I’m willing to give you access to the site, but I’d prefer not to post it publically at this point. So if you’d like to email me at chicknlil25[@]gmail[.]com, I’ll give you temporary access to see if you can make heads or tails of the issue!

    • This reply was modified 6 years, 7 months ago by chicknlil25.
    Plugin Author Martin Tod

    (@mpntod)

    Many thanks.

    From that, I’d guess that you’ve got an ancient plug-in or theme that’s installing the 1.4.1 version of jQuery from around 2010 and overwriting the 1.12.4 version included in WordPress – and overwriting jQuery Cycle (as installed by Rotating Tweets) at the same time!

    If you look at the code on your page, is there something that gives a clue as to what might be doing it?

    Thread Starter chicknlil25

    (@chicknlil25)

    It’s definitely the theme if I’m understanding the Inspect correctly – so I guess my question would be – do you think if I substituted your jQuery for what’s in the includes, would that work, do you think?

    Plugin Author Martin Tod

    (@mpntod)

    The problem is that the theme or plug-in that’s causing the problem is hard-coding the link to jQuery instead of using WordPress’s wp_enqueue_script("jquery"); command (more here).

    The trick is to find the line of code that adds the script (and any other scripts) and swap them for a suitable series of wp_enqueue_script() commands or, if they’re not needed, just delete them.

    Thread Starter chicknlil25

    (@chicknlil25)

    That, unfortunately, sounds way over my head. Thank you for trying to help me at least. Since I don’t want to switch my theme, I’m going to use Twitter’s embed method, instead.

    Plugin Author Martin Tod

    (@mpntod)

    Which theme is it? I can take a quick look at your site if that helps.

    It’s unusual for the theme to be the problem. It’s normally a plug-in. And sometimes I can code around the theme.

    It’s also worth fixing because this will potentially break a LOT of plug-ins and WordPress functionality.

    Martin

    Thread Starter chicknlil25

    (@chicknlil25)

    The theme is Magzimus. It was a paid theme on Envato Market (no longer sold).

    https://199.168.186.75/~modseriesscene/ is where the site is for now. I’ve temporarily disabled maintenance mode. If you want admin access, I provided my email above, and I’d be happy to give you a temporary account.

    Plugin Author Martin Tod

    (@mpntod)

    This is the line that breaks it….
    <script type="text/javascript" src=" ... /wp-content/themes/magzimus/includes/js/jquery-1.4.1.min.js"></script>
    All you need to do is find the line that adds it and comment it out <!-- -->

    • This reply was modified 6 years, 7 months ago by Martin Tod.
    Thread Starter chicknlil25

    (@chicknlil25)

    Nevermind, I found it. About to update it now, reinstall your plugin, and give it another go!

    • This reply was modified 6 years, 7 months ago by chicknlil25.
    Thread Starter chicknlil25

    (@chicknlil25)

    Hmm. I’m beginning to think that I maybe had a misconstrued idea of what “show how many tweets” meant. I thought it would list x number of tweets, but I’m starting to think it just shows 1 tweet at a time, and rotates however many you specify? Is there something I can adjust to make it show more tweets?

    Thread Starter chicknlil25

    (@chicknlil25)

    Okay, so I’ve more or less made things work by rotating widgets around to different places. The problem I can see now from making that jQuery comment out is that now where it shows comments on recent posts, it’s much larger than it should be – it shows very briefly the proper way, then the size expands. I’m not even sure if that’s something you could or would want to be helping me with at this point.

    Plugin Author Martin Tod

    (@mpntod)

    If you want to show multiple tweets – which then rotate, you need to be using version 2 of the JavaScript on the settings page and set the rotation to ‘carousel’!

    I thought the problem was that it showed one Tweet and then stopped!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Only showing single tweet from list?’ is closed to new replies.