TAILIEUCHUNG - Hướng dẫn tạo themes cho wordpress part 16

Giới thiệu Họ nói rằng một bức tranh trị giá một ngàn chữ. Nếu đó là trường hợp, sau đó âm thanh phải được trị giá một triệu USD, và video trị giá một tỷ đồng. May mắn thay, WordPress cung cấp cho người dùng với công cụ tuyệt vời cho phép bạn nhanh chóng và dễ dàng đính kèm các loại phương tiện truyền thông trực tiếp vào bài viết và, nếu muốn, hiển thị phương tiện truyền thông một cách đặc biệt trực tiếp trong bài viết | 8 Integrating Media In this chapter we will cover Aligning images properly within a post Styling image galleries Styling image captions Creating a media template Creating a media template for a specific media type Displaying a related image for every post Creating video posts by using the Viper s Video Quicktags plug-in Introduction They say a picture is worth a thousand words. If that is the case then audio must be worth a million and video worth a billion. Luckily WordPress provides users with great tools that allow you to quickly and easily attach different types of media directly to posts and if desired display that media in special ways directly in posts. In this chapter we re going to go over the different ways in which you can use media such as images music and video files in your theme. We ll look both at how to correctly display images for users based on WordPress conventions and how to dig deeper and manipulate the display of media without user input. You should know that if you are using the default Kubrick theme that it is not designed well for the display of videos or images within posts. We will be using the WordPress Classic theme which is available with all new Wordpress downloads from http download for styling and displaying media in this chapter but you can use any WordPress or compatible theme that you like or apply these recipes to your own custom theme. Integrating Media Aligning images properly within a post One of the most important things for your theme to get right when it comes to displaying media is also one of the easiest. WordPress uses a certain set of markup to decorate images displayed in posts and this markup includes instructions on how to align the images within a post. The class declarations shown below cover cases where images are inserted into a post by using the WordPress tools. This is very important to theme users and forgetting to properly account for aligning images will give a very poor impression of

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.