This topic has 4 replies, 2 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler
I am trying to insert an Advanced Woo Search search box into the header of my website.
I am using header type 6 so have therefore copied the parent header-type-6.php file and made a child version.
I have tried inserting the following code after line 28:
<?php echo do_shortcode( ‘[aws_search_form]’ ); ?>
But the search form does not appear, what am i doing wrong?
Regards,
Ellis
Hello,
You can edit header structure in header-structure file (/wp-content/themes/woopress/headers).
admin – file
1 – 1
2 – 1
3 – 1
4 – 1
5 – 1
6 – 2
7 – 2
8 – 3
9 – 1
10 – 4
11 – 4
12 – 4
13 – 5
14 – 5
15 – 1
16 – 1
17 – 6
18 – 2
I would recommend you to do all changes in template files via child theme – https://codex.wordpress.org/Child_Themes
Regards
Hello,
Sorry but I don’t understand. What are these numbers meant to mean?
I am using header type 6 so what php file do I need to edit to insert shortcode for an Advanced Woo Search search box?
Regards,
Ellis
Hello,
Thanks for the reply.
You need to edit header-structure-2.php file.
Regards
You must be logged in to reply to this topic.Log in/Sign up