Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    Thread Starter cfibanez

    (@cfibanez)

    Thanks, it looks daunting. I am new to codex. Could you point to any cut-n-paste solution that I could edit simply and swiftly for this purpose?
    Many thanks in advance!

    esmi

    (@esmi)

    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args= array(
    	'category_name' => 'Insert_category_name_here',
    	'paged' => $paged
    );
    query_posts($args);
    ?>
    Thread Starter cfibanez

    (@cfibanez)

    Disaster. I got the latest post in the chosen category displaying repeatedly to infinity …. had to abort.

    Thread Starter cfibanez

    (@cfibanez)

    UPDATE: I tested the plugin Category Visibility. It seems to be doing what I want. And it even retains the sticky. Fingers crossed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I get posts from only one category to appear in the front page?’ is closed to new replies.