I created a new wordpress blog with a template boought at templatesold.com. (http://www.templatesold.com/templates/wordpress-themes/wp-personal_creative/graffitiblue/5656.html)
In the package I have the theme files and all the used plugin files. YARPP is a used plugin too.
But the creator of the template used an older version (3.1.3) of the plugin and had used the following code for the single.php:
<h2>Verwandte Beiträge</h2> <?php $results = $wpdb->get_results(yarpp_sql(array('post'),array())); foreach ( (array) $results as $_post ) : $_post = get_post($_post->ID); ?> <div class="th fl"><a href="<?php echo get_permalink($_post->ID); ?>"><img src="<?php echo get_post_meta($_post->ID, 'post-img', true); ?>" alt="" /></a></div> <div><a href="<?php echo get_permalink($_post->ID); ?>"><?php echo $_post->post_title; ?></a></div> <div class="hl2"></div> <?php endforeach; ?>
Unfortunately it seems that there is no reaction in the frontend under “Verwandte Beiträge” (see: http://spass-junkies.de/v2/2011/02/14/afrikaner-betrugt-seine-frau-mitten-im-leben/).
Furthermore I activate the option that posts get automatic the realted posts. Please see under the youtube video “Related Posts”.
The relevance is = 0.
I used the older version: It didn’t work. I used the newer version: It didn’t work.
I’m no PHP expert, so I can’t update the code by my own, but with some tipps and some solutions I will get this plugin running 🙂
Hope anyone can help me 🙂 Particurlarly mitcho 😀
Thanks in advance,
- The topic ‘[Plugin: Yet Another Related Posts Plugin] "No related posts." in two ways / Detailed desc’ is closed to new replies.