Recent visitors
Japanese lessons from an awardwinning Site.
Installation Instruction
Folder: wp-pagenavi
Usage Instructions
<?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>
/wp-content/plugins/wp-pagenavi/pagenavi-css.css
の中の
<p align=”center”><?php posts_nav_link(‘ – ‘,’« Prev’,’Next »’) ?></p>
を
<div align=”center”><?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?></div>
に変更。
Comments Off on WP-PageNavi 2.30
I. WP-DBManagerで行う方法
1. DB Optionsで、
Path To mysqldump:/usr/bin/mysqldump
Path To mysql:/usr/bin/mysql
等に設定。
2 Backup DBで、設定が正しいか、確認してから、バックアップ.
Please create ‘backup-db’ folder in ‘wp-content’ folder and CHMOD it to ‘777’ or change the location of the backup folder under DB Option.
Backup folder is NOT writable. Please CHMOD it to ‘777’.
II.MYsqlから、エクスポートする。
データベースのテーブルは、全てUTF-8 binに設定。
Comments Off on WordPress のデータベースのバックアップ、リストア
わたしは、 archiveに
<p>Published under <?php the_category(‘,’) ?>. <?php if(function_exists(‘the_views’)) { the_views(); } ?> <?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?> | <?php post_updated(‘jS M Y’, 24, ‘Last modified: ‘, ”); ?> | <?php edit_post_link(Edit); ?> </p>
とした。
インストール等は、Post Updatedを参照。
Comments Off on WP plugin: Post Updated
WP-DBManager
http://wordpress.org/extend/plugins/wp-dbmanager/#post-340
データーベースをバックアップするPlugin
archive.phpの loopが始まる前に、
<?php query_posts($query_string . "&order=ASC"); ?>
を追加して、成功♪
Comments Off on 記事の順番を古いものから並べる方法
1. Download and unzip the WordPress package, if you haven’t already.
2. Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
3. Rename the wp-config-sample.php file to wp-config.php.
4. Open wp-config.php in your favorite text editor and fill in your database details.
5. Place the WordPress files in the desired location on your web server:
* If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (but excluding the directory itself) into the root directory of your web server.* If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), rename the directory wordpress to the name you’d like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress installation in a subdirectory called “blog”, you should rename the directory called “wordpress” to “blog” and upload it to the root directory of your web server.
Hint: If your FTP transfer is too slow read how to avoid FTPing at : Step 1: Download and Extract.
6. Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser.
* If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
* If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php
Comments Off on WordPress インストール方法 メモ