本文整理汇总了PHP中ThemexCore::getImage方法的典型用法代码示例。如果您正苦于以下问题:PHP ThemexCore::getImage方法的具体用法?PHP ThemexCore::getImage怎么用?PHP ThemexCore::getImage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ThemexCore
的用法示例。
在下文中一共展示了ThemexCore::getImage方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: the_permalink
</div>
</div>
<?php
}
?>
</div>
<footer class="shop-footer">
<div class="shop-author clearfix">
<div class="author-image">
<div class="image-wrap">
<a href="<?php
the_permalink();
?>
">
<?php
echo ThemexCore::getImage(ThemexShop::$data['ID'], 150, THEME_URI . 'images/shop.png');
?>
</a>
</div>
</div>
<div class="author-details">
<h3 class="author-name">
<a href="<?php
the_permalink();
?>
"><?php
the_title();
?>
</a>
</h3>
<div class="shop-attributes">
示例2:
<input type="hidden" name="product_id" value="<?php
echo ThemexWoo::$data['product']['ID'];
?>
" />
<input type="hidden" name="woo_action" value="update_image" />
</form>
</div>
<?php
}
} else {
if (ThemexUser::isShop()) {
ThemexShop::refresh(ThemexUser::$data['current']['shop'], true);
?>
<div class="image-wrap">
<?php
echo ThemexCore::getImage(themex_value('ID', ThemexShop::$data), 200, THEME_URI . 'images/shop.png');
?>
</div>
<div class="profile-upload">
<form action="" enctype="multipart/form-data" method="POST">
<label for="shop_thumb" class="element-button square" title="<?php
_e('Upload Image', 'makery');
?>
">
<span class="fa fa-upload"></span>
</label>
<input type="file" id="shop_thumb" name="shop_image" class="element-upload shifted" />
<input type="hidden" name="shop_id" value="<?php
echo ThemexShop::$data['ID'];
?>
" />