How to let tag cloud show the same size font and in list style?

It is very easy to tag cloud show the same size font and in list style, there are 2 ways to do this: 1. Change sidebar.php in templates: <li> <h2>Tag Cloud</h2> <?php wp_tag_cloud(‘smallest=8&largest=8&number=45&orderby=name&format=list’); ?> <!– wp_tag_cloud(‘smallest=8&largest=8&number=45&orderby=name&format=list’)–> </li> another way is… Read moreHow to let tag cloud show the same size font and in list style?

List 50 posts of wordpress.

If you want to list 50 posts, use the following code: <ul>  <?php  global $post;  $myposts = get_posts(‘numberposts=-1’);  foreach($myposts as $post) :  ?>     <li><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></li>  <?php endforeach; ?>  </ul> if you want to list all… Read moreList 50 posts of wordpress.

WordPress Random posts

Display a list of 15 posts selected randomly by using the MySQL RAND() function for the orderby parameter value:  <ul><li><h2>A random selection of kingphp posts</h2>     <ul>  <?php  $rand_posts = get_posts(‘numberposts=15&orderby=rand’);  foreach( $rand_posts as $post ) :  ?>     <li><a… Read moreWordPress Random posts