-
AuthorPosts
-
September 19, 2022 at 9:01 pm #1365605
Hi,
I updated Enfold version 4.7 to5. I added the child theme and imported all the previous theme options. But the website looks way different than the original site.
September 20, 2022 at 7:45 am #1365630Hey AHolm1957,
I’m only seeing a 404 error on the new site, do we need to login to see it maybe? If so, then please post admin WordPress login details in private.
Best regards,
RikardSeptember 20, 2022 at 8:02 am #1365638This reply has been marked as private.September 20, 2022 at 8:32 am #1365641Hi AHolm1957,
Thanks for giving us admin access.
I have switched staging21 to Enfold version 5 and it seems to work as it should, please check.Best regards,
NikkoSeptember 20, 2022 at 8:45 am #1365645This reply has been marked as private.September 20, 2022 at 11:27 am #1365662Hi AHolm1957,
I see, most of the stuff is fixed in staging21 however I could not find any reference for the header.
Can you create another staging site based on the original? so I could try to use it as a reference and fix the header.Best regards,
NikkoSeptember 21, 2022 at 6:43 pm #1365896This reply has been marked as private.September 22, 2022 at 3:00 pm #1365990This reply has been marked as private.September 25, 2022 at 10:55 pm #1366284Hi,
Thanks for the link to your site, I see that the “second logo” and “Owner info” is added by a custom function in your child theme functions.php:// Add options to the customize menu function register_theme_customizer( $wp_customize ) { $wp_customize->add_section('secondry_logo_section', array( 'title' => __('Secondry Logo', 'enfold'), 'description' => '', 'priority' => 30, )); $wp_customize->add_setting('secondry_logo', array( 'default' => '', 'capability' => 'edit_theme_options', 'type' => 'option', )); $wp_customize->add_control(new WP_Customize_Image_Control( $wp_customize, 'secondry_logo', array( 'label' => __('Secondry Logo', 'enfold'), 'section' => 'secondry_logo_section', 'settings' => 'secondry_logo', ))); $wp_customize->add_section('header_client_info', array( 'title' => __('Owner Info', 'enfold'), 'description' => '', 'priority' => 60, )); $wp_customize->add_setting('owner_info', array( 'default' => '', 'capability' => 'edit_theme_options', 'type' => 'option', )); $wp_customize->add_control('owner_info', array( 'label' => __('Owner Name', 'enfold'), 'section' => 'header_client_info', 'settings' => 'owner_info', )); $wp_customize->add_setting('owner_contact', array( 'default' => '', 'capability' => 'edit_theme_options', 'type' => 'option', )); $wp_customize->add_control('owner_contact', array( 'label' => __('Owner Contact Number', 'enfold'), 'section' => 'header_client_info', 'settings' => 'owner_contact', )); $wp_customize->add_section('banner_section', array( 'title' => __('Banner Section', 'enfold'), 'description' => '', 'priority' => 40, )); $wp_customize->add_setting('home_banner_image', array( 'default' => '', 'capability' => 'edit_theme_options', 'type' => 'option', )); $wp_customize->add_control(new WP_Customize_Image_Control( $wp_customize, 'home_banner_image', array( 'label' => __('Banner Image', 'enfold'), 'section' => 'banner_section', 'settings' => 'home_banner_image', ))); $wp_customize->add_setting('banenr_text', array( 'default' => '', 'capability' => 'edit_theme_options', 'type' => 'option', )); $wp_customize->add_control('banenr_text', array( 'label' => __('Banner Text', 'enfold'), 'section' => 'banner_section', 'settings' => 'banenr_text', )); } add_action( 'customize_register', 'register_theme_customizer' );
that addS to the WordPress customizer:
Your second logo image is there, but the html div is not added to the page source code.
Unfortunately I don’t have any experience with this kind of customization, I assume that it would need to hook into the Enfold header.php but I don’t know how.
I recommend asking the person that set this up for you to help you.Best regards,
MikeSeptember 27, 2022 at 1:40 pm #1366543This reply has been marked as private.September 27, 2022 at 6:51 pm #1366621Hi,
Correct, this is not an Enfold function, this was added by the code above, I tested it on my demo site and it adds the extra elements to the customizer, but there is some missing code to make it work, I assume in the header.php but I don’t know, perhaps it was added to a different file. If you find out what the missing code is please share as it would be interesting to see.Best regards,
MikeSeptember 28, 2022 at 7:04 am #1366663This reply has been marked as private.September 28, 2022 at 2:22 pm #1366720Hi,
I didn’t make any changes, I only investigated these two fields. From above I don’t see that Nikko made any changes, he wrote:
I have switched staging21 to Enfold version 5 and it seems to work as it should
perhaps the other things were cache related.
Perhaps our documentation for Adding a header widget area will help you recreate this area.Best regards,
MikeSeptember 28, 2022 at 3:50 pm #1366735This reply has been marked as private.September 28, 2022 at 5:09 pm #1366753Hi,
Sorry, we were not able to help more with this issue, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Enfold 5 update broke the theme’ is closed to new replies.