Custom Layouts – 요약에 포스트 링크하기

add_filter('custom-layouts/element/render_output', function( $output, $element_type, $instance_data, $post, $template ){
       if( 'excerpt' == $element_type ){
              $link = get_permalink($post);
              $output = sprintf("<a href='%s' alt='더보기'>%s</a>",$link, $output);
       }
       return $output;
}, 10, 5);