*

Loma

  • ***
  • 69 posts
  • Loma
add categories in search page like https://osclasspoint.com
« on: November 17, 2017, 03:28:41 AM »
how can i add categories like https://osclasspoint.com

regard

*

MB Themes

Re: add categories in search page like https://osclasspoint.com
« Reply #1 on: November 17, 2017, 10:42:27 AM »
@Loma
Modified version already exists in veronika theme as function veronika_simple_category. You can check it, modify it and use it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Loma

  • ***
  • 69 posts
  • Loma
Re: add categories in search page like https://osclasspoint.com
« Reply #2 on: November 18, 2017, 03:00:10 PM »
It show only in main categories

Please help me a code to add sub-categories

*

MB Themes

Re: add categories in search page like https://osclasspoint.com
« Reply #3 on: November 18, 2017, 08:29:29 PM »
Osclass Point has been deeply modified to original theme, there is more than 2 months of development on it and copy its part is not something I can handle.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sony

  • ***
  • 35 posts
Re: add categories in search page like https://osclasspoint.com
« Reply #4 on: February 06, 2018, 07:57:24 PM »
where I think veronika_simple_category

*

siken

  • ****
  • 138 posts
Re: add categories in search page like https://osclasspoint.com
« Reply #5 on: February 06, 2018, 09:54:16 PM »
It show only in main categories

Please help me a code to add sub-categories

► Search.php:

Code: [Select]
        <div class="row">
          <h4><?php _e('• Tipo de publicación elegida''patricia') ; ?></h4>

          <div class="input-box">
            <?php
              $cat_id 
Params::getParam('sCategory');
              
$cat = array('pk_i_id' => $cat_id); 
            
?>

            <?php 
 $category 
__get("category");
     if(!isset(
$category['pk_i_id']) ) {
         
$category['pk_i_id'] = null;
     }
             ?>

            <i class="fa fa-search-plus">&nbsp;&nbsp;</i>
            <?php osc_categories_select('sCategory'$category__('&nbsp;.&nbsp;&nbsp;BUSCAR EN TODAS''bender')) ; ?>
          </div>
        </div>
« Last Edit: February 06, 2018, 09:56:56 PM by alexandromt »