<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[게시판 목록에서 작성시간 안보이게 할 수 있을까요?]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/20278</link>
		<description><![CDATA[<p>안녕하세요.</p>

<p>KBoard(케이보드) 게시판 목록에서 작성일 항목에 당일에 올라온 글은 자동으로 시간이 표시됩니다.</p>

<p>최근글이라도 모두 날짜만 나오게 하고 싶은데 어디를 수정해야 될까요?</p>

<p>주소는 <a href="https://pkists.net/resources/" target="_blank">여기</a>입니다.</p>
]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[감사합니다. 이렇게 답변을 빠르고 친절하게 해주는 곳은 처음인 것 같아요!
]]></title>
			<link>https://www.cosmosfarm.com/threads/document/20297</link>
			<description><![CDATA[<p>감사합니다. 이렇게 답변을 빠르고 친절하게 해주는 곳은 처음인 것 같아요!</p>
]]></description>
			<author>2kiya</author>
			<pubDate>Tue, 27 Feb 2018 06:54:03 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

FTP로 접속해서 파일을 수정해주세요.

/wp-content/plugins/kboard/class/KBContent.cl...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/20286</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>FTP로 접속해서 파일을 수정해주세요.</p>

<p>/wp-content/plugins/kboard/class/KBContent.class.php 파일을 수정해주세요.</p>

<p> </p>

<p>1. 아래 코드를 찾아주세요. (최신 버전이라면 이미 2번 코드로 적용되어 있을 수 있습니다.)</p>

<pre>
<code class="language-php">public function getDate(){
	if(isset($this-&gt;row-&gt;date)){
		if(date('Ymd', current_time('timestamp')) == date('Ymd', strtotime($this-&gt;row-&gt;date))){
			return date('H:i', strtotime($this-&gt;row-&gt;date));
		}
		return date('Y.m.d', strtotime($this-&gt;row-&gt;date));
	}
	return '';
}</code></pre>

<p> </p>

<p>2. 아래 코드로 교체해주세요. (이미 적용되어 있다면 무시해주세요.)</p>

<pre>
<code class="language-php">public function getDate(){
	$date = '';
	if(isset($this-&gt;row-&gt;date)){
		if(date('Ymd', current_time('timestamp')) == date('Ymd', strtotime($this-&gt;row-&gt;date))){
			$date = date('H:i', strtotime($this-&gt;row-&gt;date));
		}
		else{
			$date = date('Y.m.d', strtotime($this-&gt;row-&gt;date));
		}
	}
	return apply_filters('kboard_content_date', $date, $this, $this-&gt;getBoard());
}</code></pre>

<p> </p>

<p>3. 테마의 functions.php 파일에 아래 코드를 추가해주세요.</p>

<pre>
<code class="language-php">add_filter('kboard_content_date', 'my_kboard_content_date', 10, 3);
function my_kboard_content_date($date, $content, $board){
	$date = date('Y.m.d', strtotime($content-&gt;date));
	return $date;
}</code></pre>

<p> </p>

<p>KBoard(케이보드)가 업데이트가 되어도 문제없이 사용하실 수 있습니다.</p>

<p>고맙습니다.</p>
]]></description>
			<author>스레드봇</author>
			<pubDate>Tue, 27 Feb 2018 05:39:11 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>