Home > Wordpress > Game Pages listed Horizontally in the Footer

Game Pages listed Horizontally in the Footer

It took me forever to figure it out. But I finally got the games listed on the bottom of http://topfivegames.com . All of the games have their own WordPress Page. So it was more about listing pages horizontally in the footer, which isn’t as easy as you would think. Finally I found a helpful blog Lorelle on Wordpress. This is what I got out of the post.

I went into Appearance >> Editor

I clicked on Stylesheet and added the following code to the bottom:

.footerlinks ul {text-transform:uppercase;
     display: inline;
     list-style-type: none;
     list-style-image:none;
     margin:0; }
.footerlinks li, .footerlinks li li, .footerlinks li li li {
     display: inline;
     padding: 0px 5px; }

Then I saved it!

next click on Footer and I added this code:

<ul>
<?php
wp_list_pages('title_li=' ); ?>
</ul>

If you read Lorelle’s blog post, I’m sure there is a lot more you can do, but for me I am satisfied with this.

So if you want to list a heck of a lot of games, and you have a page for each game, this is how you could do it.

Categories: Wordpress Tags:
  1. No comments yet.
  1. No trackbacks yet.