• Hello all,

    I know this seems to be answered before, but my research shows not!
    I have a website (i.e. mysite.com), having another standalone weblog as its sub-domain (mysite.com/myblog).

    I want to show my related posts from weblog in certain pages of my site.

    I have seen rssimport and a few other plugins, but seems they don’t do the job.

    any help is highly appreciated.
    Many thanks
    Rezalik

Viewing 6 replies - 1 through 6 (of 6 total)
  • My question would be…related posts that relate to what? Related posts are usually posts relating to a post someone might be reading on your blog. If they are on your other website, what are the posts supposed to relate to?

    Either way, I would look at creating a custom RSS feed on the blog, then add that RSS feed to your website.

    Thread Starter rezalik

    (@rezalik)

    Thanks for your prompt reply.
    In my website, I write about a subject, let say basketball, on which I have some blog posts, let say the ball, the players, etc….

    Now I want to show posts from blog on ball, when I have a post in website on basketball.

    The way you suggested needs many feeds to be created and used, while I am looking for something to take a query or keyword and look into the blog for related topics on that query or keyword.

    Thanks again

    It would surely help if you shared the URL’s of both your website and blog. If you are not comfortable doing that or are unable to do that (localhost, etc.) then I would ask: Is your website completely separate from your blog? Or do they both run on WordPress? If they do both run WordPress, are they one single installation or 2 separate installations? If the website is not running WordPress, what technologies were used to create it? HTML, CSS, another CMS, etc.?

    The solution to your problem greatly rests on how your website was created.

    Thread Starter rezalik

    (@rezalik)

    can’t thank you enough for your patience.

    site and blog are both on WP, but under separate installations.

    Hope I have provided the information.

    Many thanks

    This is possible but as far as I know will require some coding as I do not know of an existing plugin. Maybe someone else could chime in?

    I would suggest taking a look at these articles:

    https://digitalborn.org/display-wp-posts-rest-api/
    https://premium.wpmudev.org/blog/using-wordpress-rest-api/

    Google search to get you in the right direction:

    display posts from another wordpress site via api

    Hope this helps!

    Thread Starter rezalik

    (@rezalik)

    Thank you very much for your help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Showing posts from other WP site of mine’ is closed to new replies.