Contextual Related Posts
[resolved] Can the algorithm work with a custom field instead of the_content()? (4 posts)

  1. Animalejourbano
    Posted 2 years ago #

    I've started working with a site that uses a custom field called 'desarrollo' instead of the_content(); to load the main content of the articles, and has already about 400 articles written. Also, the articles are a custom post type. That's why I need to find a way that the plugin's algorithm takes care of that content.

    Please, please, please, help!!!


  2. Ajay
    Plugin Author

    Posted 2 years ago #

    Do I understand correctly that the custom field actually contains the contents of the post?
    And, that the Post->Content field which is the default one is totally empty?

    if this is the case, unfortunately, there is no easy fix. The plugin creates a fulltext index on the post_title and post_content fields.

    Is there a way you can "synchronise" the data between desarrollo and post_content?

  3. Animalejourbano
    Posted 2 years ago #

    Your're right. The field the_content(); is empty...
    If there is any way to synchronise the data between desarrollo and the_content(); I don't know about it unfortunately, that would make my life a lot easier. Anyway, thanks for your answer!

  4. Ajay
    Plugin Author

    Posted 2 years ago #

    You're welcome.

    But, even without the content, the title field should ideally be giving you good matches.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic