* Category for Wordpress *

15
Mar
2008

iSerenity Theme

Hello everyone!

This is my first wordpress theme to share with you! I give it a name “iSerenity”. There is no DEMO for it, because I am using it right now! So to see my blog, you will knows what does it looks like. Hope yoou will like it !

You can go here to see more details and download it : Themes 

I’m still working on it, to make it better and better ! So if you find some bugs, leave me a comment please!

14
Mar
2008

Normalement, pour installer un système de blog ou CMS, comme WordPress ou Joomla, il faut avoir un hebergement de web et les installer à distance. C’est souvent payé, mais c’est nécessaire pour la personne qui veut avoir un site personel.

Pour la peronne qui n’a pas de l’hebergement web, je vous conseille une logiciel - XAMMP. En utilisant cette logiciel, vous pouvez installer un sytème de blog ou CMS dans votre l’ordinateur locale.

XAMPP est un kit d’installation d’Apache qui contient MySQL, PHP et Perl. XAMPP est réellement très facile à installer et à utiliser - vous n’avez qu’à le télécharger, le décompresser et le démarrer. Selon votre système d’exploitation dans l’ordonateur, choisissez une version dans les liens suivants:

        XAMPP POUR WINDOWS
        XAMPP POUR MACOSX
        XAMPP POUR LINUX

Au dessus, ce sont des liens de son site officiel, il y a des détailles pour l’installation.
Read the rest of this entry »

12
Jan
2008

我因为人在法国,所以写日志时常要用3种语言交替:
中文是为了和大家共享一下我在法国的留学生活啦,还有就是以我的外文水平写不出来的东西…
英文是为了写博客赚钱啦,顺便能提高一下英语水平,学金融这是必备工具啊;
法文啊,这是我在这边的生活工具嘛…
好了,废话不多说,以下的code是我刚刚学来的,还没有深入研究:
进入你wordpress管理界面,然后进入主题编辑器,打开主页面模板,在
<?php if (have_posts()) :?>

<?php while (have_posts()) : the_post();:?>
之间插入如下代码:

<?php if ($_SERVER["HTTP_ACCEPT_LANGUAGE"]=”zh-cn”) :?> –识别浏览器的语言是否为 zh-cn
<?php else :?>
<?php if (is_home()) {query_posts(’category_name=en’);}?> –若不是 zh-cn, 在首页只显示” en “种类的日志
<?php endif ;?>

如果你不知道其他语言的代码是什么,进入IEinternet选项,在常规标签的最下方有一个语言按钮,单击它会打开一个新的小窗口,让你进行语言首选项的设置,你会看到有一个添加(A)…的按钮,点击它就能在新打开的小窗口中看到所有语言以及其代码。

希望这些能帮到你!!

03
Jan
2008

Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory

Many people want WordPress to power their site’s root (e.g. http://example.com) but they don’t want all of the WordPress files cluttering up their root directory. WordPress allows you to install the WordPress files to a subdirectory, but have your blog exist in the site root.The process to move WordPress into its own directory is as follows:

  1. Create the new location for the core WordPress files to be stored (we will use /wordpress in our examples).
  2. Go to the Options panel.
  3. In the box for WordPress address (URL): change the address to the new location of your main WordPress core files. Example: http://example.com/wordpress
  4. In the box for Blog address (URL): change the address to the root directory’s URL. Example: http://example.com
  5. Click Update Options.
  6. Move your WordPress core files to the new location (WordPress address).
  7. Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).
  8. Open your root directory’s index.php file in a text editor
  9. Change the following and save the file. Change the line that says:
    require(’./wp-blog-header.php’);
    to the following, using your directory name for the WordPress core files:
    require(’./wordpress/wp-blog-header.php’);
  10. Login to the new location. It might now be http://example.com/wordpress/wp-admin/
  11. If you have set up Permalinks, go to the Permalinks panel and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions. If WordPress can’t write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)

Retrieved from:http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory