게시판 답변
-
글쓴이글
-
2:17 미메누(מִמֶּ֑נּוּ)
3:2 먹을 수 있는 ‘실과’(פְרִי)
3:5 미메누(מִמֶּ֔נּוּ)
3:11 하민-하에츠(הֲמִן־הָעֵ֗ץ)
3:12 민-하에츠(מִן־הָעֵ֖ץ)
3:17 민-하에츠(מִן־הָעֵ֔ץ)
Standard Final
1. 일반적인 Header를 3.0/ aside를 위해 변경
일반(변경전):<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
변경(3.0 for aside):
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" xmlns:epub="http://www.idpf.org/2007/ops">
※ point: namespace line in the last line!
2. Change endnote-number in Current page
변경 전:
<sup class="Endnote-Number-in-Body _idGenCharOverride-2"><span id="endnote-067-backlink"><a class="_idEndnoteLink _idGenColorInherit" href="Section0011.xhtml#endnote-067">[67]</a></span></sup>
변경 후:
<sup class="Endnote-Number-in-Body _idGenCharOverride-2"><span id="endnote-067-backlink"><a class="_idEndnoteLink _idGenColorInherit" epub:type="noteref" href="Section0011.xhtml#endnote-067">[67]</a></span></sup>
※ point: t” href=”Section0011 —> t” epub:type=”noteref” href=”Section00113. Change span tags into aside in Endnote page
1) 1step (part of open)
변경 전:
<span id="endnote-
변경 후:
<aside epub:type="footnote" id="endnote-
2) 2step (closing)
변경 전:
</span></p>
</aside></p>
another reference (not run in Kyobo)
current page<p>This note should contain a word in italic<a epub:type="noteref" id="r2" href="Section0011.xhtml#n2"><i><sup>W</sup></i></a>.</p>
Endnote page
<p epub:type="footnote" id="n2"><a href="Section0005.xhtml#r2">W</a> - another <i>footnote</i> text</p>
Kyobo Standard
Current page
<p>worthy of a footnote <a epub:type="noteref" href="Section0011.xhtml#n1">[ref]</a></p>
Endnote page
<aside id="n1" epub:type="footnote" >This is a note</aside>
ePub 3 in head
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:xml="http://www.w3.org/XML/1998/namespace">
another tips
current page
<a href="#n1" epub:type="noteref" >1</a>
Endnote page<aside id="n1" epub:type="footnote" > This is a note <aside>
not run / not work
loop-single-topic.php와 loop-single-forum.php에서
avatar및 name 설정하는 것과 bbp style pack에서 설정하는 것과 상충되는 문제가 새로 발생.
아래 css를 통해 조절할 것.span.bbp-author-avatar {
//display: block; //name을 아래로내림
margin: auto;
padding: 0;
}
span.bbp-author-name, {
line-height: 150% !important;
display: inline;
margin: auto;
}
li.bbp-forum-freshness, li.bbp-topic-freshness {
text-align: left;
float: left;
width: 22%;
padding-left: 20px;
}우커머스 업그레이드 후 작동되지 않음.
작동되지 않을 경우
아래와 같이 변경해볼 것.
//add_action( ‘woocommerce_order_status_completed’, ‘wpglorify_change_role_on_purchase’ );
// woocommerce_order_status_completed 결제를 완료했을 때, 아니면 최종 감사 페이지의 경우는 woocommerce_thankyou변형:
/* Code Snippet To Change User Role After Purchase. */ add_action( 'woocommerce_order_status_completed', 'wpglorify_change_role_on_purchase' ); function wpglorify_change_role_on_purchase( $order_id ) { // get order object and items $order = new WC_Order( $order_id ); $items = $order->get_items(); $product_id = 6865; // that's a specific product ID foreach ( $items as $item ) { if( $product_id == $item['product_id'] && $order->user_id ) { $user = new WP_User( $order->user_id ); if(current_user_can('subscriber')) { // Remove old role $user->remove_role( 'subscriber' ); // Add new role $user->add_role( 'contributor' ); } } } }
Forum Index Page에서 Freshness 좌측 정열 실패 후,
loop-single-topic.php에 있는 것을 가져와서
loop-single-forum.php의 내용을 다음과 같이 수정<li class="bbp-forum-freshness"> <div class="bbp-topic-meta"> <?php do_action( 'bbp_theme_before_topic_author' ); ?> <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 48, 'type' => 'avatar' ) ); ?></span> <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14, 'type' => 'name' ) ); ?></span> <?php do_action( 'bbp_theme_after_topic_author' ); ?> <?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?> <p class="floatleft"><?php bbp_forum_freshness_link(); ?> <?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?></p> </div> </li>
타입 변수는 아바타가 ‘type’ => ‘avatar’ 이름/아이디 변수는 ‘type’ => ‘name’ 임을 유념
시작할 때 forum page는
<li class="bbp-forum-freshness">
으로 시작하고
topic 페이지는
<li class="bbp-forum-freshness">
으로 li의 시작이 다르다는 것도 유념할 것 -
글쓴이글