Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-13-2011, 02:31 PM   #1
IllTestYourGirls
Ah My Balls
 
IllTestYourGirls's Avatar
 
Industry Role:
Join Date: Feb 2007
Location: Under the gold leaf ICQ 388-454-421
Posts: 14,311
:stop How Do I Add Pics To My Wordpress RSS Feed?

Anyone know how I can add pictures to my wordpress rss feeds? Like the feed grabs one of the pictures in the post.

And any recommendations for good rss feed widgets so I can place the rss feed on other sites? I see a few nice ones when I google for them, just want some feed back and suggestions.

__________________
IllTestYourGirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2011, 02:47 PM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,561
Quote:
Originally Posted by IllTestYourGirls View Post
Anyone know how I can add pictures to my wordpress rss feeds? Like the feed grabs one of the pictures in the post.

And any recommendations for good rss feed widgets so I can place the rss feed on other sites? I see a few nice ones when I google for them, just want some feed back and suggestions.

if you have featured image try adding this to your functions.php of your theme

Code:
function thumb_feed($content) {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
$content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail', array( 'alt' => get_the_title(), 'title' => get_the_title(), 'style' => 'float:right;' ) ) . '' . $content;
}
return $content;
}

add_filter('the_excerpt_rss', 'thumb_feed');
add_filter('the_content_feed', 'thumb_feed');
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


my contact: fris at fris.net
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2011, 02:59 PM   #3
IllTestYourGirls
Ah My Balls
 
IllTestYourGirls's Avatar
 
Industry Role:
Join Date: Feb 2007
Location: Under the gold leaf ICQ 388-454-421
Posts: 14,311
Thanks fris ill try that.
__________________
IllTestYourGirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2011, 05:11 PM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,561
images show up fine though in my rss feeds using the built in gallery system
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


my contact: fris at fris.net
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2011, 05:29 PM   #5
IllTestYourGirls
Ah My Balls
 
IllTestYourGirls's Avatar
 
Industry Role:
Join Date: Feb 2007
Location: Under the gold leaf ICQ 388-454-421
Posts: 14,311
Strange my pics aren't. I am not putting them in as a gallery but inserting each individual picture, would that cause the picture not to show up in the feed?
__________________
IllTestYourGirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2011, 08:00 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,561
Quote:
Originally Posted by IllTestYourGirls View Post
Strange my pics aren't. I am not putting them in as a gallery but inserting each individual picture, would that cause the picture not to show up in the feed?
probably ;)

would have to look into running though the feed filter so it does work.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


my contact: fris at fris.net
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.