WordPress.org

Ready to get started?Download WordPress

Forums

How do I display posts from wp on a different page/site (12 posts)

  1. ProfParadox
    Member
    Posted 9 years ago #

    I want to display the posts I make in the wp blog on a different site. Can some one point me in the right direction? There is just so much information out there, and I don't know where to start.

  2. Lorelle
    Member
    Posted 9 years ago #

    So you want to have your posts on your site show up on your site AND show up on another site?

  3. ProfParadox
    Member
    Posted 9 years ago #

    I have a site already(not a blog site). I just installed wp. I want the posts I make to show up on the original site. I'm just wondering where I should start? I installed wp in a directory below my original index.html file.

  4. davidchait
    Member
    Posted 9 years ago #

    Do you want titles, title+excerpt, title+full-CSS-content? All depends...

    -d

  5. ProfParadox
    Member
    Posted 9 years ago #

    Title + Excerpt + Posted By

    I would like to post the last ten entries on my home page.

    Thank you for any help you can give me.

  6. davidchait
    Member
    Posted 9 years ago #

    Well, there's a few approaches if you search around here. You can include the 'core' of wordpress into your main site, which will live-run 'The Loop' when your site loads and display a custom listing. My personal favorite (I'm biased!) is to use something like CG-FeedRead to aggregate your own RSS feed into your main page -- the disadvantage is less control over the output (though still completely CSS-able), the advantage being that it uses a time-based cache system, and only 'regenerates' when the timer expires (which means it can be 'behind' for a few hours if you update your blog and have a longer cache cycle...).

    -d

  7. ProfParadox
    Member
    Posted 9 years ago #

    I'm new to blogging, and I don't know enough about RSS to make it do anything useful. I recently used a mod for my phpBB that does something similiar to what I want to do with wp. I basically installed this mod, and it generated Javascript code, that I could insert into my main page. This Javascript code simply looks into my phpBB and retrieves recent post information and displays it on my home page. I would like to do this with wp, if something like that is available. I don't know. There is just so much information out there, I'm having a hard time sorting through it to find what I'm looking for.

  8. Michael Bishop

    Posted 9 years ago #

    Well, what david is saying, is that with the plugin he's refering to, other WP feedreading plugins, or some other RSS feed reader service, you could pull a similar list from your WP blog and probably similarly easy code , and insert that into your site (I'm guessing you've pulled that design, the current home page is, shall we say minimalistic).
    A completely different approach would be to install WP in your main directory and design a WP theme, obviously using your wonderful header graphic and CSS and php instead of tables as the front end of your site. Without knowing what else you want to do with the site, it seems to me that it would be far easier to do that, in the long run, that try and meld a blog AND a forum into a front end. Take a quick search of phBB integration here in the forums, I know I've seen some active threads recently regarding that subject.*EDIT-see this thread.

    Just my 2¢.

  9. ProfParadox
    Member
    Posted 9 years ago #

    Ok, I'm trying out the CG-FeedRead...

    The Instructions say:

    Add to your index.php, or wherever you want the feed 'imported', something like:

    <?php
    $feedUrl = "http://transplantcomics.com/blog/"; // a sample CNET feed. use your own...
    $feedOut = getSomeFeed($feedUrl, 4, false, "feed-cnetttech", '', 36, false);
    if ($feedOut)
    echo $feedOut;
    ?>

    (I've replaced the URL with my root wp installation directory)

    This is the error I got:

    Fatal error: Call to undefined function: getsomefeed() in /home/.daze/transplant/transplantcomics.com/index.php on line 63

    What am I doing wrong?

  10. Michael Bishop

    Posted 9 years ago #

    Where is the main site in relation to the wp install? if you inserted the php in your home page, and the blog isn't in the same place, that would be the problem. If that's the case, another solution is needed.
    A quick google search turned up this:
    http://www.feedforall.com/free-php-script.htm
    But let's find out where everything is installed, and then go from there.

  11. ProfParadox
    Member
    Posted 9 years ago #

    I've been looking into it more today. I've come to the conclusion that I just don't know which way to go. If I go with the RSS feed option, I sacrifice the functionality of wp. If I go with building my site around wp, I have to learn alot about wp coding. I'm thinking building my site around wp is the best option, but themes and templates still confuse me. Also, to build a proper theme, you need to know a bit about CSS and PHP. That is knowledge I don't currently have. I feel like I have bit off more than I can chew. I thank you all for your help, so far. But if anyone could give me direction as to where to start, I would appreciate it.

  12. aknamdeo
    Member
    Posted 8 years ago #

    i am using open source MagpieRSS code to display my blogspot on web page.

    check ( http://www.aknamdeo.com/wordpress/?p=17 ) this to know how i do that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.