Forum Moderators: not2easy

Message Too Old, No Replies

How to arrange my php page

         

Jasont

3:57 am on Jan 2, 2005 (gmt 0)

10+ Year Member



I am trying to align my menu so that it is in the following order:

Recent Posts
Categories
Links

The tags for each is as follows:

Recent Posts - <?php get_recent_posts();?>
Categories - <?php wp_list_cats();?>
Links - <?php get_links_list();?>

I would also like to place the text "New Posts" just above my 'recent posts' category.

The code I am trying to modify is below. This code does not include the Recent Posts tag.

So basically I have to add the <recent posts> tag, and a section of text that says "New Posts"

Then I want to arrange the code so that I have the following order:

Recent posts
Categories
Links

Code:

<div id="menu">

<ul>

<?php _e('Recent Posts:');?><?php get_recent_posts();?>
<?php get_links_list();?>

<li id="categories"><?php _e('Categories:');?>
<ul>
<?php wp_list_cats();?>

</ul>
</li>

mcibor

10:29 pm on Jan 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How many recent post there are? And how many categories? I think you are using too little ils and uls.

Have you tried putting everything into a table? There you can have nice borders, etc.