Tag: 필요한사람인가

필요한 사람인가 – 대인관계 처세술

책 : 필요한 사람인가 / 발타자르 그라시안, 프랑수아 드 라 로슈푸코, 장 드 라 브뤼예르 수백년의 시간을 견디며 살아남은 잠언들이라고 한다. 사회생활은 수많은 시행착오를 만들어는데 그것을 획기적으로 단축시켜줄…

]+src=["\']([^"\']+)["\']/i', $content, $m)) { return ''; } return ''; } // 2) the_excerpt 필터로 카드형 목록 출력 add_filter('the_excerpt', function($excerpt) { if (!is_home() && !is_archive()) { // 일반 페이지(싱글 포스트)에는 본문 요약 그대로 보여주기 return $excerpt; } global $post; // 콘텐츠에서 미디어 가져오기 $media = mb_extract_media($post->post_content); // 요약 텍스트: 본문에서 태그 제거 후 30단어 $brief = wp_trim_words(wp_strip_all_tags($post->post_content), 30, '…'); // 카드 HTML $html = '
'; if ($media) { $html .= '
'.$media.'
'; } $html .= '
'; $html .= '

'.get_the_title().'

'; $html .= '
'.$brief.'
'; $html .= '
'.get_the_date('Y.m.d (D)').' · '.get_the_author().'
'; $html .= '
'; return $html; });