Sometimes we need to modify wordpress templates to meet our demands, for example, we need to show latest posts under certain category only, say category id is 11. How to do then? Here is the code I have used for… Read moreHow to WordPress Show Latest Posts under Certain Category?
More and more people love to use wordpress to setup blogs and place adsense ads, and many people still love the use the theme of Classic, by Dave Shea. Can we show different adsense code at the same place, but… Read moreSkills on How to Show different Adsense Ads at WordPress
We found so many spammers try to leave their url in the field of Website, and use Name as their keywords. How to prevent the spammers doing so then? For example, how to prevent them to leave thir url? Let… Read moreHow to Remove the Website Field of WordPress From the Comment Form?
<?php global $wp_query; $cat_obj = $wp_query->get_queried_object(); // Get the ID of a given category $category_id = get_cat_ID( ‘Category Name’ ); // Get the URL of this category $category_link = get_category_link( $category_id ); ?> <!– Print a link to this category… Read moreGet WordPress Current Category URL and Link
Q:I want to mass delete my trash with 2000+ Posts in it. Is there a mysql command to do so? A: Please backup before running the query, i’ll not take responsibility if something goes wrong as a result.. DELETE p… Read moreMass Delete trash post from WordPress
Here is the perfect steps to change wordpress post author: 1) Login into wordpress admin area. 2) Click on Edit in the Posts section. 3) Select the posts for which you need to edit the author details. 4) From the… Read moreHow to change wordpress post author?
Now more and more adsense accounts are banned due to useless trafice, especially non-English speaking countries trafic, we can add the following code to test our visiters Computer language: $_SERVER[‘HTTP_ACCEPT_LANGUAGE’] <?php $a = $_SERVER[‘HTTP_ACCEPT_LANGUAGE’]; echo $a; ?> We can get… Read moreOnly show for en Language
Sometimes we want to change hostgator mysql database user password, or we have to change when we forgot the password. How to do? Very simple infact, first delete the user name of the mysql and remake it, but make sure… Read moreChange Hostgator MySQL Password
Pending links, Spam links, or Trash links with a WordPress powered blog can grow really quickly and most is spam. Word Press allows you to remove such comments but only 20 at a time. What if you have thousands pending… Read moreMass Delete Comments from WordPress
I am using XAMPP, and wordpress 3.0.4, today when I want to show all post, the following error message shows: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in D:\xampp\htdocs\wp\specsexpert\wp-includes\taxonomy.php on line 1518