Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1110961
    Christian
    Moderator

    Hey there,

    Please give us FTP credentials so we could take a closer look.

    Thanks.

    #1111088
    Denis Bolvinov
    Participant
    This reply has been marked as private.
    #1111266
    Rad
    Moderator

    Hi there,

    Your page contains malformed elements, example, this code is added after </html> which is wrong.

    <script charset="UTF-8" src="//cdn.sendpulse.com/js/push/86e49fb5f6681256d1abb037a094eed8_0.js" async></script>
    
    <div id=yasharetop style="position: fixed; bottom: 0px; left: 0px; z-index: 9990; width: inherit; border: 1px solid #e0dede; background-color: #f8f8f8; padding: 5px; opacity: 0.8; border-radius: 8px;">
    
    Поделитесь с друзьями:
    
    <script type="text/javascript" src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js" charset="utf-8"></script>
    
    <script type="text/javascript" src="//yastatic.net/share2/share.js" charset="utf-8"></script>
    
    <div class="ya-share2" data-services="vkontakte,facebook,odnoklassniki,moimir,twitter,whatsapp" data-counter=""></div>
    
    </div> 
    
    <script>
    
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-8136288-1', 'auto');
    
      ga('send', 'pageview');
    
    </script>
    
    <!-- Yandex.Metrika counter -->
    
    <script>
    
        (function (d, w, c) {
    
            (w[c] = w[c] || []).push(function() {
    
                try {
    
                    w.yaCounter3828895 = new Ya.Metrika({
    
                        id:3828895,
    
                        clickmap:true,
    
                        trackLinks:true,
    
                        accurateTrackBounce:true,
    
                        webvisor:true
    
                    });
    
                } catch(e) { }
    
            });
    
            var n = d.getElementsByTagName("script")[0],
    
                s = d.createElement("script"),
    
                f = function () { n.parentNode.insertBefore(s, n); };
    
            s.type = "text/javascript";
    
            s.async = true;
    
            s.src = "https://mc.yandex.ru/metrika/watch.js";
    
            if (w.opera == "[object Opera]") {
    
                d.addEventListener("DOMContentLoaded", f, false);
    
            } else { f(); }
    
        })(document, window, "yandex_metrika_callbacks");
    
    </script>
    
    <!-- /Yandex.Metrika counter -->
    
    <!-- Facebook Pixel Code -->
    
    <script>
    
    !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
    
    n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
    
    n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
    
    t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
    
    document,'script','https://connect.facebook.net/en_US/fbevents.js');
    
    fbq('init', '1071397439585405');
    
    fbq('track', "PageView");</script>
    
    <noscript><img height="1" width="1" style="display:none"
    
    src="https://www.facebook.com/tr?id=1071397439585405&ev=PageView&noscript=1"
    
    /></noscript>
    
    <!-- End Facebook Pixel Code -->

    You also have custom coding that isn’t properly closed from your navbar template. And there are residue files from your old theme which remains intact, hence, affecting new files.

    I went ahead and fixed them.

    Cheers!

    #1117999
    Denis Bolvinov
    Participant

    Rad! Thank you very much!
    I really couldn’t see all these mistakes. You did great job for me!

    Can you explain the reason why malformed elements could appear? I’d just put the code to footer.php using Notepad++. Were there an issue with encoding?

    #1118436
    Lely
    Moderator

    Hi Dennis,

    You’re welcome!

    You might add the code after this line:
    <?php x_get_view( x_get_stack(), 'wp', 'footer' ); ?>

    It should be before that line because that code returns footer content until the end of HTML. Adding a code after that means it’s not included anymore inside the body of HTML.

    Hope this helps.

    #1118697
    Denis Bolvinov
    Participant

    Ok! Thanks, that is very useful information, even for SEO. Would you consider to include it to the description text in footer.php?

    #1119068
    Darshana
    Moderator

    Hi there,

    Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do, we’ll be happy to provide you with a response once we have a better understanding of the situation.

  • <script> jQuery(function($){ $("#no-reply-1107427 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>