Sometimes we want to change wordpress posts author name, if you only need to change several posts, and you do not know the skills, you can delete and repost with the new author name. If you need to modify hundreds… Read moreHow to change wordpress post author name?
For example, your main site is http://www.glassespeople.com ,and your blog is http://www.glassespeople.com/blog. If you want so 5 latest post description at www.glassespeople.com, how to do? Simple, the following code will meet your needs: // Include WordPress define(‘WP_USE_THEMES’, false); require(‘blog/wp-load.php’); query_posts(‘showposts=5’);… Read moreHow to display wordpress posts outside the blog?
If you want to add 10 host post at your right bar, just copy and past the following code: <h2>Hot PHP Posts</h2> <ul> <?php $result = $wpdb->get_results(“SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 10″); foreach ($result… Read moreHow to add 10 hot wordpress posts
We all know that WP has added widget_tag_cloud_args filter, you can use this function to override the default arguments that are passed to the wp_tag_cloud function to change the tag cloud font size you like. This filter provides a keyed… Read moreHow to control WordPress 9.2 tag cloud font size?
Usually wordpress category description does not show even we add each wordpress category description at WP Administration Panel. Any method to show category description? Yes! Follow me: Go to Appearance –> Editor, and click Category Template (category.php) . Â Add <div><strong><?phpÂ single_cat_title(‘CurrentlyÂ browsing’);Â ?>… Read moreAdd WordPress Category Description
It is very simple, copy the following code, and change YOU ADSENSE ADS CODE HERE. to your ads code. done! Â <div class=”storycontent”> <?php if (($wp_query->current_post == 0)and (!is_home())) : ?> <div style=”float:right”><br> YOU ADSENSE ADS CODE HERE. </div> <?php endif;… Read moreAdd one adsens ads except homepage.
We are adding regular content everyday but for the past few weeks Google don’t seem to index the new posts at all. Usually they were indexing within a few minutes.Â At first I think their must be something wrong with… Read moreWordPress Posts not indexing on Google
If we add <!–more–>, the content after will now show at homepage, and other categories. When visit the detailed post, the content afterÂ <!–more–> will show. Â NowÂ I will teach you how to add adsense code within the function, that… Read moreAdd adsense code after wordpress tag cloud
Usage Default Usage ‘smallest’ => 8, ‘largest’ => 22, ‘unit’ => ‘pt’, ‘number’ => 45, ‘format’ => ‘flat’, ‘orderby’ => ‘name’, ‘order’ => ‘ASC’, ‘exclude’ => , ‘include’ => , ‘link’ => ‘view’, ‘taxonomy’ => ‘post_tag’, ‘echo’ => true );… Read moreWordPress 2.8 Template Tags/wp tag cloud
WordPress ban ip pluginwill display a custom ban message when the banned IP, IP range, host name or referer url trys to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recordered on… Read morewordpress ban ip plugin