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 11-21-2011, 09:52 PM   #1
Rick Diculous
Confirmed User
 
Rick Diculous's Avatar
 
Join Date: Jul 2008
Posts: 2,370
Wordpress Related Posts Question

I sometimes come accros blogs using a related post plugin that shows thumbs instead of a text link. Anyone know a good plugin that can do this?
__________________
100+ adult blogs looking for hardlink trades
ICQ: 383 631 174
jason @ pornblogempire . com
Rick Diculous is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-21-2011, 10:03 PM   #2
HandballJim
Confirmed User
 
HandballJim's Avatar
 
Industry Role:
Join Date: Sep 2008
Location: NYC
Posts: 4,024
I would just get premium word press theme with the bells and whistles already in place.

I just did a search on yahoo
__________________
HOW I MAKE LOTS OF $$$
HandballJim is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-21-2011, 10:24 PM   #3
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,035
Quote:
Originally Posted by Rick Diculous View Post
I sometimes come accros blogs using a related post plugin that shows thumbs instead of a text link. Anyone know a good plugin that can do this?
You can add an image with any link - Then just use a theme that uses them....

I have been playing with Suffusion - very cool....
__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2011, 11:02 AM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,219
Quote:
Originally Posted by Rick Diculous View Post
I sometimes come accros blogs using a related post plugin that shows thumbs instead of a text link. Anyone know a good plugin that can do this?
yarpp does this with the templating feature.

http://urbangiraffe.com/2010/10/31/r...ls-with-yarpp/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2011, 11:39 AM   #5
Catalyst
Confirmed User
 
Catalyst's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Vegas
Posts: 3,243
if you find a blog that does that.. I can see if I can pull a plug-in list from that site.. that might help
Catalyst is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2011, 11:44 AM   #6
madtwin
Confirmed User
 
Industry Role:
Join Date: Aug 2009
Posts: 274
Related Posts Thumbnails - best and free wordpress plugin. Some themes need adding thumbnail function into functions.php to properly show any thumbs.
madtwin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2011, 01:45 PM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,219
Quote:
Originally Posted by Rick Diculous View Post
I sometimes come accros blogs using a related post plugin that shows thumbs instead of a text link. Anyone know a good plugin that can do this?
or you could go without a plugin, maybe something along these lines?

Code:
<?php

function my_related_posts_thumbnail($width = 120,$height = 160){
	global $post;
	$permalink = get_permalink($post->ID);
	$title = $post->post_title;
	$post_img = '';
	ob_start();
	ob_end_clean();
	$output = preg_match('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);   
    $post_img_src = $matches [1]; 
	if(empty($post_img_src)){
		$post_img = '<a href="' . $permalink . '" title="'.$post->post_title.'"><img src="'.get_bloginfo("template_url").'/images/default_thumb.jpg" alt="'.$post->post_title.'" />'.$post->post_title.'</a>';
	}else{
		$post_img = '<a href="' . $permalink . '" title="'.$post->post_title.'"><img src="'.$post_img_src.'"  alt="'.$post->post_title.'" />'.$post->post_title.'</a>'; 
	}
	echo $post_img;
}

function my_related_posts($post_num = 4) {
	global $post;
	$exclude_id = $post->ID;
	$i = 0;
	$cats = ''; 
	foreach ( get_the_category() as $cat ) $cats .= $cat->cat_ID . ',';
	$args = array(
		'category__in' => explode(',', $cats),
		'post__not_in' => explode(',', $exclude_id),
		'caller_get_posts' => 1,
		'orderby' => 'rand',
		'posts_per_page' => $post_num - $i
	);
	query_posts($args);
	while( have_posts() ) { the_post(); 
		echo "<li>" . my_related_posts_thumbnail() . "</li>";
		$i++;
	} 
	wp_reset_query();
	if ( $i == 0 )  echo '<li>No related posts!</li>';
}

?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2011, 01:56 PM   #8
cybermike
Confirmed User
 
Join Date: Jan 2002
Location: Ny
Posts: 4,108
Related Posts Thumbnails wish these plugins work with nextgen generated galleries
__________________
Hey surfers how about some The Best Porn Sites
cybermike is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2011, 02:04 PM   #9
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,219
Quote:
Originally Posted by cybermike View Post
Related Posts Thumbnails wish these plugins work with nextgen generated galleries
you could make it work.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-22-2011, 02:06 PM   #10
rogueteens
So fucking bland
 
rogueteens's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
I use http://rmarsh.com/plugins/similar-posts/
__________________
Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES!
Easily my best performing webcam sponsor - CLICK HERE!!
rogueteens 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.