tailieunhanh - Hướng dẫn tạo themes cho wordpress part 25

Thêm một bỏ qua liên kết chuyển hướng cho khả năng sử dụng Căn giữa bố trí trang web của bạn trong cửa sổ trình duyệt Thiết lập một hình ảnh tiêu đề ngẫu nhiên thành phần quay Làm chủ đề kéo-và-thả Tạo một thanh công cụ toàn cầu cho chủ đề của bạn Tạo chuyển hướng theo thẻ cho chủ đề của bạn | 12 Layout In this chapter we will cover Adding a skip navigation link for usability Centering your site s layout in the browser window Setting up a randomly-rotating header image Making theme components drag-and-drop Creating a global toolbar for your theme Creating tabbed navigation for your theme Introduction The basis of any good WordPress theme is a solid layout. The layout that you choose will be used throughout the site. So picking one suitable for your particular purposes is important. It is also important to recognize the standard conventions of a blog layout. You want to make sure that visitors know how to navigate your site and can recognize where different elements such as search forms and main content should be. Following long-standing conventions regarding blog design makes this a snap. Adding a skip navigation link for usability In general most blog themes have four main sections Header with site title and logo Navigation links and other navigation aids such as search forms Main content the main focus of the page Site footer containing extra site information Layout If a sighted user navigates to a page they ll often be able to immediately locate and start consuming the content. They can click on links scroll though articles and find the information that they want quickly and easily. However for non-sighted users or other users who make use of browsing aids such as screen readers a large navigation section with scores of links can have a highly detrimental effect. These users can t get to your content and read about your services products or opinions. To solve this problem you ll rely on a simple technique that has been around for quite a while the skip navigation link. Getting started You should have created the basic structure of your WordPress theme before starting this recipe. You need to have the basic skeleton of your site implemented in HTML so that you know where your main content lives and can effectively link to it. How to do it. There are .