• Resolved lisavollrath

    (@lisavollrath)


    I’ve read through all the info in the codex, and searched old posts for this—I’m sure I’m not the only one with this issue:

    The front page of my site pulls posts from a special category, called News. None of my other posts pass through the front page. My RSS feed seems to only show updates that are posted on my front page—so, only from the one category. Is this what’s supposed to happen?

    And if so, does anyone have a creative way around it?

    I’ve been contemplating reworking the page a bit, to just list the titles of pages that have been recently added. Would that solve my problem?

    My feed: http://www.lisavollrath.com/feed/

Viewing 15 replies - 1 through 15 (of 18 total)
  • It would help to know what you’re using to display that one category on your front page. Is it a plugin?

    Thread Starter lisavollrath

    (@lisavollrath)

    No, it’s not a plugin. The home.php template is set up to only pull posts from the News category.

    And the code being used to do this is?

    Something added to a global WP template (or some “top level” php file) or installed in the background must be overriding the feed; unless all your most recent posts are in that category!

    Thread Starter lisavollrath

    (@lisavollrath)

    There’s nothing installed in the background—it’s a home.php template.

    I have a work around that gets my 10 most recent posts onto the feed. I still don’t know the answer to my question—are ALL posts on the entire site supposed to be coming across the feed, regardless of whether they appear on the home page?

    Can you provide a link and maybe the code used in your template header where the RSS is called for autodiscovery?

    Thread Starter lisavollrath

    (@lisavollrath)

    I did provide a link, above. It’s also in my profile.

    http://www.lisavollrath.com
    http://www.lisavollrath.com/feed/

    I don’t know what “where the RSS is called for autodiscovery” means.

    Neither do I…

    But I notice additional categories are now appearing in your main feed. All working as hoped now?

    Thread Starter lisavollrath

    (@lisavollrath)

    No, I added a section at the bottom to pull my ten most recent posts. It’s a work around.

    Again, I would like an answer to this question:

    Are ALL my updated posts supposed to show in the feed, or just the posts that appear on my main page?

    I cannot find any documentation on exactly what to expect from the WP RSS feed.

    Your home page and main feed are handled separately. Barring some bit of custom coding or plugin, the main feed should be displaying all new posts, regardless of category.

    Thread Starter lisavollrath

    (@lisavollrath)

    I’m not even sure how to ask the next question…

    Which file(s) should I check for the proper coding for the RSS feed, and what should I be looking for?

    I’m thinking that before I start shutting off all my plugins, it might be smart to make sure that whatever is supposed to be running things is where it’s supposed to be.

    Files which may affect your feed output are:

    * wp-feed.php
    * wp-rss2.php (as well as wp-rss.php, wp-rdf.php and wp-atom.php, for the various syndication formats)
    *index.php

    These are located in the blog’s root directory. One older but often used method for limiting output to a specific category is by forcing a value for the WordPress category variable:

    $cat = 1;

    Thread Starter lisavollrath

    (@lisavollrath)

    OK, of those files, wp-feed.php and wp-rss2.php (and all the PHP files having to do with feeds) have not changed since I unzipped them and uploaded them. Just to be sure, I uploaded the original files again. No change.

    If I’m using home.php for my main page, does index.php still come into play? Or should I be checking home.php?

    A theme’s index.php does still have a purpose as it provides the fallback for all other template (or rather, query) types. In any case, we’ve been dancing around this for a while now, but time to shut the music off and work on it directly:

    What exactly is your home.php doing to pull up these top 10 posts in the News category? Assuming it’s not a state secret, being able to look over the code, as well as implement it elsewhere, should help rule it out (or not).

    Thread Starter lisavollrath

    (@lisavollrath)

    Wait, I reworked the home.php page tonight, and changed the way I was calling the posts to display, because I didn’t like that I had the content of my News posts displaying, and then below, a list of the latest posts including those in the news category. I switched to more or less this method of making one category of posts sticky, and excluding those posts from the recent links:

    MaxPower Dynamic Sticky Tutorial

    Now, even when I set the whole thing to display only a few recent posts, everything from the last month shows in the feed. Is that what’s supposed to happen? Recent posts, not every post I’ve ever made, right? I’m still not sure exactly what’s supposed to show up and what’s not.

    What are your settings under Options > Reading, Syndication Feeds? This will tell you how many (latest) posts should be showing up in your main feed.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘RSS – front page only?’ is closed to new replies.