WordPress.org

Forums

WordPress forum is unfriendly! (18 posts)

  1. kt83
    Member
    Posted 5 years ago #

    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.

  2. Felix J
    Member
    Posted 5 years ago #

    Here's a good tutorial:

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

  3. kt83
    Member
    Posted 5 years ago #

    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.

  4. ClaytonJames
    Member
    Posted 5 years ago #

  5. Felix J
    Member
    Posted 5 years ago #

    Ohh sorry I missunderstood ya.

    Maybe this can be to better help?

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

  6. kt83
    Member
    Posted 5 years ago #

    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.

  7. ClaytonJames
    Member
    Posted 5 years ago #

    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.

  8. ClaytonJames
    Member
    Posted 5 years ago #

    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

  9. figaro
    Member
    Posted 5 years ago #

    WordPress forum is unfriendly!

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

  10. ClaytonJames
    Member
    Posted 5 years ago #

    @figaro

    (sshhhh... it's just the bourbon.)

    :P

  11. kt83
    Member
    Posted 5 years ago #

    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.

  12. kt83
    Member
    Posted 5 years ago #

    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.

  13. kt83
    Member
    Posted 5 years ago #

    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!

  14. Samuel B
    moderator
    Posted 5 years ago #

    WordPress forum is unfriendly!

    take it back yet?

  15. kt83
    Member
    Posted 5 years ago #

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

  16. evilenglishman
    Member
    Posted 5 years ago #

    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.

  17. ClaytonJames
    Member
    Posted 5 years ago #

    Oh, now... that's probably just the evil-englishman in you talking.

    :P

    I think a lot of that negativity is spawned by individuals who think that everything has a point and click solution, or a plugin solution. (I sometimes wonder if those of us who realize that everything has a learning curve, are now in the minority) and when they discover that they actually may have to sit down and read the directions, or they can't bypass that and have someone just give them what they want immediately and exactly as they perceive it should be by posting in a "forum", well it upsets them. Sometimes, those who don't get what they want find it easier to piss and moan and stamp their feet instead of taking responsibility for what they got them selves into. I blame that on the instant gratification mentality that our culture blasts us with on a daily basis.

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

    I want you to understand, that I respect your right to feel as you do, and I appreciate the freedom in which you have the right to express those thoughts. In no way, do I wish to diminish the importance of that.

    That being said, I have seen some of the most amazingly stupid, lazy, self centered and unwarranted attitudes from people who post questions and then expect that it's everyone elses responsibility for their problems if they don't get what they want. After all, that's what a forum is for, right?

    ...And yet I can easily think of several contributors who regularly go way out of their way - several of them moderators -, to do everything they can to get to a solution... even when often times, it really has nothing to do with a "WordPress" issue, yet they do it so someone else can in the end, enjoy using WordPress. So there are the two sides of the same coin. As is true with any issue. By the way, you can reduce those statistics (downright rude replies to people from moderators and most questions go unanswered) by sticking around and imparting your knowledge to others if you like.

    http://wordpress.org/support/profile/167081

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

    If that is true, then I implore you to increase the size of your "control group" by spending a little more time on the web.

    Best wishes, and be well. And thanks for letting me express my opinion on the subject, because I sometimes am one of those rude individuals you dislike. Sometimes not. Oh, the fickle nature of humans. (Sigh...)

    :-)

  18. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    What ClaytonJames said :-)

Topic Closed

This topic has been closed to new replies.

About this Topic