Em Andamento

wordpress page - display category specific posts before text

I need to be able to display category specific posts before text on a wordpress page. If you look at an example page here;

[url removed, login to view]

you will see I have managed to display text followed by 10 category specific posts by using the <?php query_posts('cat=xxx'); ?> command in the page post. Unfortunately this is displayed the wrong way around as I want the category specific posts first followed by the text entered in the wordpress admin for the relevant page.

I don’t mind if you generate code for me to use in either the page post on the wordpress admin or in the [url removed, login to view] file (as below) as I can add new pages for each category I want to use. The code generated should be easily changeable for any category (I will be making 50ish wordpress pages displaying 10 – off category specific posts per page and bottom text on all pages.)

Any code generated should still allow the posts to retain their styling i.e. I want the posts to still look as they do in the above example url.

The theme used by the blog is: lightbreaker

[url removed, login to view] used by the blog;

<?php get_header(); ?>

<div id="post-entry">

<?php $postcount = 1; ?>

<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>

<div class="post-meta" id="post-<?php the_ID(); ?>">

<div class="top-meta">

<div class="post-title">

<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>

<?php include (TEMPLATEPATH . '/[url removed, login to view]'); ?>

</div>

</div>

<div class="post-content">

<?php the_content('...click here to read more'); ?>

<?php if($postcount < 4): ?>

<!--[if !IE]> if you want to used your own google tracking code. just replace the code inside the p tag<![endif]-->

<!--[if !IE]> end if 3 loop in post <![endif]-->

<?php endif; ?>

</div>

</div>

<?php $postcount++; ?>

<?php endwhile; ?>

<?php include (TEMPLATEPATH . '/[url removed, login to view]'); ?>

<?php else: ?>

<?php include (TEMPLATEPATH . '/[url removed, login to view]'); ?>

<?php endif; ?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

Habilidades: PHP, WordPress

Ver mais: page display wordpress, category specific posts, wordpress page specific tag, wordpress uk, wordpress theme codes, voucher entry, top codes, making new blog, category php, wordpress text post page, display category specific, display category specific posts, wordpress page display category, wordpress text posts category, wordpress display page text, display category page, wordpress page, specific, h1, display, comet , bookmark php, wordpress entry theme, php read text file, page per click

Acerca do Empregador:
( 4 comentários ) coventry, United Kingdom

ID do Projeto: #588797

Premiar a:

JazibUllah

Please see my PM

$30 USD em 0 dias
(42 Avaliações)
5.3

8 freelancers estão ofertando em média $59 para este trabalho

phil999

please check pm

$60 USD em 1 dia
(5 Comentários)
5.5
Ekushey

Can do it for you. Ready to start immediately. :)

$30 USD in 0 dias
(83 Comentários)
5.4
saulwilliams

This is a very simple job and can complete this today. Please see PM.

$80 USD in 0 dias
(26 Comentários)
5.2
wwwyaaahaaacom

wp expert here. Pls,check pm

$65 USD in 0 dias
(9 Comentários)
4.9
webvalley

=== I can do your project , Please check the PMB ===

$50 USD in 2 dias
(14 Comentários)
4.9
tabatsoy

Hi there, I'm intersted in the job opening and I hope you can consider me on this project. Thanks and I hope to hear from you soon

$100 USD in 2 dias
(1 Comentário)
1.2
webby09

PHP-Wordpress expert..I'm ready to start work right now

$55 USD em 1 dia
(0 Comentários)
0.0