站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Plugins Plugin Editor SubPanel
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
==Manage → Files== There are many user editable files in a standard WordPress installation. Examples include your theme templates, .htaccess, and my-hacks.php. In this Files SubPanel, these files can be accessed and modified to suit your needs. Back to [[WordPress:Administration Panels]]. ==Built-in File Editor== The Built-in File Editor allows you to view any file, and edit any file which is writeable (see [[WordPress:Changing File Permissions]]). At the bottom of the SubPanel is a box called "'''Other Files'''". By entering any file name in the text box here and clicking the "'''Edit file'''" button, the Built-in Editor can be used to view/edit that file. The large text box displays the contents of the selected file and allows you to modify those contents. After editing a file's contents in the large text box, click the "'''Update File'''" button to save your changes. Additionally, the editor provides you with some handy links: ;Recent: The five most recent files you have viewed with the Built-in File Editor. ;Common: A list of files that are common to your entire blog, no matter the [[WordPress:Using Themes|Theme]] you're using. Files include: [[WordPress:Glossary#.htaccess|.htaccess]] (see also [[WordPress:Introduction to Blogging#Notes on .htaccess files|this section]] of [[WordPress:Introduction to Blogging]], the Main Template for your blog (your blog's base index.php which is, by default, nearly empty), and [[WordPress:Miscellaneous Options SubPanel#my-hacks.php|my-hacks.php]]. This list will also include any legacy theme files from your base directory if you have any. Some Caveats about the Built-in Editor: *To edit a file, the permissions for that file must be set to 666. Use your FTP program to CHMOD 666 any files you wish to edit using the WordPress template editor. *Changes you make are instant, and you do not need an ftp program after initially uploading the files and setting permissions. *'''There is no backup''': a mis-edit may cost you necessary information. *Making a mistake when editing your .htaccess file can take down your site, and with it the WordPress editor. Make sure you have ftp access when editing .htaccess (your rewrite rules) so you can delete the bad file if necessary. ==Editing in General== Take note of these file editing tips. They really are useful. Really. ===Good Practice=== Follow these simple suggestions. They are ''time savers''. ;Using the [[WordPress:#Built-in File Editor|Built-in WordPress editor]]: :*After you have selected the Template tag and the file you wish to edit, then before making any changes at all, right-click in the text box, choose 'Select All' then choose 'Copy'. Paste the highlighted text into a new text document on your computer then SAVE. '''That is your backup'''. ;Using some [[WordPress:#Editors|other editor]]: :*Use your ftp program to download the file you wish to work on. :*If you will be making significant changes, then once the file is downloaded, '''COPY it, and work on the copy'''. That way, if you make any mistakes, you can easily go back to a working file. :*Upload the file back to your server. :*Alternately, you can copy and paste from the WP editor into your editor instead of downloading. This gives you the best of both worlds, but '''remember to make a backup'''. ===Editors=== A list of editors people have used. Please note under what category they fall <tt>:)</tt> ====The Good==== Recommended editors are: *[http://www.pspad.com PSPad] (Windows - Freeware) *[http://www.barebones.com/index.shtml BBEdit] (Mac - $) *[http://www.crimsoneditor.com/ Crimson Editor] (Windows - Freeware) *Good old Windows Notepad *Whatever editor you use in linux or unix. No editor war here, please <tt>:)</tt> ====The Bad==== Do NOT use these for editing your WordPress files at all. Ever. Really, don't: *Microsoft Word *ANY word-processor ====The Ugly==== Use these only if you are ''very'' familiar with them: *DreamWeaver - it's best to copy from the WP editor, replacing what DreamWeaver puts in new files by default. *FrontPage - watch out for extra code inserted by FrontPage, and don't try to use its built-in templates. Back to [[WordPress:Administration Panels]].
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)