Home Forums WoodMart support forum child theme does not work after 3.0 update

child theme does not work after 3.0 update

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #80255

    mihaelabuh
    Participant

    i updated the theme if use parent the site works if i activate my child theme with my customizations it does not.
    What should i do?

    #80261

    mihaelabuh
    Participant

    i found that it was due to header.php file in child theme
    i have a searchform which i use in mobile layout in header.php. how can i use it now with header builder?

    #80262

    Artem Temos
    Keymaster

    Hi,

    You need to copy a new version of the header.php file and apply your customization from scratch since we have modified that file in our 3.0 update.

    Regards

    #80285

    mihaelabuh
    Participant

    i did what you said but <php get_product_search_form() ?> shows a search form for posts now..
    i used it before just well. What other setting should change for it to serach/display for products

    #80293

    Artem Temos
    Keymaster

    Where did you get that function to display the search form?

    #80295

    mihaelabuh
    Participant

    From woocommerce website from a post about product searchform.
    Should i use other code to display searchform?

    #80297

    Artem Temos
    Keymaster

    Try to change this file woodmart/woocommerce/product-searchform.php http://prntscr.com/l169r3

    woodmart_search_form( array(
        'ajax' => true,
        'post_type' => 'product'
    ) );
    #80332

    mihaelabuh
    Participant

    ywa, it works, but set ajax to false as not need it, i have a search plugin instant enabled.
    but now with the header builder on mobile menu although search bar in menu is enabled i don not have this

    #80335

    Artem Temos
    Keymaster

    Sorry, what do you mean?

    #80343

    mihaelabuh
    Participant

    found the problem, thnks

    #80375

    Artem Temos
    Keymaster

    Great, you are welcome.

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘child theme does not work after 3.0 update’ is closed to new replies.