new posts on outside site? (6 posts)

  1. maestro42
    Posted 11 years ago #

    Let me explain what im trying to do and hopefully someone can tell me if its possible and how it can be done. I run a blog site (www.hoopislife.com) and another basketball site (www.edgeathletics.com). I want a ticker-type application or something on my other website (edgeathletics) that will display, for example, the last three posts made on my blog site (hoopislife). I want just the title of the post displayed and then linked to the actual post. I guess I could do this manually by updating my (edge) site everytime a post is made, but that would be a pain. Is there any way to do this so its automatically updated when a new post is made ? Thanks any help would be great!!!!!!!!

  2. moshu
    Posted 11 years ago #

  3. maestro42
    Posted 11 years ago #

    yes, something exactly like the get_post function described above, but i want to implement it on a completely different website altogether. - or if i could implement it on a different page then the index.php page, then i could just do an include on the other site. but i can only seem to get it to "semi-work" on the index.php page. Any help using this function is greatly appreciated!!

  4. moshu
    Posted 11 years ago #

    You can use it anywhere... Just create a page (or take the one you want to the "stuff" to appear on), then put at the top the first lines from the index.php:
    /* Don't remove this line. */

    - modify the relative path of the wp-blog-header.php accordingly
    - play with the template tags until you get what you want
    BTW, what do you mean by "semi-work"?

  5. maestro42
    Posted 11 years ago #

    by semi work i mean i have the links to appear correctly, but the formatting is off - i think i just have to mess with the .css file to try and make them look nicer.. Thanks for your help on that - i will try that out and see if i can get it to work!!

  6. moshu
    Posted 11 years ago #

    Oh, I see. Yes, for formatting, layout you have to play with the CSS. If the page (site) looks totally different than the blog site, then you should modify the CSS of that file by adding to the .css the elements that will apear from the blog, e.g. like "storytitle" "post" whatever...

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.