WordPress.org

Ready to get started?Download WordPress

Forums

Better Related Posts
[resolved] Disable some Taxonomies (3 posts)

  1. nattila
    Member
    Posted 2 years ago #

    Hi,

    My posts (dresses) use a lot of taxonomies, eg. brand, collection, color, year, style, lenght, etc. It is possible to remove some of theese taxonomies from x2x comparison?
    I tried to use custom scoring with usetax array, but I can't see any changes in scoring results. As I can see the plugin save related IDs into post meta. Can this cause my problem? Possible to clear cached data?
    My code snippet is:

    'usetax'        => array(
                'collection'    => false,
                'brand'    => false,
                'year'    => false,
                'style'    => true,
                'color'    => true,
                ...
            ),

    http://wordpress.org/extend/plugins/better-related/

  2. nattila
    Member
    Posted 2 years ago #

    When I echoing $taxonomy in scorer.php line 431 it returns all available post type taxonomies. So usetax doesn't handle correctly the taxonomies as I can see. Posible to fix it?

  3. nattila
    Member
    Posted 2 years ago #

    Ok sorry it works well just the_related_analyze(); returns the default scoring although I use custom setup.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic