Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Floyd3

    (@floyd3)

    I just tried the “Contextual Related Posts” plugin, and like I thought, it didn’t work as I’d hoped and return the correct related posts, even though it says it shows related posts by title.

    I found a site that has code that appears to take it by tag, without a plugin, maybe this can be somehow edited to search by title rather than tag? https://andorkh.com/wordpress-related-posts-without-plugin/

    Thread Starter Floyd3

    (@floyd3)

    Is this even possible? Seems like a little different code of telling it to search by “title” or permalink rather than tags would work?

    Thread Starter Floyd3

    (@floyd3)

    Still not sure what to do. I’ve exhausted all options. Anyone have any ideas or can point me in the right direction?

    Cheers,
    Pink

    Thread Starter Floyd3

    (@floyd3)

    I’m not sure what to do. Is there any other forums where I can ask this question since no one seems to know here?

    Why not just assign tags or categories to those posts based on the title? Then it’s straightforward to display as you want.

    Thread Starter Floyd3

    (@floyd3)

    Thanks WPyogi, is there a way to maybe automatically assign tags to each post based on the file name?

    It would take a long time to give each individual post a tag, but I like where your going with this and your idea. ??

    Thread Starter Floyd3

    (@floyd3)

    I haven’t found any plugins that do this yet. Do I have to go in and manually give each existing post tags one by one? Or is there some trick maybe? Could also use the post slug maybe.

    @floyd3

    I’m not sure if you’ve solved your issue yet, but here’s a method that I’ve found to be usefull.

    I use a plugin called Advanced Custom Fields. With it, you can create a relationship field for each post that allows you to add related posts manually when creating the post.

    The field returns an array of post object with which youc an create a loop and display the related posts.

    Hope this helps!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Display Related Posts by Title without Plugin?’ is closed to new replies.