<xsl:include href="../plugins/tenandtwo-xslt-processor/xsl/wp.xsl" />
<xsl:call-template name="wp-post-meta">
<xsl:with-param name="post" select="$post" />
<xsl:with-param name="type" select="$type" />
</xsl:call-template>
TEST 1 :
wp-post-meta :
– post =
result :
<RESULT template="wp-post-meta" page="sample-page" id="2" count="3">
<_wp_page_template>page-sidebar-right</_wp_page_template>
<_edit_lock>1718824744:1</_edit_lock>
<_edit_last>1</_edit_last>
</RESULT>TEST 2 :
wp-post-meta :
– post =
– type =
result :
<RESULT template="wp-post-meta" xml="sample-xml" id="876" count="8">
<_edit_lock>1704991288:1</_edit_lock>
<_edit_last>1</_edit_last>
<_xslt_schema_type>dtd</_xslt_schema_type>
<_xslt_schema_value/>
<_wp_page_template>default</_wp_page_template>
<_xslt_validation_errors>0</_xslt_validation_errors>
<_xslt_validation_message><p>XML Syntax OK <br/> 532 B</p> <p>DomDocument->validate() : VALID</p></_xslt_validation_message>
<_xslt_validation_warnings>0</_xslt_validation_warnings>
</RESULT>