Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Related posts in Simple

  • #4550
    Avatar photo[anonymous]

    Hi, to all!
    I use Simple theme, and I have two sites with the same settings for “Theme” and for “Site settings” (only texts and images are different), but in one of these don’t make related posts in preview.
    I can’t see “You should also read:” and the posts under.
    At the end of every post there are only Previous/Next buttons and footer.

    Here are my settings:
    Theme -> Custom settings -> Layout -> Post page -> Related post: 3
    Theme -> Custom settings -> Post options -> Display related posts: Enabled
    Site settings -> Post Listing -> Related posts selection mechanism: Use titles and tags
    Site settings -> Post Listing -> Related posts ordering: By ID descending
    Site settings -> Post Listing -> Related posts options: Enabled

    I’ve tried also to reset theme settings, but nothing has changed.
    In this site I used Block editor for all the posts.

    Hope you can help me.
    Many thanks in advance.

    #4551
    Avatar photoBob
    [anonymous] wrote:

    only texts and images are different

    The titles are the same?

    #4552
    Avatar photo[anonymous]

    No, site title, posts titles, texts and images are different.

    #4553
    Avatar photoBob

    The related posts are created based on Post Titles and Tags (by following your setting).
    If the titles do not contain common words, and the tags are different then the related posts are not created.

    There may be several other reasons as well: draft, hidden posts.

    #4554
    Avatar photo[anonymous]

    Many thanks Bob for your help.
    You understood perfectly what my problem was.

    I made a mistake, I did not understand how related posts worked.
    In the first site the posts titles were similar, made for a test and it also worked without the tags.

    I have created one tag, I have added this to some posts and I have changed:
    Site settings -> Post Listing -> Related posts selection mechanism: Use only tags

    Now all works well.

    Thank you so much for your quick support.
    Publii is wonderful.

    Good day.