Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #188399

    Thanks to your tuts and video, I’ve successfully add an new custom post type. Eveything work…Everything but one point : the meta.php file in the child theme I use, is not taken in account : I must add it int he parent theme.
    How can I overide the meta.php (in functions.php) with my modified file in the child theme ?

    Thanks !


    Hey Ikyo!

    You would need to include the file through your childs functions. See: (Purchase code hidden if logged out)(Purchase code hidden if logged out) /

    By default child themes only automatically include items in the root of the folder.



    Thanks Devin
    It should be include, but it’s not :)
    I’ve got to overide the config-templatebuilder/avia-template-builder/config/meta.php file

    Thanks to your advice, I’ve add an include to my functions.php’ child theme, but I encounter a error :
    Fatal error: Class 'AviaHelper' not found in /homepages/23/d485016194/htdocs/wp-content/themes/FFF-Child/config-templatebuilder/avia-template-builder/config/meta.php on line 195

    line 195 is
    "subtype" => AviaHelper::get_registered_sidebars(array('Default Sidebars' => ""), array('Displayed Everywhere'))
    So the avia helper is not found. I’ve copy in the structure of my child theme config-templatebuilder/avia-template-builder/php/generic-helper.class.php
    But he error is the same :(

    Thanks for your kindful help


    If its only the single line in the file I would suggest just editing the parent. Then keep a change log for your records so you can re-update it when needed.


    Ok devin
    I wanted to be clean and not to touch the parent child…But I’m afraid this is the only solution

    Great Thanks for your help and the quality of the support
    Many other would have told me : “it’s beyond our scope”

    This deserve a 5 stars *****

    • This reply was modified 4 years ago by  Ikyo.
Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘file meta.php’ is closed to new replies.