• Is it possible to have just the posts from my homepage of my blog display on another page?

    If so, how is this done? Any help would be greatly appreciate.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You mean on a webpage outside of WP?
    If yes, you may want to take a look at the tutorial I wrote about this: http://www.transycan.net/blogtest/2005/07/05/integrate/

    Thread Starter criticalfix

    (@criticalfix)

    Hey thank you for the reply. I checked out your tutorial page…great work by the way.

    The site we are looking to put just the most recent posts on is not a WP page. I was really hoping for some code to just drop into the other page that would just display the most recent posts as opposed to having to redesign the non-WP page to be a modified WP page.

    Is this even possible to do easily?

    On another site I have done this:
    1. Installed the Customizable posts listings plugin
    http://www.coffee2code.com/wp-plugins/#customizablepostlistings
    2. Made the non-WP webpage “WP-aware” using the same one line as described in my guide
    3. Activated the plugin
    4. Used the plugin call code in the site where I wanted the recent 2-3 posts dislpayed

    p.s. Following my guide you don’t have to redesign your site – on the contrary, you integrate the posts in your exsiting design!

    one thing I’ve done is made a bare bones theme. the theme only displays posts with nothing else on the page. in my case, it doesn’t even display a comments link. i use wordpress as a kind of cms in this way, with the content read by another site and displayed there.

    the other way to do it (which I’m working on) is to read the RSS feed for the content. the reading code nees more smarts though, instead of a simple get contents statement.

    Thread Starter criticalfix

    (@criticalfix)

    Hey there,

    Okay I did everything from download and activate the plug and I used your code to enable WP on my page and then put the code into my page where I want the posts to show and I get this error:

    Fatal error: Call to undefined function: c2c_get_recent_posts() in /home/john/public_html/indexTEST.php on line 282

    Are you sure the path to the wp-blog-header.php is correct?

    Thread Starter criticalfix

    (@criticalfix)

    Yeah, I checked…I did notice on that site for the plug is says to put those function calls into a template…possibly even the sidebar template…is that necessary? I’m posting what they state here:

    Include one or more of the templates defined below into a template file (most likely sidebar.php)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Getting Just Posts Show Up On another Page’ is closed to new replies.