Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: WordPress Layout
    Thread Starter tahirahmed

    (@tahirahmed)

    Thanks

    Thread Starter tahirahmed

    (@tahirahmed)

    Hi Nex2Nun,

    This sounds like exactly what I need, but how would I only pull the latest entries from a selected category via the rss feed? Because after looking over the pages you sent, it seems that this method extracts all the latest posts over the whole blog.

    I just want to display the latest posts from one category on our website.

    Thread Starter tahirahmed

    (@tahirahmed)

    Hi, found it.. if anyone else is looking also.. here is the information that worked for me:

    The files you need to edit are located in:
    wp-includes/

    And you need to edit the following files if you want to remove the generator tag from all the RSS feeds.

    feed-atom-comments.php
    feed-atom.php
    feed-rdf.php
    feed-rss.php
    feed-rss2-comments.php
    feed-rss2.php

    And just remove the following tag:

    <?php the_generator( ‘rss2’ ); ?>

    Where it states ‘rss2’ this changes for the various feeds. And that seems to be it, after removal, the generator does not appear in the source. Hope that helps.

    Thanks again Nex2Nun.

    Thread Starter tahirahmed

    (@tahirahmed)

    Hi Nex2nun,

    Thanks, I have looked over that page and that is exactly what I am after, however, I am not too good with the coding, so after looking at the various files, I still cannot figure out which bit of code I need to remove to get the generator tag removed from the RSS feeds.

    Any ideas? Sorry..

Viewing 4 replies - 1 through 4 (of 4 total)