herringsman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display posts from one category onlyYes the problem is here. If I select another template in the WP admin, nothing changes so the page is using something else from the hierarchy. Would this be index.php? If so do I modify it in my child theme?
Sorry if my use of terms is wayward!
Forum: Fixing WordPress
In reply to: Display posts from one category onlyThanks. I’ll investigate this.
Forum: Fixing WordPress
In reply to: Display posts from one category onlyI tried your suggestion but I still have posts from all categories on the page.
http://www.fcyrugby.com/actualites/
The code as it stands now is:
<?php query_posts('cat=1'); ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_front_page() ) { ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php } else { ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php } ?>Any further suggestions anybody?
Forum: Fixing WordPress
In reply to: Display posts from one category onlyThanks – I had a look at this, but it seems to just list the categories and the titles of the posts within rather than displaying posts from just one specified category on the page. Maybe I’m not explaining this too well.
I’d also prefer to hard code it in than use a plug (if it’s actually possible!).Forum: Alpha/Beta/RC
In reply to: Different header image on one page only in twentytenipstenu – got there in the end! Thanks for helping out.
Forum: Alpha/Beta/RC
In reply to: Different header image on one page only in twentytenThanks for the reply but there’s a couple of issues… by make a post do you mean write an article or create a new page? (The page I’m trying to change will not contain any posts). When I set the new image as featured, it appears on all my pages.