WordPress 中文文档

Reading Options SubPanel

From WordPress Chinese

Jump to: navigation, search

目录

Options → Reading

The options in the Reading Options SubPanel are few in number, but still important. You can decide if you want posts, or a "static" Page, displayed as your blog's front (main) page. You can also adjust how many posts are displayed on that main page. In addition, you can adjust syndication feed features to determine how the information from your site is sent to a reader's web browser or other applications.

Back to Administration Panels.

Reading Options

Front Page

Note: This section displays only if you have one or more Pages defined.

Front page displays
Setting this option determines if you wish your posts, or a "static" Page, displayed as your blog's front (main) page.
Note: static front page plugins and other 'posts display' control/restriction plugins may affect how these features work!
  • Your latest posts - your latest posts will be displayed on the blog's front page. Then number of posts displayed is controlled by the Show at most [x] posts setting.
  • A static page (select below) - select this option to cause a "static" Page to be displayed as your blog's front page. At the same time, choose the Page that will display your actual Posts. The Front page and Posts page cannot be the same value.
  • Front page - in the pull down box, select the actual Page that you want displayed as your front page. If you do not select a choice here, then effectively your blog will show your posts on both the blog's front page and on the Posts page you specify. If you would like to create a static home page template file, do not name it home.php, otherwise you will encounter problems when you try to view the "blog"/"posts" section of your site. To get around this, just name it anything else, example: myhome.php
  • Posts page - in the pull down box, select the name of the Page that will now contain your Posts. If you do not select an option here, then your Posts will only be accessible via other navigation features such as category, calendar, or archive links.

Blog Pages

Show at most [X] posts 
The number entered in the text box determines how many posts are displayed, per page, on your site.

Syndication Feeds

This section of the SubPanel specifies some Syndication options for your blog.

Show the most recent [X] posts
The number you enter in this text box is the number of posts people will see when they download one of your site's feeds.
For each article show 
Determines whether or not the feed will include the full article or just a summary.
  • full text - select this to include the full content of each post
  • summary - select this to include a summary of the post. This could save bandwidth.
Note: If you use the <--more--> feature, it will cut off posts in RSS feeds.
Encoding for pages and feeds
The character encoding you choose here limits the choice of languages in which you, the other authors, and your commenters can write. A safe choise is "utf-8" (see Unicode), as that encoding supports a wide variety of languages. If you wish to use some other character encoding (for example you have imported or will import articles written using a different character encoding) then you can specify that here. How you do that is as much a mystery to us as it is to you. You might try typing the name (UTF-16 frex) in the text field that now contains UTF-8, but it could royally screw things up. For a more in depth article on character encoding see Wikipedia:Character encoding.

Compression

WordPress should compress articles (gzip) if browsers ask for them
WordPress can do this only if the mod_gzip Apache server module is installed and this checkbox is checked. If a viewer's browser is capable of interpreting gzipped content, then a compressed (smaller) version of a file will be sent instead of the actual file. Depending on the size of the file, the compressed file can be as little as 20%-50% as large as the original file, which can translate to a significant savings in bandwidth. If you are curious about how to use this method on your server, please read more about the mod_gzip module.

Update Options

Click this button to ensure that any changes you have made to your Options get written back to your database. Once you click on the button, a confirmation text box will appear at the top of the page telling you that your settings have been updated.

Back to Administration Panels.

用户