Osclass Support Forums
Osclass plugin support => Business Profile Plugin => Topic started by: oneloveb on February 09, 2021, 07:02:13 PM
-
Hello
Pls i replace this code in selller.php in the business profile
<?php $c = 1; ?>
<?php while( osc_has_custom_items() ) { ?>
<?php bpr_draw_item($c, 'gallery'); ?>
<?php $c++; ?>
<?php } ?>
TO THIS
<?php $c = 1; ?>
<?php while( osc_has_items() ) { ?>
<?php stela_draw_item($c, 'gallery'); ?>
<?php if ($c % 6 == 0) {?>
<?php echo stela_banner('item_description'); ?>
<?php } ?>
<?php $c++; ?>
<?php } ?>
But not working Kindly assist on what to do
The code is working fine on Search Gallery
Thanks
-
@oneloveb
You should not change default codes, try this:
<?php
$c = 1;
while( osc_has_custom_items() ) {
bpr_draw_item($c, 'gallery');
if($c == 6) {
?>
.... my custom HTML code there
<?php
}
$c++;
}
?>
-
Thank you for your response
I insert the code but nothing happens is not working
-
@oneloveb
Code is correct.