Archive for the 'PHP' Category

Page 2 of 2

How to display random header images in K2 theme of WordPress

Maybe you already knew, but I just found out from my own experience. This afternoon, I tried to update the header image for this blog. I went into the back-end Dashboard, then click Presentation –>Custom Image Header. There I uploaded a new image, and got the confirmation message. But when I came to my live site, I still saw the old header image. No matter how many time I refreshed the screen, and I also purged the browser cache too. When I thought it was the bug of my K2 plugin/theme, I uploaded another new image but amazingly I saw the second image appeared when I refreshed the screen (I was supposed to see the third one)!

Continue reading ‘How to display random header images in K2 theme of WordPress’

Related posts

How to install wp-catch plugin in WordPress MU mu-plugins folder

I downloaded the wp-catch plugin from WordPress Extend page and need to install on my WordPress MU blog sites. I can put it in the wp-content/plugins folder but I just did not want to active it in all of my blog sites.

Continue reading ‘How to install wp-catch plugin in WordPress MU mu-plugins folder’

Related posts

Download Simplified Chinese Language Pack for WordPress MU 1.3

WordPress MuHere you can only download Chinese Language Pack for the multiple-user version of WordPress 1.3, if you would like to get the latest language pack for single user of WordPress MU, please Click here

Chinese Localization files for WordPress MU 1.3

(1783 Strings, last updated on 2007-11-03 11:00 am)

zh_CN.mo
zh_CN.po

Continue reading ‘Download Simplified Chinese Language Pack for WordPress MU 1.3′

Related posts

How to enable or use Javascript and Flash embed in WordPress MU

WordPress Mu
Whenever I enter Javascript tags like <script>...</script> in the WordPress MU posts, they will disappear. The same thing is with the <object>..</object> and other HTML tags. I understand they got stripped by some filter codes due to the consideration of web security. But I need such tags badly since I have a lot of YouTube videos need to be embedded which come with <object> tags, and some Javascript tags too (like the countdown image from Ubuntu in my previous post).

What are the solutions? I could not find any official solutions from the support forum of WordPress MU website. Someone recommends to put the Javascript text in sidebar, or download some plugins to do so. Since I need to show videos in my posts, the widget sidebar one can not be good to me. I decide to change filter code file which was not my best choice though. Continue reading ‘How to enable or use Javascript and Flash embed in WordPress MU’

Related posts

Can not import from blogger

Error Message:

We were not able to gain access to your account. Try starting over.

Resolution:

in the import php file, change the line 87 from www2.blogger.com to www.blogger.com

Related posts

Share the experience of setting up WordPress MU

WordPressAs my previous post indicated, I installed WordPress MU 1.2.5 to replace my 3 individual weblogs powered by WordPress 2.2.1. Although the wordpress-mu is based all core features from wordpress, I still had some technical difficulties to get all things right as I wanted from the beginning. Finally I figured some issues out and am sharing here to hope they will be helpful for you too.

Upper Cases user name caused problems for WP-MU 1.2.5.

After the default blog installed, I registered another user name like “WebGuru” since I used it for all my old blogs. But when I tried to log into the blog with this username above and the password I received after the activation, I got an Incorrect User Name or Password error message. Continue reading ‘Share the experience of setting up WordPress MU’

Related posts

Open Source shopping cart Zen-Cart

I used a very good shopping cart before for my own website. This time I have to set up a shopping cart application very quickly for one of my clients. He needs shopping cart component and paypal payment component only. I could not hesitate a second to recommend Zen-cart.

I went to SourceForge.net and downloaded zen-cart 1.3.02, and found that I love it again. Its core code is in PHP/My SQL, very easy to set up and make it up and running. Best of all, it is free with all features I need.

The next step is to tweak it with the customized template. I will let you know soon.

Related posts



Get Adobe Flash playerPlugin by wpburn.com wordpress themes