Loading


Advertisement:

Author Topic: How to delete this part?  (Read 200 times)

Lollipop

  • Jr. Member
  • **
  • Posts: 54
How to delete this part?
« on: August 12, 2017, 10:29:23 pm »
Hello,
When I enter into category 'Cars' at the bottom of the page I have this (please see the picture in the Attachment).
In other categories I do not have this written. I'm interested in how to delete this part which I have marked in the picture with the red arrow? As I have already said in other categories, I do not have this problem. Which php file i need editing to delete this?

Regards.
« Last Edit: August 13, 2017, 08:13:29 am by Lollipop »

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1053
Re: How to delete this part?
« Reply #1 on: August 13, 2017, 02:56:05 am »
That is not a problem (bug), those are the related searches, it will show up if you have ad related to the search, may be same category and different city, eventually, when you will have more ads, it will show also in other categories.

Lollipop

  • Jr. Member
  • **
  • Posts: 54
Re: How to delete this part?
« Reply #2 on: August 13, 2017, 08:16:01 am »
That is not a problem (bug), those are the related searches, it will show up if you have ad related to the search, may be same category and different city, eventually, when you will have more ads, it will show also in other categories.


There is a problem, In other categories I do not have that. Only in the category 'cars' I have it. I want to delete this part. I do not know which php file i need to editing to delete this part?

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1053
Re: How to delete this part?
« Reply #3 on: August 13, 2017, 08:38:28 am »
Ok, you are the osclass expert!!!
Just go in search.php and look for the div <div id="related-searches" >
You will see wht to delete

Lollipop

  • Jr. Member
  • **
  • Posts: 54
Re: How to delete this part?
« Reply #4 on: August 14, 2017, 08:39:32 am »
Helo,

Thanks for your help. My 'search.php' only have this '<div id='  :

1. '<div id="main">'
2. '<div id="list_head">'
3. '<div id="sidebar">'

Does not exist '<div id="related-searches" >'.
 :-\

EDIT:
I leave my 'search.php' in Attachments.
« Last Edit: August 14, 2017, 07:00:48 pm by Lollipop »

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1053
Re: How to delete this part?
« Reply #5 on: August 14, 2017, 07:04:05 pm »
look for something like this
Code: [Select]
      <?php
      
if(osc_rewrite_enabled()){
      
$footerLinks osc_search_footer_links();
      if(
count($footerLinks)>0) {
      
?>

      <div id="related-searches">
        <h5><?php _e('Other searches that may interest you','bender'); ?></h5>
        <ul class="footer-links">
          <?php foreach($footerLinks as $f) { View::newInstance()->_exportVariableToView('footer_link'$f); ?>
          <?php if($f['total'] < 3) continue; ?>
            <li><a href="<?php echo osc_footer_link_url(); ?>"><?php echo osc_footer_link_title(); ?></a></li>
          <?php ?>
        </ul>
      </div>
      <?php }
      } 
?>


But as i said that is not a problem, you don't see it in other categories because they don't have related searches.



Lollipop

  • Jr. Member
  • **
  • Posts: 54
Re: How to delete this part?
« Reply #6 on: August 14, 2017, 07:09:51 pm »
Thanks for your help, I found.

In my theme is: '<ul class="footer-links">'

Thanks once for help!  :)