2016-09-24 137 views
0

我需要一些關於WooCommerce標記的幫助。 我已經在谷歌上搜索了2個小時,但到目前爲止還是不吉利。在woocommerce上更改標記

我試圖在WooCommerce模板上找到<strong itemprop="author">asterix</strong>,但我沒有在任何地方看到它。 我正在使用WooCommerce 2.6.3。

任何人都可以讓我知道在哪裏可以找到它嗎?

谷歌的建議後,我想將它從改變:

<strong itemprop="author">asterix</strong> 

到:

<strong itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">asterix</span></strong> 
+0

有人請。 –

回答

0

下載Woocommerce您的硬盤上,然後下載記事本+ +,打開它,然後按Ctrl + Shift + F並會出現文件搜索窗口。

在搜索框中寫入<strong itemprop="author">asterix</strong>並指定爲Woocommerce文件夾中搜索文件夾

結果會告訴你,你正在尋找位於

的標記看起來它位於

woocommerce\templates\single-product\review-meta.php 

<strong itemprop="author"><?php comment_author(); ?></strong>

有一個在Woocom沒有<strong itemprop="author">asterix</strong> merce文件,所以我猜測,asterix是你的域名的作者