Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22275

    Hello,

    I created a child theme of abundance where I put some customization.

    I would like to redefine the avia_title method. Unfortunatelly, this method is not wrapped with

    if(!function_exists('avia_title'))

    so I have this php error :

    [21-Apr-2013 10:38:43 UTC] PHP Fatal error:  Cannot redeclare avia_title() in /Users/anthony/Programme/lovelycarte2/wp-content/themes/abundance/functions.php on line 162

    How can I solve the problem without modifying the existing function ?

    Thank you.

    #115168

    Hi!

    Unfortunately there’s no solution for this problem at the moment. We’ll include the function_exists() check in the next update but for now you need to add it manually to functions.php.

    Regards,

    Peter

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

The topic ‘Redefine avia_title in the abundance theme’ is closed to new replies.