Osclass Support Forums

General osclass questions => Plugins => Topic started by: abuzarkandwal on September 10, 2021, 06:54:22 AM

Title: bussiness profile
Post by: abuzarkandwal on September 10, 2021, 06:54:22 AM
please tell me where to put these codes I don't know coding i m using delta theme
Title: Re: bussiness profile
Post by: abuzarkandwal on September 10, 2021, 06:55:38 AM
Get links to companies board
<?php if(function_exists('bpr_companies_url')) { echo bpr_companies_url(); } ?>
 Get link to user's company profile
<?php if(function_exists('bpr_company_url')) { echo bpr_company_url($user_id); } ?>
 Get user's company logo/icon
<?php if(function_exists('bpr_get_user_img')) { echo bpr_get_user_img($user_id); } ?>
 Get company's listings on search page
<?php if(function_exists('bpr_company_items_url')) { echo bpr_company_items_url($user_id); } ?>
 Get company's brand color
<?php if(function_exists('bpr_company_color')) { echo bpr_company_color($user_id); } ?>
 Get companies block (on home, search or item page)
<?php if(function_exists('bpr_companies_block')) { echo bpr_companies_block($limit, $order); } ?>
Title: Re: bussiness profile
Post by: MB Themes on September 10, 2021, 02:58:46 PM
You can start with creating link in your header:
Code: [Select]
<a href="<?php if(function_exists('bpr_companies_url')) { echo bpr_companies_url(); } ?>"><?php _e('Companies''theme_name'); ?></a>
Anyway all those functions are optional and you may or may not use them, it has nothing to do with theme functionality, it is just for customization purpose (if you will read instructions carefuly).
Title: Re: bussiness profile
Post by: abuzarkandwal on September 10, 2021, 03:52:14 PM
i want to show bussiness profile some more places like seach page ect
Title: Re: bussiness profile
Post by: MB Themes on September 10, 2021, 04:40:57 PM
If you mean adding links, you have all required functions above
Title: Re: bussiness profile
Post by: abuzarkandwal on September 10, 2021, 05:28:59 PM
i mean when some one seach on home page like other listings the bussiness profile should be show there too in listing above or below
Title: Re: bussiness profile
Post by: MB Themes on September 10, 2021, 05:39:59 PM
I am not aware of such features.
Can you highlight to which part of product description is this related?