Problemas Menu

    • jhonathanriquelme
      Participant
      # il y a 3 années et 1 mois

      Al iniciar sesion con el usuario y entrar al area privada me aprecen 3 menus y no puedo quitarlos

    • Thomas
      Maître des clés
      # il y a 3 années et 1 mois

      Hi,

      Can you please try this:

      1. Open the file wp-content/plugins/customer-area/src/php/core-addons/customer-pages/customer-pages-addon.class.php
      2. Line 1047, you’ll find a function named define_main_content_filter
      3. Replace it with the following block of code, save the file, and try again
              public function define_main_content_filter($content)
              {
                  $post_id = get_the_ID();
                  if ((!$this->is_customer_area_page($post_id) && !cuar_is_customer_area_private_content($post_id))
                      || !in_the_loop()
                  )
                  {
                      return $content;
                  }
      
                  return apply_filters('cuar/core/the_content', $content);
              }

      Please, tell us if it worked or not.

      Best regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

Vous lisez 1 fil de discussion

The topic ‘Problemas Menu’ is closed to new replies.