• I was wondering if it is possible to include some PHP code onto a website that will automatically pull the latest posts from a certain category. I have used a script called CuteNews which allows for this but it is not MySQL based and lacks WordPress’s feature support. I want to be able to have my posts from say a “news” category output onto my website.

    Thanks for your support.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Yes, you can do it a couple of ways. Probably the easiest is to use the RSS feed and an RSS parser.

    https://www.2rss.com/software.php

    Thread Starter zachxp

    (@zachxp)

    OK, I’ll look into that, but you said there were a couple of ways. What are the other ways?

    Thanks

    The best way is to search this forum for answers – surely you don’t think you are the first to ask this one particular question?? ??

    The other way might not work. You said “different site” so it’s going to depend on the server configuration and if it’s actually a different server.

    If it’s on the same server, you can use The_Loop to output posts. It’s probably as quick and easy as using RSS once you are used to it, but RSS has worked well for me and I find The_Loop intimidating. ??

    You can also try CG-Feedread from https://www.chait.net/index.php?p=238 – part of David Chait’s CG PowerPack.

    Definitely. I use CG-Feedread as a plugin and it works great. I’ve never tried to use it other than as a WordPress plugin, but I know it has that capability.

    Yep, I use it as a plugin and also as a “standalone” on other sites.

    My very first experience with php “elsewhere” was using CG-Feedread on a not-wp site. Believe me, if I can get it to work, ANYONE can….

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can I output posts onto a different site using PHP?’ is closed to new replies.