Advertisement:

Author Topic: Help osclasswizards Category, Location and posted date  (Read 429 times)

Rotchel1989

  • Guest
Help osclasswizards Category, Location and posted date
« on: August 19, 2015, 10:09:25 am »
Hi,

How i can delete the category like in picture,
and how to setup the location and posted like in picture.

Thanks


main.php

    osc_add_hook('header','osclasswizards_follow_construct');

    osclasswizards_add_body_class('home');

   if(osclasswizards_show_as() == 'gallery'){
        $loop_template   =   'loop-grid.php';
      $listClass = 'listing-grid';
    }else{
      $loop_template   =   'loop-list.php';
      $listClass   = '';
   }
   
?>
<?php osc_current_web_theme_path('header.php') ; ?>
 
 
 <div class="content">     
  <div class="latest_ads">
    <?php if( osc_count_latest_items() == 0) { ?>
    <p class="empty">
      <?php _e("There aren't listings available at this moment", OSCLASSWIZARDS_THEME_FOLDER); ?>
    </p>
    <?php } else { ?>
    <?php
    View::newInstance()->_exportVariableToView("listType", 'latestItems');
    View::newInstance()->_exportVariableToView("listClass",$listClass);
   osc_current_web_theme_path($loop_template);
    ?>
    <?php if( osc_count_latest_items() == osc_max_latest_items() ) { ?>
    <p class="see_more_link"><a href="<?php echo osc_search_show_all_url() ; ?>"> <strong>
      <?php _e('See all listings', OSCLASSWIZARDS_THEME_FOLDER) ; ?>
      &raquo;</strong></a> </p>
    <?php } ?>
    <?php } ?>
  </div>
</div>

<?php osc_run_hook('inside-main'); ?>

<?php osc_current_web_theme_path('footer.php') ; ?>