• Resolved vicentsalvador92

    (@vicentsalvador92)


    Hello
    Yesterday I installed and configured the plugin but it does not appear in the posts, the theme I use is Twenty Twenty-One.
    What can I do? Thanks in advance

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ajay

    (@ajay)

    A quick way to check is to install Query Monitor plugin and browse to a page where the posts should display.

    In there when you browse to the page, you’ll be able to see what exactly the query generated by the plugin is / or any error

    Thread Starter vicentsalvador92

    (@vicentsalvador92)

    Hi Ajay
    I have installed the Plugin you indicated.
    How can I see the error with the plugin?

    Plugin Author Ajay

    (@ajay)

    Can you check that Automatically Add has been selected in the settings page.

    Regarding QM, visit the post where you should see the related post. At the top you’ll see a new menu item when you’re logged in which shows the number of queries etc – this is added by QM

    When you click there, navigate to the queries section in the left menus that opens up. There you can find contextual-related-posts under Component. The relevant one there is the one generated by WP_Query->get_posts.

    Alternatively you might see an error.

    If you don’t see either it means the plugin isn’t getting added to the page. You might have to see if the_content is present in the theme.

    Thread Starter vicentsalvador92

    (@vicentsalvador92)

    Hi
    I leave two screenshots, the first is for you to see that this added posts and the second is about the plugin, as you will see in the image appears in a pink color.
    I guess it’s an error
    https://ibb.co/QN5mGm8
    https://ibb.co/mbM7fNt

    Plugin Author Ajay

    (@ajay)

    The pink is because it is a SHOW query.

    The one below that is the relevant one, but that is pulling up 0 posts.

    Would you be able to copy paste that full query here for me to look?

    One thing to also try is to enable Search using content and title – under List tuning.

    Thread Starter vicentsalvador92

    (@vicentsalvador92)

    Plugin Author Ajay

    (@ajay)

    Thanks – looking at the query, can you try two things:

    1. Turn on Find related posts by content and title – this should get more matches

    2. Remove the option to find in the same category/tag etc.

    These are likely two limiting issues that are unable to return any posts.

    Thread Starter vicentsalvador92

    (@vicentsalvador92)

    Thank you very much, it is working.

    Plugin Author Ajay

    (@ajay)

    Thanks for confirming.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘It does not show me related articles in posts’ is closed to new replies.