Archive for the 'WordPress' Category

Recent visitors

Published by under Notes,WordPress






Related Images:

 

No responses yet

WP-PageNavi 2.30

Published by under WordPress

Installation Instruction

  1. Open wp-content/plugins Folder
  2. Put:

    Folder: wp-pagenavi

  3. Activate WP-PageNavi Plugin
  4. Refer To Usage For Further Instructions

Usage Instructions

General Usage
  1. Open wp-content/themes/<YOUR THEME NAME>/footer.php
  2. Add Anywhere:

    <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>

  3. Go to ‘WP-Admin -> Settings -> PageNavi’ to configure WP-PageNavi.
  4. If you need to configure the CSS style of WP-PageNavi, open and edit:

    /wp-content/plugins/wp-pagenavi/pagenavi-css.css

Note
  • WP-PageNavi will load ‘pagenavi-css.css‘ from your theme’s directory if it exists.
    • If it doesn’t exists, it will just load the default ‘pagenavi-css.css’ that comes with WP-PageNavi.
    • This will allow you to upgrade WP-PageNavi without worrying about overwriting your page navigation styles that you have created.
Archives (archive.php)

の中の

<p align=”center”><?php posts_nav_link(‘ – ‘,’&#171; Prev’,’Next &#187;’) ?></p>

<div align=”center”><?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?></div>

に変更。

Related Images:

 

Comments Off on WP-PageNavi 2.30

WordPress のデータベースのバックアップ、リストア

Published by under WordPress

I. WP-DBManagerで行う方法

1. DB Optionsで、

Path To mysqldump:/usr/bin/mysqldump

Path To mysql:/usr/bin/mysql

等に設定。

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に設定。

Related Images:

 

Comments Off on WordPress のデータベースのバックアップ、リストア

Google XML Sitemaps

Published by under N. For Admin,WordPress

  1. Upload the full directory into your wp-content/plugins directory
  2. Use your favorite FTP program to create two files in your WordPress directory (that’s where the wp-config.php is) named sitemap.xml and sitemap.xml.gz and make them writable via CHMOD 666. More information about CHMOD and how to make files writable is available at the WordPress Codex and on stadtaus.com. Making your whole blog directory writable is NOT recommended anymore due to security reasons.
  3. Activate the plugin at the plugin administration page
  4. Open the plugin configuration page, which is located under Options -> XML-Sitemap and build the sitemap the first time. If you get a permission error, check the file permissions of the newly created files.
  5. The plugin will automatically update your sitemap of you publish a post, so theres nothing more to do 🙂
そして、
https://www.google.com/webmasters/tools/sitemaps?msg=1&siteUrl=http%3A%2F%2Fwww.shakespeare-w.com%2F&sitemapUrl=http%3A%2F%2Fwww.shakespeare-w.com%2Fjapanese_lessons%2Fsitemap.xml&hl=en
に追加

Related Images:

 

One response so far

WP plugin: Post Updated

Published by under WordPress

WP plugin: Post Updated

わたしは、 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を参照。

Related Images:

 

Comments Off on WP plugin: Post Updated

WP-DBManager

Published by under WordPress

WP-DBManager
http://wordpress.org/extend/plugins/wp-dbmanager/#post-340

データーベースをバックアップするPlugin

Related Images:

 

No responses yet

記事の順番を古いものから並べる方法

Published by under WordPress

archive.phpの loopが始まる前に、

<?php query_posts($query_string . "&order=ASC"); ?>

を追加して、成功♪

Related Images:

 

Comments Off on 記事の順番を古いものから並べる方法

WordPress インストール方法 メモ

Published by under WordPress

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

Related Images:

 

Comments Off on WordPress インストール方法 メモ