Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    1. Home
    2. neunzehnachtneun
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 44
    • Best 9
    • Controversial 0
    • Groups 0

    neunzehnachtneun

    @neunzehnachtneun

    12
    Reputation
    697
    Profile views
    44
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website www.neunzehnachtneun.de

    neunzehnachtneun Unfollow Follow

    Best posts made by neunzehnachtneun

    • RE: Youtube Cookies / Always Set even if I don't use them?

      Thanks @arminunruh

      posted in General Discussion
      N
      neunzehnachtneun
    • RE: Youtube Cookies / Always Set even if I don't use them?

      hei @fabiandraxl
      hei @Richard

      i dont know, how to finally fix this. but i am experiencing the same issue. but while i deactivated the carousel addon, there are no cookies set. so i assume, the third party integration of youtube is happening right there.

      kind,
      sebastian

      posted in General Discussion
      N
      neunzehnachtneun
    • How to setup Matomo (formerly Piwik) to track page views correctly.

      Hi all!
      I am using matomo together with laytheme. And as you know, laytheme builds javascript single page application, the page visits are hardly to track. Luckily after a long search I found a code snippet, that helped to get this functionality and I want to share it to those, who are struggling also. Inserting it into the head section will get the page view tracking running.

      Cheers!
      Sebastian

      <!-- Matomo -->
      <script type="text/javascript">
      
        // Custom locationchange event
        history.pushState = ( f => function pushState(){
            var ret = f.apply(this, arguments);
            window.dispatchEvent(new Event('pushstate'));
            window.dispatchEvent(new Event('locationchange'));
            return ret;
        })(history.pushState);
      
        history.replaceState = ( f => function replaceState(){
            var ret = f.apply(this, arguments);
            window.dispatchEvent(new Event('replacestate'));
            window.dispatchEvent(new Event('locationchange'));
            return ret;
        })(history.replaceState);
      
        window.addEventListener('popstate',()=>{
          window.dispatchEvent(new Event('locationchange'))
        });
        
        var _paq = window._paq || [];
        _paq.push(['trackPageView']);
        _paq.push(['enableLinkTracking']);
      
        (function() {
          var u="//{$PIWIK_URL}/";
          _paq.push(['setTrackerUrl', u+'matomo.php']);
          _paq.push(['setSiteId', {$IDSITE}]);
          var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
          g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
        })();
        
        // Single Page Application Tracking
        var formerUrl = location.href;
        window.addEventListener('locationchange', function() {
            _paq.push(['setReferrerUrl', formerUrl]);
            _paq.push(['setCustomUrl', location.href]);
            //_paq.push(['setDocumentTitle', document.title]);
      
            // remove all previously assigned custom variables, requires Matomo (formerly Piwik) 3.0.2
            _paq.push(['deleteCustomVariables', 'page']); 
            _paq.push(['setGenerationTimeMs', 0]);
            _paq.push(['trackPageView']);
        });
      </script>
      <!-- End Matomo Code -->
      
      posted in General Discussion
      N
      neunzehnachtneun
    • RE: Click to call link

      Well, it's not possible to insert it as link unfortunately. But as workaround you can edit the source code directly in the 'add text' window.

      phone: <a href="tel:01234567890">0123-4567890

      posted in General Discussion
      N
      neunzehnachtneun
    • RE: Third party connection to instagram - What does it do?

      Dear @mariusjopen

      I just found out, that you implemented a checkbox (See Lay Options -> Other -> Embed Instagram JavaScript) in one of the last updates, to not embed the instagram javascript code. So first my wp_dequeue_instagram is not needed anymore and second I know now, that the js is needed to embed instagram stuff.

      Thanks anyway!

      posted in General Discussion
      N
      neunzehnachtneun
    • RE: google searchability

      Hi @leooo,
      beside what Marius said, you're right in your assumption. Google is ranking websites without ssl negative. So you better activate https.
      https://webmasters.googleblog.com/2014/08/https-as-ranking-signal.html

      Kind,
      Sebastian

      posted in General Discussion
      N
      neunzehnachtneun
    • Feature request: Switch to disable all custom code

      Hi!
      I would suggest a new feature: As I did a lot of bugfixing, I had to remove and add custom code again and again. Instead of this copy/paste-mechanism I would prefer a switch in the laytheme settings to turn off all custom code at once.

      Looking forward to feedback!

      Cheers,
      Sebastian

      posted in Feedback
      N
      neunzehnachtneun
    • RE: Zoom in cover image, if aspect ratio doesn't fit image

      Well, this is an unexpected solution. But it works.
      Thanks!

      posted in Feedback
      N
      neunzehnachtneun

    Latest posts made by neunzehnachtneun

    • RE: Feature request: Switch to disable all custom code

      Thanks for adding this feature!

      posted in Feedback
      N
      neunzehnachtneun
    • Feature request: Switch to disable all custom code

      Hi!
      I would suggest a new feature: As I did a lot of bugfixing, I had to remove and add custom code again and again. Instead of this copy/paste-mechanism I would prefer a switch in the laytheme settings to turn off all custom code at once.

      Looking forward to feedback!

      Cheers,
      Sebastian

      posted in Feedback
      N
      neunzehnachtneun
    • RE: Text overlay over cover is moved to the left edge

      I will answer via email.

      Kind,
      Sebastian

      posted in Bug Reports
      N
      neunzehnachtneun
    • RE: Youtube Cookies / Always Set even if I don't use them?

      Thanks @arminunruh

      posted in General Discussion
      N
      neunzehnachtneun
    • RE: Text overlay over cover is moved to the left edge

      Dear @Richard
      May I remind you that I am still waiting for an answer?
      Thank you!
      Kind,
      Sebastian

      posted in Bug Reports
      N
      neunzehnachtneun
    • RE: Text overlay over cover is moved to the left edge

      Hi @Richard
      any news? 3 weeks is a long time.

      posted in Bug Reports
      N
      neunzehnachtneun
    • RE: Text overlay over cover is moved to the left edge

      Hi @Richard
      do you have any news on this topic?

      posted in Bug Reports
      N
      neunzehnachtneun
    • RE: Youtube Cookies always set?

      Hei @Richard
      I commented here a few days ago.

      http://laythemeforum.com:4567/topic/7652/youtube-cookies-always-set-even-if-i-don-t-use-them/

      The problem is hidden anywhere in the carousel addon. Deactivating this addon stops the the third party connection and the setting of youtube cookies.

      posted in General Discussion
      N
      neunzehnachtneun
    • RE: Text overlay over cover is moved to the left edge

      Thanks @Richard,
      I don't have any cache plugins installed and already reset the left frame.
      Just sent you login credentials via chat.

      Kind,
      Sebastian

      posted in Bug Reports
      N
      neunzehnachtneun
    • RE: Next project link not directing as documented

      And here you see the screenshot I forgot yesterday:

      Bildschirmfoto 2022-02-17 um 15.36.48.png

      posted in Bug Reports
      N
      neunzehnachtneun