Category: WordPress
list all posts
<h3>Posts</h3> <ul> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <?php while(have_posts()) : the_post(); ?> <?php foreach((get_the_category()) as $category) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â { $my_query = new WP_Query(‘category_name=’ . $category->category_nicename . ‘&orderby=title&order=asc&showposts=100’);} ?> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> Â Â Â Â Â Â <li><a href=”<?php the_permalink(); ?>” title=”<?php the_title(); ?>”><?php the_title(); ?></a></li> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <?php endwhile; ?> <?php break; endwhile; ?> </ul>
How to control the tag cloud font size?
Just add the following code at any place you need to let the tag show: if ( function_exists(‘wp_tag_cloud’) ) : KingPHP.com Tags wp_tag_cloud(‘smallest=8&largest=8’);
Host 2 domains for the same wordpress database.
Q:Me and a friend are trying to make https://kingphp.com and www.chinascience.org the same… I hosted his domain on my hosting as an add-on domain.
Mass Post Manager for WordPress
This plugin performs the following tasks: Delete all posts and/or comments in selected category Move all posts from one category to another Plugin was developed for may needs so its functionality is quite limited right now. However i plan to add more and more features to Mass Post Manager