Khanh Hoang - Kenn
Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.
Ý nghĩa:Tạo các view cho taxonomy.Có kiểu views như nhau nhưng mà chỉ khác taxonomy ID.Dùng trong panel
Cách thực hiện:
Tạo view theo kiểu Content pane,không phải block hay page.
Trong phần CONTEXTUAL FILTER chọn add :
-Content: Has taxonomy term ID (with depth) : Chọn Override title và điền là là %1
- Content: Has taxonomy term ID depth modifier :
Trong phần Panel settings chọn Edit trong Argument input:
-Content: Has taxonomy term ID (with depth) source chọn Input on panel config
Tại đây ta đã tạo xong views.Bây giờ là phần add nội dung vào panel
Vào phần Content trong panel.Chọn add content
Trong phần views pane cho chọn views mà ta vừa tạo.Có các tuỳ chọn tùy thuộc vào việc chọn trong phần Allow setting trong phần Panel settings.Mặc định có 2 tùy chọn sau:
Override title :Tích vào đây thì có thể ghi đề title mới thay vì là title mặc định.
Content: Has taxonomy term ID (with depth) : Đánh term ID cần hiện ra ví dụ là 1
Sau đó chọn update and save là xong.
Bình luận (0)
Add Comment