WordPress.org

Forums

Manual Related Posts
Auto posts option seems half active (9 posts)

  1. TiKu
    Member
    Posted 1 year ago #

    Hi,

    I have not activated the "Auto posts" option, but the plugin (version 1.8.1) still adds related posts automatically. The list contains one post that has been added manually, and another one that must have been added automatically. However, if I enable the "Auto posts" option, many more posts are added automatically, so the option seems to work partially.

    Is this a bug? Am I doing something wrong?
    TiKu

    https://wordpress.org/plugins/baw-manual-related-posts/

  2. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    hello

    in this new version you got a double relation side now.
    Explanation :

    Post A
    Post B
    Post C

    On the A, you manually add B for a relation.
    On the B, you manually add C for a relation.

    Now when you visit B, you got C (you set it) and A (because A is related to B), this is auotmatic and, i think, more logical

    isn't it?

  3. TiKu
    Member
    Posted 1 year ago #

    Not really. I can follow your argumentation, but it also means that older posts will reference newer posts. If you use the plugin to reference older posts to the same topic, it isn't logical that there are also references to newer posts.
    I think this feature should be optional. Also I wouldn't expect such an automatism if the plugin is called "MANUAL related posts" and automatic references have been disabled in the options.

    Regards
    TiKu

  4. Julio Potier
    Member
    Plugin Author

    Posted 1 year ago #

    okay, you're the second person asking for this to be an option, i'll do so :)

  5. TiKu
    Member
    Posted 1 year ago #

    Thanks Julio, this would be great. Do you already know when we can expect a new release? Currently I'm waiting with the upgrade to WordPress 3.9.x because of your plugin.

  6. Alois.M
    Member
    Posted 1 year ago #

    Hey Julio,

    Thanks for the great plugin but I have to second TiKu, the automation just makes what was once a manual related posts plugin just another related posts plugin.

    Please return the option of whether auto linking should be on or not. I had to revert to an older version to avoid this.

    Thank you

  7. perswm
    Member
    Posted 1 year ago #

    TiKu, if you want to disable this find function bawmrp_get_related_posts and comment this code:

    $ids_bonus = $wpdb->get_row( "SELECT group_concat(post_id) as ids FROM $wpdb->postmeta WHERE post_id != {$post_id} AND meta_key='_yyarpp' AND concat(',',meta_value,',') LIKE '%,{$post_id},%'" );
    	if ( ! is_admin() && reset( $ids_bonus ) ) {
    		if ( ! is_array( $ids ) ) {
    			$ids .= ',' . reset( $ids_bonus );
    		}else{
    			$ids[] = reset( $ids_bonus );
    		}
    	}
  8. TiKu
    Member
    Posted 1 year ago #

    perswm, thank you so much! It works like a charm!

  9. spookee
    Member
    Posted 1 year ago #

    perswm, THANKS a lot!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Manual Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.