HEX
Server: LiteSpeed
System: Linux premium221.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: madepabj (2566)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: //home/madepabj/www/wp-content/themes/rehub-theme/wc-vendors/front/vendor-mini-header.php
<?php
/**
 *  Vendor Mini Header - Hooked into single-product page
 *
 *  THIS FILE WILL LOAD ON VENDORS INDIVIDUAL PRODUCT URLs (such as yourdomain.com/shop/product-name/)
 *
 * @author WCVendors
 * @package WCVendors
 * @version 2.0.0
 */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 

/*
*	Template Variables available 
*   $vendor : 			For pulling additional user details from vendor account.  This is an array.
*   $vendor_id  : 		current vendor user id number
*   $shop_name : 		Store/Shop Name (From Vendor Dashboard Shop Settings)
*   $shop_description : Shop Description (completely sanitized) (From Vendor Dashboard Shop Settings)
*   $seller_info : 		Seller Info(From Vendor Dashboard Shop Settings)
*	$vendor_email :		Vendors email address
*	$vendor_login : 	Vendors user_login name
*/ 

?>

<div id="wcv_mini_header">
	<style scoped>#wcvendor_image_bg{<?php echo rh_show_vendor_bg($vendor_id);?>}</style>
	<div id="wcvendor_image_bg">
		<div class="wcv_mini_header_content" >
			<div class="wcv_mini_header_store floatleft">
				<h5><a href="<?php echo WCV_Vendors::get_vendor_shop_page( $vendor_id );?>"><?php echo WCV_Vendors::get_vendor_sold_by( $vendor_id );?></a></h5>
			</div>
			<span class="wpsm-button small red mb0 floatright"><i class="rhicon rhi-heart"></i> Favorire</span>
		</div>
		<span class="wcvendor-cover-image-mask"></span>
	</div>
</div>