hwhjryu
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Themes and Templates
In reply to: active sub menu to give border-bottom to main menuproblem solved.
li.current-menu-parent
Forum: Fixing WordPress
In reply to: Title list and one contentproblem solved.
Forum: Fixing WordPress
In reply to: Title list and one contentThanks. I got it working.
but my navigation for previous and next page at the bottom doesn’t seem to work…<div id="content_news"> <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="post_title"><?php the_title(); ?>.</h2> <div class="post_content"> <h3 class="post_meta"><?php the_date(); ?> by <?php the_author(); ?></h3> <?php the_content(); ?> </div> </div> <?php endwhile; endif;?> <div id="news_list"> <?php $recent = new WP_Query("showposts=5"); while($recent->have_posts()) : $recent->the_post();?> <h2 class="post_title"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </h2> <?php endwhile; ?> <div class="navigation"><p><?php posts_nav_link(); ?></p></div> </div> </div>Forum: Fixing WordPress
In reply to: Title list and one contentThanks esmi.
That’s a start, but
how do keep the same format even if I were to click on “This is the third title”
so the top shows only the title and content of the third title,
and it still shows the list of post titles at the bottom?
So the link of the post titles would only change the content of the post on top….?
Viewing 4 replies - 1 through 4 (of 4 total)