styling php twitter feed

I'm not quite sure how to go about styling this particular bit of php:

<div id="twitter-feed">
    <a href=""><span style="font-weight:bold;">@frshstudio</span></a>

        include_once(ABSPATH . WPINC . '/feed.php');
        $rss = fetch_feed('');
        $maxitems = $rss->get_item_quantity(3);
        $rss_items = $rss->get_items(0, $maxitems);

        <?php if ($maxitems == 0) echo '<li>No items.</li>';
        // Loop through each feed item and display each item as a hyperlink.
        foreach ( $rss_items as $item ) : ?>
        <a href='<?php echo $item->get_permalink(); ?>'>
        <?php echo $item->get_title(); ?>
        <?php endforeach; ?>
    </div><!-- end twitter-feed -->

Ideally, I'd like to replace the 'FRSHStudio' before each tweet with a bullet point. Also, maybe some padding between each tweet so the feed isn't as cluttered.

Live site.

Any and all help is greatly appreciated.


To remove the FRSHStudio in each item, you could use this code :

<?php echo str_replace('FRSHStudio: ', '', $item->get_title()); ?>

Then, in css, to add bullets and some padding on each item of the list, use this :

#twitter-feed ul li {
    list-style: disc;
    padding-bottom: 4px;
    padding-left: 10px

Need Your Help

F# slicing array by indices array


How can I overload .[] for F# array to slice an array based on an arbitrary index array?

How to release an object and clear memory in VBA

excel vba memory release

thats the first time i post plus im an amateur programmer, so let me know if you need any additional information. i have the following problem: