• Hi,

    I have the following on every page of my site:

    <?
    include('test.php');
    ?>

    And in ‘test.php’ I have:

    <li><?php query_posts('showposts=1&cat=1'); ?><?php while (have_posts()) : the_post(); ?><?php the_content_rss('', TRUE, '', 10); ?><?php endwhile;?>
    </li>

    It basically displays a snippet of news.
    However, this only seems to display the content when in ‘index.php’ or ‘archive.php’ nowhere else, why is this?

    Many thanks for any assistance.

Viewing 3 replies - 16 through 18 (of 18 total)
  • That plugin is NOT for that.

    Thread Starter sincewelastspoke

    (@sincewelastspoke)

    OK, do you/anyone know of a plugin that would do this?
    Select the most recent post from a specific category and display on a page.

    page is in Page or just a webpage?

    I’d just search for a plugin that lets me select latest posts by category. If you are not articulating precisely what you want from the beginning… we are going in circles.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Displays post info on Home Page, but nowhere else :(’ is closed to new replies.