Nét Đẹp Việt Nam

 Quên mật khẩu
 Register
Xem: 1368|Trả lời: 0
In Chủ đề trước Tiếp theo

Q2A tips: Hide top search box

[Lấy địa chỉ]
Nhảy đến trang chỉ định
1#
How to remove top search box in question2answer
See demo : http://thuvienxanh.com
Open qa-theme/<your-theme>/qa-theme.php file and locate the function:
  1. nav_user_search()
Sao chép mã
Replace with
  1. function nav_user_search() { }
Sao chép mã
Bonus tips:
Display search box in the main top widget:
1. Install q2a-widget-anywhere
2. Add new widget : search box in main top
with the following content


  1.     <div class="qa-search">

  2.     <form method="GET" action="../search">

  3.     <input type="text" name="q" value="" class="qa-search-field">
  4.     <input type="submit" value="Search" class="qa-search-button">
  5.     </form>
  6.     </div>
Sao chép mã




Bạn phải đăng nhập mới được đăng bài Đăng nhập | Register

Quy tắc điểm

Phòng tối|iPhone|Archiver|G+|Youtube|Facebook|Twitter|Contact| Netdepviet.org

GMT+7, 19-4-2024 08:04 PM , Processed in 0.015620 second(s), 20 queries .

Powered by Discuz! X3.2

© 2006 Made with in Hanoi,Vietnam and Contents are published by all members

Trả lời nhanh Lên trên Trở lại danh sách