• Resolved isa64

    (@isa64)


    I love your theme and I use it in a child theme.

    Since the last version, you changed things in functions.php
    I added two widget areas (header and footer) with my child theme.
    It causes a fatal error because this line is no more in your functions.php
    if ( ! function_exists( 'smartline_register_sidebars' ) ):
    on line 305
    Could you reintroduce it please ?

    Thanks

Viewing 1 replies (of 1 total)
  • Theme Author ThemeZee

    (@themezee)

    Hi there,

    Thanks for using Smartline.

    You can simply rename your function in the child theme and register your custom widget areas with it.

    We have removed the function_exists wrapper because it makes only sense to make function pluggable for template functions, not for functionality functions which use action hooks.

    Best,
    Thomas

Viewing 1 replies (of 1 total)
  • The topic ‘Bug adding widget areas since 1.2.6’ is closed to new replies.