netdepviet Đăng vào 12-1-2016 22:25:35

Q2A tips: Hide top search box

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:
nav_user_search()Replace with
function nav_user_search() { }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


    <div class="qa-search">

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

    <input type="text" name="q" value="" class="qa-search-field">
    <input type="submit" value="Search" class="qa-search-button">
    </form>
    </div>




Trang: [1]
Xem phiên bản đầy đủ: Q2A tips: Hide top search box