Closed. This question is off-topic. It is not currently accepting answers.admin管理员组文章数量:1122846
Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 3 months ago.
Improve this questionI have a website with an Astra child theme.
Astra is generating a search form in my header. The form is generated 4x by Astra, and as the method="get".
I don't use this form, and there is nothing in the header custom that ask it to be generated...
I am not able to figure out how to stop astra_get_search_form to generate on the header, in a PHP way.
I was able to remove from html, using jquery:
/* REMOVE form get */
$(".ast-search-box.header-cover").remove();
But I would prefer to remove using php, directly at the source. Here is the function for the astra_get_search_form: /
Thanks in advance for your help.
-- Edit -- I found this article that give how to remove the whole header.
- /
- /
But still could not apply it for this search element...
本文标签: phpDisable astragetsearchform from generating in header
版权声明:本文标题:php - Disable astra_get_search_form from generating in header 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736285776a1927529.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论