Support » Fixing WordPress » Is there an easy way to reference my last blog posts outside of WP,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Keilya

    (@fantasycrusader)

    I don’t get what you mean “outside of WP” but this code is for getting recent posts you’ve made with WP:

    <?php wp_get_archives(‘type=postbypost&limit=10&format=custom&before=&after=’); ?>

    ‘limit’ is the number of posts you want it to fetch, I forgot what’s format for. (You can search the Docs/Codex for this.) ‘before’ and ‘after’ are just areas for you to enter HTML to help in this display. Optional of course.

    I need to just reference my Recent Blogs onto the front of another website that is not on blogetery.com. Is there a URL to list them?

    if you look at http://www.busygamer.com, i want to list the last posts on the bottom right. im new to this so i was wondering if there was quick url or code to pull the listings from.

    Keilya

    (@fantasycrusader)

    I think it’s possible. If the 2 websites are on the same server it should be easier for busygamer to fetch the recent posts from the database. Even if they’re on different servers, there’s always remote SQL access.

    Sadly I don’t know how to do either of them, so you gotta wait for a pro to hope by. lol.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there an easy way to reference my last blog posts outside of WP,’ is closed to new replies.