How do use the ‘hide_list_head’ shortcode attribute

5.41K viewsGeneral
0

Hi – can someone please tell me the correct way to use the ‘hide_list_head’ attribute with the [anspress] short code (https://anspress.io/anspress-shortcode/)? I’m trying to hide the search bar above the question list and can’t seem to get this to work.

Thanks

Update – I got how to hide the entire head, but is it possible to hide just the search bar and keep the soft drop downs? Thanks.

Hey Alan,
Do you want CSS or PHP solution?

CSS would be ideal. Thank you

Alternatively, there is a way just to place the sort bar (order, category, tag) somewhere else on the page with a snippet of code? Thanks

Passing hide_list_head=”true” does not work? Is they any argument other argument you are passing?

Thanks Rahul. That works but it hides everything. I want to hide just the search bar and Ask a Question button. Basically I want to be able to keep only the Sort By, Category, and Labels filters like you have at anspress.io/support (I have also moved the search bar so it’s permanent across all anspress pages).

0

Posting as an answer so I can add an image. The goal is to get the sort bar in this image to the far left of the page.

You are viewing 1 out of 2 answers, click here to view all answers.