victorjonsson / Arlima

Article List Manager - Wordpress plugin suitable for online newspapers that's in need of a fully customizable front page
28 stars 16 forks source link

Related posts #68

Closed carlgrundberg closed 9 years ago

carlgrundberg commented 9 years ago

Hi,

I tried to get the connection between Related Posts for Wordpress and Arlima to work, and according to the documentation it should without any code. However i cant find that the function arlima_related_posts is used anywhere in the current release (beta) and I had to glue it together with something like this, is that the intended way, or is something broken?

// Show related post
function my_article_relations_hook( $data ) {
  if( $data['post'] )  {
    $data['content'] = arlima_related_posts($data['post']->ID);
  }
  return $data;
}
victorjonsson commented 9 years ago

Not broken really.. It was fully implemented by Arlima in the past but today you could say that it's on its way out. https://github.com/victorjonsson/Arlima/issues/40.

carlgrundberg commented 9 years ago

Ok, that seems like a good choice. Thanks for the reply.

victorjonsson commented 9 years ago

The integration with MRP is now removed from the plugin. Here you can read how you could implement it yourself https://github.com/victorjonsson/Arlima/wiki/Integrate-%22Microkid%C2%B4s-Related-Posts%22-with-Arlima