Support Forums - Classified Ads Script Osclass
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Biswajit Panda on January 27, 2018, 06:06:06 AM
-
How can i apply Location at Grid View , I have attached a snap shoot for example and batter understand
-
<?php echo veronika_location_format(osc_item_country(), osc_item_city()); ?>
-
in which file and in in which below line , i have to past the cord.
please help .
-
in which file and in in which below line , i have to past the cord.
please help .
-
@Biswajit
loop-single.php
-
@Biswajit
loop-single.php
in loop-single.php file where i have to past the cord "<?php echo veronika_location_format(osc_item_country(), osc_item_city()); ?>"
please help me
-
@Biswajit
Trial & error is best method.
-
@Biswajit
Trial & error is best method.
I found already the following cord have "<?php echo veronika_location_format(osc_item_country(), osc_item_city()); ?> " in my loop-single.php , then why it's not working at my website Grid View .
-
@Biswajit
Because one block is gallery view, another is list view. It's even written in code:
<?php if( $view == 'gallery' ) { ?>
-
@Biswajit
Because one block is gallery view, another is list view. It's even written in code:
<?php if( $view == 'gallery' ) { ?>
I am unable to resolved the issue , please help
-
@Biswajit
In loop-single.php try to put it after line 63.
-
What will be code if I want to show "City" only instead of "City (Country)" on listing in homepage?
-
<?php echo osc_item_city(); ?>
-
<?php echo osc_item_city(); ?>
Add in Line 64 of loop-single.php and works correctly, but in loop-single-premium.php it does not work correctly.
<?php if( $view == 'gallery' ) { ?>
<div class="locgrid"><?php echo veronika_location_format(osc_item_country, osc_item_region(), osc_item_city()); }?></div>
can someone help me with the code for loop-single-premium.php ???
-
@Javiersl70
https://doc.osclass.org/HPremium.php
-
@Javiersl70
https://doc.osclass.org/HPremium.php
thanks, solved :-)