angus
(Angus McLeod)
4월 16, 2021, 5:03오전
4
RichardC:
이 형식이 맞나요?
좀 둔한 질문이라 죄송하지만, 모든 코드를 검토해 달라는 건지 아니면 Discourse 필터 사용 부분만 봐 달라는 건지 정확히 모르겠습니다. 필터가 $output을 수정하고 템플릿 태그를 사용하여 값을 보간하도록 기대한다는 의미에서는 형식이 맞습니다. 자세한 내용은 이 주제를 참고해 주세요.
The WP Discourse plugin uses HTML templates to add markup to Discourse comments for publishing on WordPress and to WordPress posts for publishing on Discourse. The text content of these templates can be customized on the plugin’s options page. To change the structure of a templates requires you to add a function to your theme’s functions.php file This howto will explain how to do that.
The templates
In the plugin’s code, the templates are static functions that return a mixture of html and templ…