小编Sat*_*iva的帖子

如何在iframe中定位div?

我有一个元素,<iframe>我想使用外面的链接激活<iframe>.

例:

<iframe src="iframe.html" id="iframe">
    *inside the iframe*  
    <div id="activate" class="activate">
</iframe>
<a href="#activate" target="iframe">Link</a>
Run Code Online (Sandbox Code Playgroud)

我认为这会起作用,但显然什么也没做,因为我很愚蠢.有任何想法吗?

html iframe

7
推荐指数
1
解决办法
3万
查看次数

WooCommerce - 在产品页面上显示不含税的价格

我正在使用WooCommerce和WooShop Theme for Wordpress.

我需要在单个产品页面上显示产品价格排除税.

如果我理解正确,有2个功能:

$ _product-> get_price()
$ _product-> get_price_excluding_tax()


这是Price.php(在单品下)

<p itemprop="price" class="price"><?php echo $product->get_price_html(); ?></p>
Run Code Online (Sandbox Code Playgroud)

这导致

  'price_html' => '<span class="price">'.$variation->get_price_html().'</span>',
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

谢谢!

javascript php wordpress wordpress-plugin

1
推荐指数
1
解决办法
2万
查看次数

标签 统计

html ×1

iframe ×1

javascript ×1

php ×1

wordpress ×1

wordpress-plugin ×1