• There’s a lot of people on this forum and only a few willing to answer questions. Look at most of the threads, on average only 1 or 2 replies.

    On that note, can someone show me how I can start an RSS feed from scratch? I’m using a customized theme and am trying to add a feed to my homepage (and other pages) to list the latest blog entries. Please be kind and share some tips.

    Thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Here’s a good tutorial:

    https://www.petefreitag.com/item/465.cfm

    Thread Starter kt83

    (@kt83)

    This is good, but it’s not quite what I’m looking for. Maybe it’s not a feed that I need… Thanks though.

    I installed the plugin “Recent Posts” and have set it up to display a list of the most of recent posts in my sidebar. What I want to do is place this list on my homepage. Is this possible?

    Thanks.

    Ohh sorry I missunderstood ya.

    Maybe this can be to better help?

    https://www.frank-verhoeven.com/create-an-rss-feed-with-wordpress/

    Thread Starter kt83

    (@kt83)

    Clayton, that instruction only shows me how to display the ‘recent posts’ somewhere in the blog. What i’m looking for is a solution to display the ‘recent posts’ on my homepage, or any page that isn’t WP driven. Thanks though.

    Felix, I am not php literate enough to know if that article is the solution. What I’m hoping to find is a generic code that I could paste into my homepage file. I’m not sure if I’m conveying my thoughts clearly enough. You now what I’m trying to do right? Thanks for the link though.

    Clayton, that instruction only shows me how to display the ‘recent posts’ somewhere in the blog. What i’m looking for is a solution to display the ‘recent posts’ on my homepage, or any page that isn’t WP driven.

    That’s kind of exactly what you are trying to do. Creating a new page template and applying it as your home page would probably be what you need.

    What i’m looking for is a solution to display the ‘recent posts’ on my homepage…
    …What I’m hoping to find is a generic code that I could paste into my homepage file. I’m not sure if I’m conveying my thoughts clearly enough. You now what I’m trying to do right?

    I’m fairly certain based on your statements, that I understand exactly what you want. One generic code coming up.

    <?php wp_get_archives('type=postbypost&limit=10'); ?>

    There you are my friend. That limits the post count to the last 10, and it will need to be placed in a page template with the styling of your choice.

    On the other hand, on the off chance that you are actually attempting to integrate the list of recent posts into your html based web site or page, have a look at this:

    Display WordPress content outside of your blog

    Here is another interesting one:

    How to: List recent post on a non-WordPress site

    WordPress forum is unfriendly!

    Can’t help but notice all the friendly help offered here in less than a day. Just an observation…

    @figaro

    (sshhhh… it’s just the bourbon.)

    ??

    Thread Starter kt83

    (@kt83)

    Clayton, I’m glad you considered the off chance because those 2 articles were the help I was looking for. However, I use templates for my pages, which means my html and php are coded in separate files. I’m not sure if this is an uncommon way to create pages, but most people don’t seem to know how to apply the same codes to the template system. Would you happen to know of another article that might help? Thanks!

    Figaro, I also noticed the same thing. Now I know what the title of all my posts are gonna be from now on.

    Thread Starter kt83

    (@kt83)

    This is how my site works:

    I have a home.php file which has the following codes:

    <?php
    /* Check Structure Availability */
    if (!defined(“CORE_STRAP”)) die(“Out of structure call”);

    $tpl = new template;
    $tpl -> Load(“home”);

    $tpl-> CleanZones();
    $tpl -> Flush();

    ?>

    Then I have a home.tpl file which has the html for the content. Let’s say I want to place the output of the plugin in the middle of my content area, how would I do that?

    Thanks, again.

    Thread Starter kt83

    (@kt83)

    UPDATE:

    This is what my home.php file looks like:

    [code]<?php
    $tpl = new template;
    $tpl -> Load("!theme/{$GLOBALS["THEME"]}/templates/home.tpl");
    $tpl -> GetObjects();

    require_once("home/www/sitename/blog/wp-config.php");
    $recentPosts = recent_posts();
    $recentComments = get_recent_comments();
    $tpl -> AssignArray(array('recent.posts' => '$recentPosts'));
    $tpl -> AssignArray(array('recent.comments' => '$recentComments'))
    $tpl-> CleanZones();
    $tpl -> Flush();

    ?>[/code]

    And inside my home.tpl file, I have, in two different divs, {recent.posts} and {recent.comments}

    On the page, the recent_posts and recent_comments appear before all the content and in the div where I placed {recent.posts}, appears $recentPosts and {recent.comments} appears $recentComments.

    I tried it without the ‘ ‘ around $recentPosts and $recentComments, but nothing came out.

    Hope you can figure this out. Thanks for your help!

    WordPress forum is unfriendly!

    take it back yet?

    Thread Starter kt83

    (@kt83)

    I take it back. I found the ultimate solution from a friend, but you guys have been helpful! Thanks!

    I agree, I’ve seen some downright rude replies to people from moderators and most questions go unanswered.

    Its probably the worst community I’ve seen to date on the web.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘WordPress forum is unfriendly!’ is closed to new replies.