• We have to override learnpress templates file in our themes but override template files not working in the latest version (v4.0.1).
    Please help me.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi,

    You can use filter: add_filter( ‘learn-press/override-templates’, function(){ return true; } ); to function.php in your theme.

    Thanks

    That does not work

    I have this problem too.

    Why is this basic functionality so difficult? Why is the support so poor?

    What is the required folder structure for the child theme?!!

    /child-theme/learnpress/ (templates files) ??

    CJ

    Setting the above works, using my own theme:

    add_filter( 'learn-press/override-templates', function(){ 
      return true; 
    } );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Template file override issue’ is closed to new replies.