littlebizzy
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] Multiple related queries by post type/category?We tried playing with the code based on your suggestions.
It didn’t really make any difference, unfortunately.
However we will monitor this and hopefully it improves after more and more articles are published? Perhaps there are just not enough right now.
Thanks again for your time and effort on this plugin.
Forum: Plugins
In reply to: [Contextual Related Posts] Multiple related queries by post type/category?Are you using it inside the loop?
Nope, just using the code you provided in the sidebar.php
For some reason, the 1st and 2nd related stories are nearly always the same no matter which page is being loading on the website.
Even if the option “Find related posts based on content as well as title” is enabled or disabled, this issue still exists (Version 1.9.1).
Have also tried clearing the cache and re-creating index.
Forum: Plugins
In reply to: [Contextual Related Posts] Multiple related queries by post type/category?Thanks very much for your reply.
Yes! That worked. Awesome, very much appreciated ??
However, it seems the first 2 ‘related’ posts are nearly always the same no matter what, even when posts are extremely unrelated.
Any idea what might be causing that?
Forum: Plugins
In reply to: [Contextual Related Posts] Multiple related queries by post type/category?Your reply is much appreciated. The code below only displays a normal WordPress query of recent posts, but does not show related posts:
if(function_exists('get_crp_posts_id')) { $scores = get_crp_posts_id(array('postid' => $postid, 'limit' => $limit)); $posts = array_slice(array_keys($scores), 0, 7); $args = array( 'post__in' => $posts, 'posts_per_page' => 7, 'category_name' => 'news', 'ignore_sticky_posts' => 1 ); $my_query = new WP_Query($args); if ($my_query->have_posts()) { while ($my_query->have_posts()) { $my_query->the_post(); echo '<a href="' . get_permalink( get_the_ID() ) . '">'; the_title(); echo '</a>'; wp_reset_postdata(); wp_reset_query(); } } else { } }
Forum: Plugins
In reply to: [Subdomains] [Plugin: Subdomains] Making it work for taxonomiesGreetings jcpelayo,
We figured out how to do something like this for one client using this plugin. Please contact us if you’re interested as this requires custom coding depending on each setup.
https://www.littlebizzy.com/contact/
Kind regards,
Little Bizzy