WordPress:FAQ Forum Hot Topics

来自站长百科
Xxf3325讨论 | 贡献2008年9月17日 (三) 09:59的版本 (新页面: The purpose of this page is to detail the questions that are currently being asked and answered at the [http://wordpress.org/support/ WordPress Support Forums]. Please add, edit, or dele...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航、​ 搜索

The purpose of this page is to detail the questions that are currently being asked and answered at the WordPress Support Forums. Please add, edit, or delete, any questions/answers that are appropriate (or not).

How to solve "Fatal error: Call to undefined function: wp_cache_flush()"

See this Forum thread: http://wordpress.org/support/topic/64488

  • Forum Pasteable answer

See this Forum thread: http://wordpress.org/support/topic/64488


How do I turn off the WYSIWYG editor and get my Quicktags back?

You can turn off the WYSIWYG editor by unchecking the box, Use the visual rich editor when writing, in Your Profile panel; Administration > Profile > Your Profile. That check box can be found at the bottom left on that panel.

  • Forum Pasteable answer

You can turn off the WYSIWYG editor by unchecking the box, <strong>Use the visual rich editor when writing</strong>, in Your Profile panel; [[WordPress:Administration_Panels|Administration]] > [[WordPress:Administration_Panels#Your_Profile|Profile]] > [[WordPress:Your_Profile_SubPanel|Your Profile]]. That check box can be found at the bottom left on that panel.

How do I change the file upload path?

The default upload path can be changed by adding a line of code to your wp-config.php file.

Just BEFORE the line that says require_once(ABSPATH.'wp-settings.php'); add this line:

define('UPLOADS', 'wp-content/myimages');

In the example above, this will result in uploads being placed in your wp-content/myimages/2006/01 folder. Note that 2006 is the current year, and 01 is the current month, in this case January. If the myimages directory does not exist it will be created as long as the parent folder wp-content is writeable.

An unwriteable parent folder will cause a message similar to this:

"Unable to create directory /sample.com/wordpress/wp-content/myimages. Is its parent directory writable by the server?"

A plugin alternative to enable uploading like WordPress 1.5.2 is available with Filosofo's Old-style-uploads: http://www.ilfilosofo.com/blog/old-style-upload

See also, WordPress:Changing File Permissions and a related Forum Thread http://wordpress.org/support/topic/55954

  • Forum Pasteable answer

The default upload path can be changed by adding a line of code to your <a href="http://codex.wordpress.org/Editing_wp-config.php">wp-config.php file</a>. <br /> Just BEFORE the line that says `require_once(ABSPATH.'wp-settings.php');`<br /> add this line:<br /> `define('UPLOADS', 'wp-content/myimages');` <br /> In the example above, this will result in uploads being placed in your `wp-content/myimages/2006/01` folder. Note that 2006 is the current year, and 01 is the current month, in this case January. <br /> If the myimages directory does not exist it will be created as long as the parent folder `wp-content` is writeable. An unwriteable parent folder will cause a message similar to this:<br /> "Unable to create directory `/sample.com/wordpress/wp-content/myimages`. Is its parent directory writable by the server?" <br /> A plugin alternative to enable uploading like WordPress 1.5.2 is available with Filosofo's Old-style-uploads: http://www.ilfilosofo.com/blog/old-style-upload <br /> See also, <a href="http://codex.wordpress.org/Changing_File_Permissions">Changing File Permissions</a> and a related Forum Thread http://wordpress.org/support/topic/55954

Why is my comment count not increasing?

If you are running Spam-Karma (http://unknowngenius.com/blog/wordpress/spam-karma/), upgrade to version 2.1.

If you are NOT running Spam-Karma, then delete your wp-content/cache directory. If that doesn't work, you should use WordPress:phpMyAdmin to decrease, by one, the number stored in the db_version record of your wp_options table, and then run upgrade.php again.

See also, a related Forum Thread http://wordpress.org/support/topic/53158#post-291151 and http://wordpress.org/support/topic/53509

  • Forum Pasteable answer

If you are running Spam-Karma (http://unknowngenius.com/blog/wordpress/spam-karma/), upgrade to version 2.1. If you are NOT running Spam-Karma, then delete your <code>wp-content/cache</code> directory. If that doesn't work, you should use [[WordPress:phpMyAdmin]] to decrease, by one, the number stored in the <code>db_version</code> record of your <code>wp_options</code> table, and then run <code>upgrade.php</code> again. See also, a related Forum Thread http://wordpress.org/support/topic/53158#post-291151 and http://wordpress.org/support/topic/53509

How do I stop my Flash and HTML tags from being stripped in my Posts?

Disable the WYSIWYG editor or click the HTML icon and enter code in the popup box.

  • Forum Pasteable answer

Disable the WYSIWYG editor or click the HTML icon and enter code in the popup box.

I don't like WordPress 2.0, how can I revert back to WordPress 1.5.2?

It is not recommended to revert back to 1.5.2 but it can be done. To successfully revert you must have a backup of your database and a backup of your WordPress files before you upgraded from 1.5.2 to 2.0.

To revert you must:

  • Drop 2.0 tables from your existing database
  • Restore your 1.5.2 database tables
  • Delete all the WordPress 2.0 files
  • Restore all the 1.5.2 files.


  • Forum Pasteable answer

It is not recommended to revert back to 1.5.2 but it can be done. To successfully revert you must have a backup of your database and a backup of your WordPress files before you upgraded from 1.5.2 to 2.0. To revert you must: <ul><li> Drop 2.0 tables from your existing database </li><li> Restore your 1.5.2 database tables </li><li> Delete all the WordPress 2.0 files </li><li> Restore all the 1.5.2 files. </li></ul>


Back to FAQ