diff --git a/includes/template-functions.php b/includes/template-functions.php index 9929f38..7df11b2 100644 --- a/includes/template-functions.php +++ b/includes/template-functions.php @@ -94,7 +94,7 @@ function filter_courses_date( $post_date ) { */ function courses_archive_description( $description ) { if ( is_tax( 'course_tag' ) || is_tax( 'learning_program' ) ) { - return str_replace( '
', '
', '
', $description ); } } add_filter( 'get_the_archive_description', __NAMESPACE__ . '\courses_archive_description', 10, 1 ); diff --git a/src/style.css b/src/style.css index a23b6cc..9d2aa3d 100644 --- a/src/style.css +++ b/src/style.css @@ -25,3 +25,8 @@ svg.svg-icon { .wsuwp_hrs_courses .course-meta .label { font-weight: 600; } + +.wsuwp-courses-archive .taxonomy-description { + padding-left: 2rem; + max-width: 45em; +}