WordPress.org

Ready to get started?Download WordPress

Forums

dual twitter feed (3 posts)

  1. stirlingcreative
    Member
    Posted 3 years ago #

    Hi,

    I have taken over a wordpress site from a web developer (I am not a developer) but I need to fix some issues on the site I have inherited.

    On the homepage there is a twitter feed and I am being asked to make the feed pull in tweets from more than one twitter username. The code that is currently on the page is this....

    <?php twitter_messages('css_guru', 4, true, true, 'View', true, false, false); ?>

    Where it says css_guru I have tried putting in a comma and the next username, but that is probably totally wrong as it just breaks the feed, anyone got any ideas how I can make the feed pull from 2 different places?

  2. stirlingcreative
    Member
    Posted 3 years ago #

    if more code is required I can post that? I'm really stuck here....

    I know there's probably plugins etc that would do it, BUT this template is hacked to bits, its not as simple as pulling a widget into a sidebar, Its all mostly hand coded php that I cant get my head around.

  3. Xephan
    Member
    Posted 3 years ago #

    If you don't mind displaying two separate "box" with tweets from each respective tweeter, I suspect you can simply do something like this

    <?php
    twitter_messages('css_guru', 4, true, true, 'View', true, false, false);
    twitter_messages('theOtherGuy', 4, true, true, 'View', true, false, false);
    ?>

    If you want to combine tweets from multiple user into a single "box", you'll going to do a lot more code hacking.

Topic Closed

This topic has been closed to new replies.

About this Topic