Add Wordpress Category Description

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’); ?>
</strong>: <?php echo category_description(); ?></div> 

at proper place. Read the rest of this entry »

Install WordPress on IIS of dailyrazor.com

Edit web.config, the file is under the hosting of dailyrazor.com.  Add the following code to web.config:

<?xml version=”1.0″?>
<configuration>
<system.web>
<customErrors mode=”Off”/>
</system.web>
<system.webServer>
<httpErrors errorMode=”Detailed” />
<rewrite>
    <rules>
        <rule name=”Main Rule” stopProcessing=”true”>
            <match url=”.*” />
            <conditions logicalGrouping=”MatchAll”>
                <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
                <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
            </conditions>
            <action type=”Rewrite” url=”index.php” />
        </rule>
    </rules>
</rewrite>
</system.webServer>
</configuration>

Please note that max password length for database user is 12 characters. And FastCGI Extension for IIS 6.0 and IIS 5.1 should be installed also.

Posted in Other. No Comments »

How to use PHP to add text for Zen Cart?

I want to add some text at the footer of Zen Cart, how to do? In fact, it is very simple. Just modify some code as the following.

How to ask somebody else to write PHP articles?

We often need PHP related articles, if we do not have enough time, we can ask other PHPer for help. Here is an example on how to find good PHPer to write for you:

I am looking for someone to write me 10×500 word articles for the PHP Study niche (keywords to be given when we reach an agreement).

I will pay $20 for the 10 articles but please only contact me if:

1- You are a native english speaker or someone that can write near-perfect English. I want the articles to really make sense.

2- I want the articles to be relevant and not just some fluff to fill the 500 words. Make it informative and appealing.
3- All articles should have quality unique content, not just rewrite others articles. If you have PHP knowledge, you will have more chances to get the job.

Please send me a short sample of your work.

If you think you can write me the 10 articles the way I want them then please contact me asap. If we can cooperate well, I will need more PHP articles every month.

Posted in Other. No Comments »

Using PHP to Transfer Chinese Character Into Pinyin?

If you want to transfer Chinese Character into pinyin, you can creat a php file, say hanzi2pinyin.php, and copy the following PHP code: Read the rest of this entry »