Support » Theme: Twenty Twenty » Changing Template Tags

  • Resolved Sukanta Das

    (@sdforever)


    I cannot update the file /inc/template-tags.php from child theme.

    Is it possible to redefine functions used in /inc/template-tags.php using my child-theme’s functions.php file.

    Please help me how to do this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • No, you can’t supply a different version of that file in the child theme. Most of those functions have filters. If there is one that doesn’t, you might have to change the template_part that calls it to call a new function.

    Thread Starter Sukanta Das

    (@sdforever)

    Issue Solved. Thanks

    @sdforever what steps did you take the solve your issue?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing Template Tags’ is closed to new replies.