• I was trying to change some markup to this php file:
    theme-child/learnpress/templates/loop/single-course/loop-section-item.php

    1. Test adding this in first line of functions.php within theme-child:
    <?php require_once get_stylesheet_directory() . ‘/learnpress/templates/loop/single-course/loop-section-item.php’; ?>

    2. Test adding this in first line of functions.php within theme-child:
    add_filter( ‘learn-press/override-templates’, function(){
    return true;
    } );

    3. Test with both lines

    Nothing works, HELP ME PLEASE

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to override learnpress plugin themes on theme-child (I can’t do it)’ is closed to new replies.