Skip to content

Commit

Permalink
fixing single course page
Browse files Browse the repository at this point in the history
  • Loading branch information
jstriedinger committed Mar 18, 2024
1 parent f47612a commit c2cd7bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function meks_which_template_is_loaded() {

}

//add_action( 'wp_footer', 'meks_which_template_is_loaded' );
// add_action( 'wp_footer', 'meks_which_template_is_loaded' );


// Write to error log
Expand Down
3 changes: 2 additions & 1 deletion single-sfwd-courses.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
if ( 'draft' == get_post_status() ) {
do_action( THEME_HOOK_PREFIX . '_single_template_part_content', get_post_type() );
} else {
the_content();
get_template_part( 'template-parts/content', 'sfwd' );
// the_content();
}

endwhile; // End of the loop.
Expand Down

0 comments on commit c2cd7bb

Please sign in to comment.