• Hey guys,
    I have this partner, and they want to have to have the latest title of my ‘news categorie’ on their website, and they want it to link it to me.
    Problem is, it cant be with rss, because they dont have the xml plugin installed.
    Does anyone know how I should do this? let the tittle be written to a text file or something which my partner can include on his page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • If your partner is using PHP in their site, a simple script in your blog’s root (we’ll call it ‘news-title.php’) along these lines should do:

    <?php
    include('wp-blog-header.php');
    query_posts('category_name=News&showposts=1');
    the_title();
    ?>

    Thread Starter driesdk

    (@driesdk)

    thanks a lot, it works perfectly!

    Hi
    I used your php code and included a link to my blog headers to my company website. Check it out at https://www.des-us.com. I added a url to the item title.
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘latest news item to texfile’ is closed to new replies.