How to reset Joomla 17 admin password?

If you cannot log into Joomla 1.7 Administration Panel, you can use your admin email to reset the password; if you forget your admin email also, you have to reset your admin password via phpmyadmin.

If you do not know your mysql user name and password, no problem, login your web hosting via ftp software, open configuration.php which is just under the root, $mosConfig_userĀ and $mosConfig_password will be the user name and password. Continue reading How to reset Joomla 17 admin password?

How to displaying a posts current category and parent category?

We found that wordpress default templete or classic template does not show a post category’s parent category if the post category has its parent category. As we know a website inner link is also very important for human being reading or for seo purpose. The fucntion of “the_category” only a post category, not show the category’s parent category. Continue reading How to displaying a posts current category and parent category?

How to colone x-cart local shop to your domain shop?

We oftern test x-cart at our local server. After everything is OK, we always want to colone our local x-cart shop to our remote web host. Here are some tips on how to to:

Go to your x-cart shop root directory, and open config.php, exchange your mysql database connect information, including $sql_host = ‘localhost’; $sql_db = ‘your database’; $sql_user = ‘database user name’;$sql_password = ‘database user password’; Continue reading How to colone x-cart local shop to your domain shop?

How to show category description?

Do you find wordpress will now show category descriptions if you use default themes? Here is the method:

Add:
<?php
if(is_category()){
?>
<div><?php echo category_description( $category ); ?></div>
<?php }
?>
at the end of header.php or footer.php
If you use other themes, and you still can not find the categories description, the you can add the code: Continue reading How to show category description?

How to add extra text at wordpress homepage?

Sometimes we need to add some very important test at homepage for SEO purpose, say I am running an eyeglasses blog, and I need to add a short description at the beginning of homepage so that google can know the main point. How to do?

<?php if (is_home()): ?>
<div>
Do you like discount eyeglasses? Do you want to know how to buy cheap glasses online?
</div>
<?php endif; ?>

The the text within <div> </div> with show properly, why not have a try now!

How to Remove link rel=”EditURI” and link rel=”wlwmanifest” of WordPress

The code of rel=”EditURI” and rel=”wlwmanifest” is only forĀ  Windows Live Writer to offer the posts for your wordpress blog, if you do not need them, you can del them as follows:

Method 1:
1.Login to your WordPress admin panel
2.Navigate to Appearance > Editor
3.Click Theme Functions (functions.php) from the Theme Files section
4.Add the following code to the end of the file. Just before the closing <?php } ?> or ?> tags:
add_action(‘init’, ‘remheadlink’); Continue reading How to Remove link rel=”EditURI” and link rel=”wlwmanifest” of WordPress

Oopes! You forgot to selecta category

After I have set Default Post Category of wordpress 3.0.1 correctly, I found I can not post posts successfully, the wordpress show: Oopes! You forgot to selecta category!

How come, I am sure I have set Default Post Category already! I googled for half an hour, still can not find an answer. So I try to disable the plugins one by one, at last I can post posts after I disable the plublin “Article Directory 1.6.1 by Dimox”.