Everyday Design Reviver Answers is offering solutions via useful snippets of code, helpful resources and general tips for all your web design issues. And as such we would like to share with you our favorite code snippets from this last week.
It has been yet another good week, thanks for your support!
We do this by accessing the persons Twitter account RSS feed, then fetching it and embedding it on your site.
Replace the example RSS’s with the ones you’d like.
$rss_items = $rss->get_items(0, $maxitems);
<?php if ($maxitems == 0) echo '
- No items.
// Loop through each feed item and display each item as a hyperlink.
Foreach ( $rss_items as $item ) : ?>
- <a href='get_permalink(); ?>'>
If you want to display their info at the bottom or beginning of the post, then use this and place it in the corresponding area of your WordPress files. (i.e. Single.PHP or Comments.PHP)
Edit the author box as necessary.
You can add the following jQuery code anywhere you want on the site (i.e. Sidebar, footer, etc.) Just remember to replace and specify which feed you’ll be recalling.
If you’re refering to having your images and boxes with a drtop shadow, then you need the Box Shadow CSS feature to work for you. Here’s what you need to place in your CSS:
box-shadow: 3px 3px 3px #f2f2f2;
-moz-box-shadow: 3px 3px 3px #f2f2f2;
-webkit-box-shadow: 3px 3px 3px #f2f2f2;
Replace the www.google.com with the URL address you wish to redirect to.
There are always some questions that seem to get through the net, can you help us answer them?
- What Is A Good Resource To Create Style Sheets For Multiple Web Browsers?
- How To Create A Profile Which Can Be Navigated, Without Using HTML Or Flash?
- How Do You Find New Clients?
- What Are Your Top Usability Tips For Web Designs?
- What’s A Good Mobile Framework To Use?
- How Can I Integrate ECommerce On My Site Without Any Coding?
Thanks again, firstly to everyone who asked a question, but most importantly thanks to everyone that took the time to offer always helpful and useful answers.