1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says

I’m looking for some good related posts and popular posts plugins for Wordpress. I tried Yet Another Related Posts Plugin, and Wordpress Popular Posts, but neither works for some reason. Both say “No posts found.” If it makes any difference, I’m working on a local host with XAMPP , not an actual server.

I’d really appreciate the help! Thanks!

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says

Are the forums dead or something?

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

No it’s just that people don’t really like you you know .. :) I’M joking Alex :)

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says
No it’s just that people don’t really like you you know .. :) I’M joking Alex :)

I know they don’t!

1451 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Member of the Envato Team
+12 more
kailoon Envato team says

You mean, the plugin is not working? what is the name?

Normally, the popular posts based on comment count and related posts based on tags.

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says
You mean, the plugin is not working? what is the name? Normally, the popular posts based on comment count and related posts based on tags.

The plugin is working (technically) because the related post plugin says “No related posts.” and the popular post plugin says “Sorry. No data so far.”

The related posts plugin is called Yet Another Related Posts Plugin (YARPP), and the popular posts plugin is called Wordpress Popular Posts (not Wordpress.com Popular Posts—different things).

I have a feeling it’s because I’m working on a local host instead of on a server. I did everything possible. I put 10 of the exact same tags on 10 posts, in the same categories, and optimized the settings to pick up even the slightest relation but nothing. And the popular posts displays nothing either. I even tried changing the settings from Comment Count to Total Views and Avg. Daily Views.

Any help?

688 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
_rg_ says

Why not create your own plugin or functions for that?

Is very easy, just create a custom loop and use comments count or similar tags to output posts.

For example, i use something like this to get similar categories post:


$categories = get_the_category($post->ID);
if ($categories) {
    $category_ids = array();
    foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;

    $args=array(
        'category__in' => $category_ids,
        'post__not_in' => array($post->ID),
        'showposts'=>9, // Number of related posts that will be shown.
        'caller_get_posts'=>1
    );

    $my_query = new wp_query($args);
    if( $my_query->have_posts() ) {

        while ($my_query->have_posts()) {
            $my_query->the_post();

            /* here output post things as you need */

        }
    }
}

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says
Why not create your own plugin or functions for that?

Is very easy, just create a custom loop and use comments count or similar tags to output posts.

For example, i use something like this to get similar categories post:


$categories = get_the_category($post->ID);
if ($categories) {
    $category_ids = array();
    foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;

    $args=array(
        'category__in' => $category_ids,
        'post__not_in' => array($post->ID),
        'showposts'=>9, // Number of related posts that will be shown.
        'caller_get_posts'=>1
    );

    $my_query = new wp_query($args);
    if( $my_query->have_posts() ) {

        while ($my_query->have_posts()) {
            $my_query->the_post();

            /* here output post things as you need */

        }
    }
}

Well, first of all, I’m new to PHP and Wordpress so I can’t really write my own plugins just yet. Second of all, I want a more advanced algorithm of picking the most relevant articles (which the plugin I found provides).

Thanks for your help though. :)

688 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
_rg_ says

ah ok, sorry ;)

by the way i don´t imagine why the plugin does not work localy, did you test it on server side too? are you sure plugin and wp versions are compatible? Maybe some out-date funciont???

maybe some php property needed?? i don´t belive so, but…. who knows, that´s why i like to make my own plugins!! jeje

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says

I’ve downloaded the most recent version of the plugins. They also work for dozens of themes on ThemeForest so I don’t see why not. I haven’t tried server-side because I don’t have a server that supports Wordpress… stupid GoDaddy.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by