Archive

Posts Tagged ‘WordPress’

WordPress configuration file: wp-config.php

November 23rd, 2008 admin No comments

After WordPress installation, please modify the wp-config.php in the root directory of WordPress, the original part is like:

// Change each KEY to a different unique phrase.  You won’t have to remember the phrases later,
// so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/
// to get keys generated for you, or just make something up.  Each key should have a different phrase.
define(‘AUTH_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’); // Change this to a unique phrase.

According to the notes, visit http://api.wordpress.org/secret-key/1.1/

Get your unique key, maybe it looks like

define(‘AUTH_KEY’, ‘jbT[&w<@&0xCg3LC7Sy4OF-4F=Lr7}AO`B\’taCDYA1bXNG@Q_4^Fr[~)uX4′);
define(‘SECURE_AUTH_KEY’, ‘$n[\”P11E\’mxhSyNoPyS\”>SA|VRQ4dUOY;y;#NM*aN-xIv{.G+Sryw;AnGg|evUc~’);
define(‘LOGGED_IN_KEY’, ‘`f-1jets5W*Ou)XT+uD\’`#RFdTgk4GCK$U^Qp\”-_jPr p{Xy/O~ |0)3o9BLQoQ0′);

it’s very cool! Can you make so complicated string?

Then, modify your new wp-config.php with those string, upload it by ftp.

When you manage your WordPress site, you need login again because of those modification.

WordPress “wp_page”, provide page function in a post

November 21st, 2008 admin No comments

1. Open WordPress PHP source code: wp-includes\js\tinymce\tiny_mce_config.php, and make a backup.

2. Find string      ‘, ‘wp_more’

3. Add string after  ‘, ‘wp_more’

your source code should like this,

$mce_buttons = apply_filters(‘mce_buttons’, array(‘bold’, ‘italic’, ‘strikethrough’, ‘|’, ‘bullist’, ‘numlist’, ‘blockquote’, ‘|’, ‘justifyleft’, ‘justifycenter’, ‘justifyright’, ‘|’, ‘link’, ‘unlink’, ‘wp_more’, ‘wp_page’, ‘|’, ‘spellchecker’, ‘fullscreen’, ‘wp_adv’ ));

The red part is what you should add.

4. Upload modified PHP file wp-includes\js\tinymce\tiny_mce_config.php

5. Clear web browser cache, refresh your browser

6. When you write or manager your post, you will find new button looks like “more…” fuction, and also after it. when you move mouse over it, it will show “Insert Page Break(Alt+Shift+P)”

Set Up Your FeedBurner Feed

November 21st, 2008 admin No comments

1. visit http://www.feedburner.com

–> http://www.feedburner.com/fb/a/blogs

–> http://www.google.com/….topic.py?topic=13055

2. choose blog program you used, I’m using WordPress on VHost.

http://www.google.com/…./topic.py?topic=13251

3.  Download FeedBurner Plugin

http://www.google.com/….&topic=13252

4. ftp upload FeedBurner_FeedSmith_Plugin.php to your wp-content\plugins\ directory

Read more…

Categories: Plugins Tags: , ,