WordPress:FAQ Forum Hot Topics
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).
这个页面的目的在于详细介绍WordPress 支持论坛上当前提出并且得到解答的问题。请添加,编辑或者删除任何合适(或者不合适)的问题/答案。
How to solve "Fatal error: Call to undefined function: wp_cache_flush()"[ ]
怎样解决 "致命: 调用不明确的函数: wp_cache_flush()"[ ]
See this Forum thread: http://wordpress.org/support/topic/64488
请看看这个论坛主题:http://wordpress.org/support/topic/64488
- Forum Pasteable answer
- 论坛可粘贴的答案
See this Forum thread: http://wordpress.org/support/topic/64488
请看看这个论坛主题: http://wordpress.org/support/topic/64488
===How do I turn off the WYSIWYG editor and get my Quicktags back?===
===我怎样关闭WYSIWYG编辑器重新得到我的Quicktags?===
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.
取消选中框,你可以关闭WYSIWYG编辑器,编写的时候,使用多功能编辑器,在你的基本资料子面板;管理 > 基本资料 > 你的基本资料。可以在面板的底部的左边找到这个复选框。
- 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.
- 论坛可粘贴的答案
取消选中框,你可以关闭WYSIWYG编辑器,<strong>编写的时候,使用多功能编辑器</strong>,在你的基本资料子面板;[[WordPress:Administration_Panels|管理]] > [[WordPress:Administration_Panels#Your_Profile|基本资料]] > [[WordPress:Your_Profile_SubPanel|你的基本资料]]。可以在面板的底部的左边找到这个复选框。
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.
通过给你的wp-config.php 文件添加一行代码,可以更改默认上传路径。
Just BEFORE the line that says require_once(ABSPATH.'wp-settings.php');
add this line:
define('UPLOADS', 'wp-content/myimages');
在显示为require_once(ABSPATH.'wp-settings.php');
的行之前,添加这一行:
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.
在上述的例子中,这会导致上传内容上传到了你的wp-content/myimages/2006/01
文件夹。注意,2006是当前的年份,01是当前的月份,在这里,是1月。如果不存在myimages目录,只要母文件夹wp-content
是可写的,就会创建目录。
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?"
不可写的母文件夹会导致类似这样的信息:
- "不能够创建目录
/sample.com/wordpress/wp-content/myimages
。服务器可以编写这个母文件夹吗?"
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
plugin alternative能够使得上传,如WordPress1.5.2通过Filosofo的旧式上传,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
也看看,更改文件权限以及相关的论坛主题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 /> *论坛可粘贴的答案 <nowiki>通过向你的<a href="http://codex.wordpress.org/Editing_wp-config.php">wp-config.php 文件添加一行代码,可以更改默认的上传路径</a>. <br /> 在显示为`require_once(ABSPATH.'wp-settings.php');`<br />的行之前,添加这一行:<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 /> 在上述的例子中,会导致上传内容放置到你的`wp-content/myimages/2006/01`文件夹。注意2006是当前年份,01是当前月份,在这里是一月。 <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 /> 如果不存在myimages目录,只要母文件夹`wp-content`是可写的,就可以创建这个目录。不可写的母文件夹会产生类似这样的信息:<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
"不能够创建目录`/sample.com/wordpress/wp-content/myimages`. 服务器可以编写母文件夹吗?"
A plugin alternative 能够上传,如WordPress 1.5.2 ,使用Filosofo的旧式上传方法: http://www.ilfilosofo.com/blog/old-style-upload
也看看, <a href="http://codex.wordpress.org/Changing_File_Permissions">更改文件权限</a> 和相关的论坛主题http://wordpress.org/support/topic/55954</nowiki>
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.
如果你运行Spam-Karma (http://unknowngenius.com/blog/wordpress/spam-karma/),请升级到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.
如果你没有运行Spam-Karma,那么删除你的wp-content/cache
目录。如果这样不能够解决问题,你应该使用phpMyAdmin减少,储存在你的wp_options
表格中db_version
记录的数目,然后再次运行upgrade.php
。
See also, a related Forum Thread http://wordpress.org/support/topic/53158#post-291151 and http://wordpress.org/support/topic/53509
也看看,相关的论坛主题http://wordpress.org/support/topic/53158#post-291151 和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. *论坛可粘贴的答案 <nowiki>如果你运行Spam-Karma (http://unknowngenius.com/blog/wordpress/spam-karma/), 升级到2.1版本。 如果你没有运行Spam-Karma, 那么删除你的<code>wp-content/cache</code>目录。如果不能够删除,你应该使用 [[WordPress:phpMyAdmin| phpMyAdmin]] 减少你的<code>wp_options</code>表格中储存的<code>db_version</code> 记录的数目,然后再次运行<code>upgrade.php</code> 。 See also, a related Forum Thread http://wordpress.org/support/topic/53158#post-291151 and http://wordpress.org/support/topic/53509
也看看,相关的论坛主题http://wordpress.org/support/topic/53158#post-291151 和http://wordpress.org/support/topic/53509</nowiki>
How do I stop my Flash and HTML tags from being stripped in my Posts?[ ]
我怎样阻止我的Flash 和 HTML标签从我的文章中删除?[ ]
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. 取消运行WYSIWYG编辑器或者点击HTML图标,在弹出的框中输入代码。
- 可粘贴的论坛答案
取消运行WYSIWYG编辑器或者点击HTML图标,在弹出的框中输入代码。
I don't like WordPress 2.0, how can I revert back to WordPress 1.5.2?[ ]
我不喜欢2.0,我怎样返回到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.
不建议你返回到1.5.2,但是你仍然可以返回。要重新地返回到1.5.2,在从1.5.2升级到2.0之前,你必须要有数据库和WordPress文件的备份。
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.
- 在你当前的数据库中,去除2.0表格
- 重建你的1.5.2数据库表格
- 删除所有的 WordPress 2.0文件
- 重建所有的 1.5.2 文件。
- 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. *论坛可粘贴的答案 <nowiki>不建议你返回到1.5.2,但是你可以返回。要成功地返回,在你从1.5.2升级到2.0之前,你必须备份了你的数据库和你的WordPress文件。 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>
- 从当前数据库中去除2.0表格
- 重建你的 1.5.2 数据库表格
- 删除所有的 WordPress 2.0 文件
- 重建所有的1.5.2文件。
</nowiki>