• Resolved michaels19

    (@michaels19)


    Hi,

    thank you very much for this plugin. I’ve just installed it and have a few questions.
    Is it possible to limit the output to only one post type? For example ‘product’.
    I have changed line 207 in the file sosere-controller.php to
    ‘post_type’ => ‘product’,
    Will this do the trick? Or will this destroy the functionality of the plugin?

    Another question ist this. I have a plugin called “Plugin Organizer” installed on my worpress blog. It allowes me to disable other plugins on certain pages for performance reasons.

    Now i have disabled your plugin everywhere but the single product pages where i also show the recomendations. Will his break your plugin?

    Thanks so much again.

    Looking forward to your answere.

    Michael

Viewing 1 replies (of 1 total)
  • Plugin Author sosere

    (@sosere)

    Hi Machael,
    yes this will do the trick if “product” is a custom post type.
    I don’t use “Plugin Organizer”, so I can’t tell, but this should work. There may be a site effect if “Plugin Organizer” doesn’t prevent loading of sosere. Because of tracking of viewed posts it may make this data source less effective for recommendations. Categorys becomes more influent. So try it out and give me a feedback.

Viewing 1 replies (of 1 total)
  • The topic ‘Limit recommendations to one post type’ is closed to new replies.