*

Theboss

  • ***
  • 41 posts
How do I disable Partners Logo
« on: April 19, 2018, 02:33:14 PM »
How do I disable partner logo and attributes from showing

*

MB Themes

Re: How do I disable Partners Logo
« Reply #1 on: April 20, 2018, 08:53:22 AM »
@Theboss
Remove it in footer.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Marked as best answer by frosticek on May 02, 2018, 08:35:37 AM
*

surajthapa

  • **
  • 16 posts
Re: How do I disable Partners Logo
« Reply #2 on: May 01, 2018, 09:41:47 PM »
Quote
How do I disable partner logo and attributes from showing

go to your footer.php and disable the div "partner" as below.


Code: [Select]

<!--<div id="partner">
      <div class="lead">?php _e('Our partners', 'veronika'); ?></div>

      ?php
        $partner_path = osc_base_path() . 'oc-content/themes/' . osc_current_web_theme() . '/images/partner-logos';
        $partner_url = osc_base_url() . 'oc-content/themes/' . osc_current_web_theme() . '/images/partner-logos';
        $partner_images = scandir($partner_path);

        if(isset($partner_images) && !empty($partner_images) && $partner_images <> '') {
          foreach($partner_images as $img) {
            $ext = strtolower(pathinfo($partner_path . '/' . $img, PATHINFO_EXTENSION));
            $allowed_ext = array('png', 'jpg', 'jpeg', 'gif');

            if(in_array($ext, $allowed_ext)) {
              echo '<img class="partner-image" src="' . $partner_url . '/' . $img . '" alt="' . __('Our partner logo', 'veronika') . '" />';
            }
          }
        }
      ?>
    </div-->


*

LMG

  • *
  • 3 posts
Re: How do I disable Partners Logo
« Reply #3 on: August 31, 2018, 09:09:47 AM »
That worked, Thank you!  :)