Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Social Media and Blog Feed on a Portfolio WordPress site
I would like to bring onto my portfolio site which I'll be creating using WordPress, a feed to my social profiles on Facebook and Twitter and my blog all combined.
Ideally, a div section on my homepage which has blog excerpts and a thumbnail of my featured image from the blog post it relates to (which would be different per blog post).
Then I would also like it so it pulled my Twitter feed, my Facebook Business Page and my own personal Facebook status updates and it putting an icon for each next to whether it is Twitter or Facebook.
If at all possible also include how long ago I posted content and where I posted it from if I'm on the move.
Is this possible in WordPress or PHP or even jQuery?
If anyone wants me to try and explain it more, please message me.
Thanks once again.
Fred Gough (FG Web Developers)
Alexander Sobieski6,555 Points
Your blog post excerpts are no problem at all... most themes give you that option, but it's easy to code (if you know WP).
As for the social stuff, there are a couple ways:
easy/intermediate create a dynamic sidebar (widget area) for your WP template, and find some social widgets that pull that info. Drop them in... done. You can usually use the "inspect element" (right-click in your browser) to find the CSS id/class of elements, and you can modify the CSS to make it look how you want.
PRO: feather in your cap, and you can make it exactly how you want Con: it will take a while to learn/do
--but once you have done it, you're a pro and can take-on anything!
Ok. Thanks for your advice. I'll certainly try the harder approach as I enjoy a challenge and as this will be my portfolio site I want it to show I'm capable of doing challenges.