Showing posts in pages
-
When i use my normal code to show posts where posts should show every thing is blank and
when i tryed this<div id="content"> <?php if (have_posts()) : the_post(); ?> <h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); // of the page ?></a></h1> <?php the_content(); // of the page endif; ?> <?php if (is_page('21')) : // nr of the page you want news in $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; // restaure pagination query_posts("cat=1&paged=$paged"); // nr of the category you want selected in this page $more = 0; // "Read More" in anothe page than Archive thanks to https://www.ads-software.com/support/topic/67173?replies=16 if (have_posts()) : while (have_posts()) : the_post();?> <div class="entry"> <h3 class="entrytitle" id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3> <div class="entrybody"> <p class="entrydate"><?php the_date('','<span>','</span>, '); ?>at <?php the_time(); ?> :</p> <?php the_content(); ?> </div> </div> <?php endwhile; endif; ?> <div class="navigation"> <span class="left"><?php next_posts_link('« précédentes actus') ?></span> <!--<span class="left"><a href="/archives/" title="Accéder aux rubriques, tags et archives mensuelles">archives des actus adhérents</a></span>--> <span class="right"><?php previous_posts_link('actus plus fraîches »') ?></span> </div> <?php endif; ?> </div> <a href="https://www.ads-software.com/support/topic/252598?replies=3">Link</a>
It just shows the title in a permalink of the page?
Any help on how to show posts in pages
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Showing posts in pages’ is closed to new replies.