Visualizzazione 0 filoni di risposte
Visualizzazione 0 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Template di Pagina
Ciao ragazzi
se possibile vi chiedo sempre se qualcuno può darmi una mano,
vorrei far in modo che alcuni miei post, esempio categoria FILM
non voglio che finisce in homepage ma che vada finire in una pagina
che mi fa da template per la determinata categoria,,,
ho provato a seguire questi passi e a dire ci sono riuscito
ma l’unico problema e che mi fa visualizzare solamente 9 post ??
un aiuto grazie mille
<?php
/*
Template Name: Film
*/
?>
<?php get_header(); ?>,
<?php
$query= ‘cat=12&orderby=date&order=DESC’;
query_posts($query);
?>
<!–MAIN CONTENT–>
<div id=”content”>
<div id=”posts”>
<!–Latest Posts–>
<div id=”single_posts”>
<?php if(have_posts()): ?><?php while(have_posts()): ?><?php the_post(); ?>
<div <?php post_class(); ?> id=”post-<?php the_ID(); ?>”>
<div class=”post_top”></div>
<div class=”post_mid”>
<div class=”post_content_main”>
<h2 class=”postitle”>“><?php the_title(); ?></h2>
<?php the_content(); ?>
<?php wp_link_pages(‘<p class=”pages”>‘.__(‘Pages:’).’ ‘, ‘</p>’, ‘number’); ?>
</div>
</div>
<div class=”post_bottom”><div class=”edit”><?php edit_post_link(); ?></div></div>
</div>
<div class=”comments_template”><?php comments_template(”,true); ?></div>
<?php endwhile ?>
<?php endif ?>
</div>
</div>
<!–Sidebar–>
<?php get_sidebar(); ?>
</div>
</div>
<!–Footer–>
<?php get_footer(); ?>
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0