Nginx allows Wordpress to support pseudo-static rules with fixed links
To make nginx support for WordPress fixed links very simple, you need to add Point configuration by yourselfCode:
Copy codeThe Code is as follows: Location /{
If (-F $ request_filename/index.html ){
Rewrite (. *) $1/index.html break;
}
If (-F
Dark ModeUse View - Dark Mode or shortcut keys to CMD + Option + L turn Dark Mode on or off. You can set the style used by the editor in the Dark mode state in settings, such as.Full Text SearchThe document library mode searches all documents in the document library, and the external mode only searches for documents under the currently selected folder. Added Focus Search Field (cmd + SHIFT + F) and focus Editor (cmd + SHIFT + E) Two shortcut keys for easy use of the full keyboard.Publish Service
How to get WordPress support to upload more file typesThis can be written in functions.php:
123456789
add_filter(‘upload_mimes‘,‘wpdit_filter_mime_types‘);functionwpdit_filter_mime_types($mimes){$mimes[‘ttf‘]=‘font/ttf‘;$mimes[‘woff‘]=‘font/woff‘;$mimes[‘svg‘]=‘font/svg‘;$mimes[‘eot‘]=‘font/eot‘;return$mimes;}
How to get WordPress
Last week, I made a ghost website.Http://www.iyinhun.comFans of hot-blooded animations who like sputation can look at it.I want to develop an automatic maintenance program (which is actually the meaning of the Collector)The following is the code for php to send articles to such websites (php will post offline code to wordpress, blogbus, cnblogs, and other websites that support xmlrpc)You can change the cate
When we use tags in wordpress to truncate an article, the content of the previous article is displayed on the homepage, category, tag, and archive pages, and in the Post) and Page, the label is ignored and the full text is displayed. EN "" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
Enable Post and Page support for WordPress
Last week made a silver Soul website
Http://www.iyinhun.com
Fans of the hot-blooded animation who like to spit groove can see.
Because a person to do, more difficult, I would like to do an automatic maintenance program (actually is the meaning of the collector)
The following is the code for PHP to send articles to such websites (PHP to Wordpress,blogbus,cnblogs and other support XMLRPC website offline post
If your site is http://ningyuqiao.blog.51cto.com/site is built with Wordpres, you only need to add in the Nginx configuration file:location/{if (-f $request _filename/index.html) { rewrite ( . *) $1/index.htmlbreak;}if (-f $request _ filename/index.php) { rewrite (. *) $1/index.php;}if (!-f$ Request_filename) { rewrite (. *) /index.php;} } If your site is http://ningyuqiao.blog.51cto.com/blog/ site is built with Wordpres, then the code needs to be changed to Location/blog {if (-F $request
Support menu navigation for themes in wordpress
1. the folder used by the topic is in the topic folder corresponding to wp-content/themes /.
The topic contains ----- functions. php (the functions used by the topic are mainly in this section). add the following code to this file:
Register_nav_menus (array ('header-menu '= >__ ('Navigation custom menu'),); /
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.