Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author keesiemeijer

    (@keesiemeijer)

    Hi

    Are these the tags for the Innisfree product:

    
    water, squalane, propanediol, glycerin, cetearyl alcohol, 1,2-hexanediol, xanthan gum, sodium stearoyl glutamate, cetearyl glucoside,sclerotium gum

    They seem to be very different than the tags for the La Roche Posay product. Or am I missing something? Are there more posts that have lost their dupes?

    Thread Starter burlyqlady

    (@burlyqlady)

    Hi thanks for answering!
    The tags for the aforementioned posts are glycerin and squalane.

    All posts here should have 100% tag matches (or dupes, as my site calls them)
    https://www.skincaredupes.com/category/dupes/

    Thread Starter burlyqlady

    (@burlyqlady)

    You can see the tags all the way at the bottom of posts next to a folder icon

    What you mentioned before is actually the post content.

    Plugin Author keesiemeijer

    (@keesiemeijer)

    Can you add this to your theme’s functions.php file

    
    add_filter( 'related_posts_by_taxonomy_debug', '__return_true' );
    

    This will add debug information (for logged in admins) in the footer of the site.
    Go to the pages that are wrong and post the debug info for both of the pages here.

    It could be it picks up the wrong post ID.

    Thread Starter burlyqlady

    (@burlyqlady)

    thnaks so much for your quick reply!! I have added it.

    Plugin Author keesiemeijer

    (@keesiemeijer)

    Do you see the debug information (in the footer) on the product pages (if you’re logged in as an admin)?

    If you do can you post it here (using the code button)

    Thread Starter burlyqlady

    (@burlyqlady)

    here is the info for one of the aforementioned posts:

    ***************************************************************
    ** **
    ** Related Posts by Taxonomy General Debug Information **
    ** **
    ***************************************************************

    Plugin Supports

    Array
    (
    [widget] => 1
    [shortcode] => 1
    [shortcode_hide_empty] => 1
    [widget_hide_empty] => 1
    [cache] =>
    [display_cache_log] =>
    [wp_rest_api] =>
    [debug] => 1
    )
    ——————————————-
    All post types found (public and private)

    post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, glossary, advanced_ads, tablepress_table
    ——————————————-
    All taxonomies found (public and private)

    category, post_tag, nav_menu, link_category, post_format, advanced_ads_groups
    *****************************************************
    ** **
    ** Related Posts by Taxonomy Debug: widget 1 **
    ** **
    *****************************************************

    current post id:

    76049

    ——————————————-
    terms found for current post:

    carnosine, ceramides, glycerin, grapeseed extract, licorice extract, panthenol, pomegranate extract, pongamia oil, sitosterols, sodium PCA, squalane, vitamin a, vitamin c, vitamin e

    ——————————————-
    taxonomies used for related query:

    ‘post_tag’

    ——————————————-
    terms used for related query:

    glycerin, squalane

    ——————————————-
    related post ids found:

    75596, 75664, 75686, 75697, 75647, 75609, 69293, 76049, 75658, 75667, 75610, 75657, 75605, 75691, 75705

    ——————————————-
    widget args:

    Array
    (
    [post_types] => Array
    (
    [0] => post
    )

    [posts_per_page] => 15
    [order] => DESC
    [fields] =>
    [limit_posts] => -1
    [limit_year] =>
    [limit_month] =>
    [orderby] => post_date
    [terms] =>
    [exclude_terms] =>
    [include_terms] =>
    [exclude_posts] =>
    [post_thumbnail] => 1
    [related] => 1
    [public_only] =>
    [include_self] =>
    [post_id] => 36295
    [taxonomies] => post_tag
    [title] => Potential Product Dupes
    [format] => thumbnails
    [image_size] => thumbnail
    [columns] => 2
    [link_caption] => 1
    [show_date] =>
    [caption] => post_title
    [post_class] =>
    [random] =>
    [singular_template] => 1
    [type] => widget
    )

    ——————————————-
    Arguments used to get related posts:

    Array
    (
    [post_types] => Array
    (
    [0] => post
    )

    [posts_per_page] => 15
    [order] => DESC
    [fields] =>
    [limit_posts] => -1
    [limit_year] => 0
    [limit_month] => 0
    [orderby] => post_date
    [terms] => Array
    (
    )

    [exclude_terms] => Array
    (
    )

    [include_terms] => Array
    (
    )

    [exclude_posts] => Array
    (
    [0] => 36295
    )

    [post_thumbnail] => 1
    [related] => 1
    [public_only] =>
    [include_self] =>
    )

    ——————————————-
    related posts query:

    SELECT posts.* , count(distinct tt.term_taxonomy_id) as termcount FROM posts INNER JOIN term_relationships tr ON (posts.ID = tr.object_id) INNER JOIN term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) INNER JOIN postmeta ON ( posts.ID = postmeta.post_id ) WHERE ( ( post_type = ‘post’ AND ( post_status = ‘publish’ OR post_status = ‘private’ ) ) ) AND posts.ID NOT IN (36295) AND ( tt.term_id IN (548, 669) ) AND (
    postmeta.meta_key = ‘_thumbnail_id’
    ) GROUP BY posts.ID ORDER BY posts.post_date DESC

    ——————————————-
    requested template:

    related-posts-thumbnails.php

    ——————————————-
    widget:

    Array
    (
    [name] => Page Sidebar
    [id] => page-sidebar
    [description] => These widgets appear in the sidebar of the page content.
    [class] =>
    [before_widget] => <div id=”related-posts-by-taxonomy-7″ class=”widget clearfix related_posts_by_taxonomy”>(Debug Widget)<br/>
    [after_widget] => </div>
    [before_title] => <div class=”header clearfix”><div class=”bar-label”>
    [after_title] => </div></div>
    [widget_id] => related-posts-by-taxonomy-7
    [widget_name] => Related Posts By Taxonomy
    )

    ——————————————-

    Thread Starter burlyqlady

    (@burlyqlady)

    Also just as a side note, i dont know where it’s getting the terms shown under “terms found for current post”
    they are not in the post content

    Plugin Author keesiemeijer

    (@keesiemeijer)

    Hi

    Also just as a side note, i dont know where it’s getting the terms shown under “terms found for current post”

    Those are the terms found (from all taxonomies) assigned to the post. As you see in “taxonomies used for related query” it only uses the ‘post_tax’ terms ‘glycerin’ and ‘squalane’.

    Can you post the information found for the other post as well.

    Thread Starter burlyqlady

    (@burlyqlady)

    Sorry for the delay! Here is the other post:

    ***************************************************************
    ** **
    ** Related Posts by Taxonomy General Debug Information **
    ** **
    ***************************************************************

    Plugin Supports

    Array
    (
    [widget] => 1
    [shortcode] => 1
    [shortcode_hide_empty] => 1
    [widget_hide_empty] => 1
    [cache] =>
    [display_cache_log] =>
    [wp_rest_api] =>
    [debug] => 1
    )
    ——————————————-
    All post types found (public and private)

    post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, glossary, advanced_ads, tablepress_table
    ——————————————-
    All taxonomies found (public and private)

    category, post_tag, nav_menu, link_category, post_format, advanced_ads_groups
    *****************************************************
    ** **
    ** Related Posts by Taxonomy Debug: widget 1 **
    ** **
    *****************************************************

    current post id:

    76109

    ——————————————-
    terms found for current post:

    alfalfa extract, bilberry, borage oil, calendula extract, cocoa butter, elderberry, glycerin, gromwell, jojoba oil, lactic acid, lemon extract, maple, meadowsweet extract, milk thistle, olive oil, probiotics, sacha inchi, sea buckthorn, squalane, tomato, vitamin e, willow bark

    ——————————————-
    taxonomies used for related query:

    ‘post_tag’

    ——————————————-
    terms used for related query:

    glycerin, squalane

    ——————————————-
    related post ids found:

    75596, 75664, 75686, 75697, 75647, 75609, 69293, 76049, 75658, 75667, 75657, 75605, 75691, 76109, 75705

    ——————————————-
    widget args:

    Array
    (
    [post_types] => Array
    (
    [0] => post
    )

    [posts_per_page] => 15
    [order] => DESC
    [fields] =>
    [limit_posts] => -1
    [limit_year] =>
    [limit_month] =>
    [orderby] => post_date
    [terms] =>
    [exclude_terms] =>
    [include_terms] =>
    [exclude_posts] =>
    [post_thumbnail] => 1
    [related] => 1
    [public_only] =>
    [include_self] =>
    [post_id] => 18105
    [taxonomies] => post_tag
    [title] => Potential Product Dupes
    [format] => thumbnails
    [image_size] => thumbnail
    [columns] => 2
    [link_caption] => 1
    [show_date] =>
    [caption] => post_title
    [post_class] =>
    [random] =>
    [singular_template] => 1
    [type] => widget
    )

    ——————————————-
    Arguments used to get related posts:

    Array
    (
    [post_types] => Array
    (
    [0] => post
    )

    [posts_per_page] => 15
    [order] => DESC
    [fields] =>
    [limit_posts] => -1
    [limit_year] => 0
    [limit_month] => 0
    [orderby] => post_date
    [terms] => Array
    (
    )

    [exclude_terms] => Array
    (
    )

    [include_terms] => Array
    (
    )

    [exclude_posts] => Array
    (
    [0] => 18105
    )

    [post_thumbnail] => 1
    [related] => 1
    [public_only] =>
    [include_self] =>
    )

    ——————————————-
    related posts query:

    SELECT posts.* , count(distinct tt.term_taxonomy_id) as termcount FROM posts INNER JOIN term_relationships tr ON (posts.ID = tr.object_id) INNER JOIN term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) INNER JOIN postmeta ON ( posts.ID = postmeta.post_id ) WHERE ( ( post_type = ‘post’ AND ( post_status = ‘publish’ OR post_status = ‘private’ ) ) ) AND posts.ID NOT IN (18105) AND ( tt.term_id IN (548, 669) ) AND (
    postmeta.meta_key = ‘_thumbnail_id’
    ) GROUP BY posts.ID ORDER BY posts.post_date DESC

    ——————————————-
    requested template:

    related-posts-thumbnails.php

    ——————————————-
    widget:

    Array
    (
    [name] => Page Sidebar
    [id] => page-sidebar
    [description] => These widgets appear in the sidebar of the page content.
    [class] =>
    [before_widget] => <div id=”related-posts-by-taxonomy-7″ class=”widget clearfix related_posts_by_taxonomy”>(Debug Widget)<br/>
    [after_widget] => </div>
    [before_title] => <div class=”header clearfix”><div class=”bar-label”>
    [after_title] => </div></div>
    [widget_id] => related-posts-by-taxonomy-7
    [widget_name] => Related Posts By Taxonomy
    )

    ——————————————-

    Thread Starter burlyqlady

    (@burlyqlady)

    um hello? any updates here…?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Not sure it’s working anymore’ is closed to new replies.