Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

daniD

dani

@dani
About
Posts
131
Topics
47
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • PHP 8.3+ compatibility errors (theme, WP, and plugins all up to date)
    daniD dani

    I've updated to LAY 9.6.7. Still seeing the errors.
    Screenshot 2025-09-03 at 3.11.02 AM.png
    Screenshot 2025-09-03 at 3.11.17 AM.png

    Bug Reports

  • PHP 8.3+ compatibility errors (theme, WP, and plugins all up to date)
    daniD dani

    Warnings are coming from PHP 8.4.
    Parameters without a declared type are now implicitly considered nullable, but PHP wants you to explicitly mark them as nullable using ? in the function signature.

    Screenshot 2025-08-25 at 11.36.44 AM.png Screenshot 2025-08-25 at 11.37.12 AM.png

    Bug Reports

  • Thank you!
    daniD dani

    armin,

    thank you for the work you do on LAY theme!
    it's brilliant.

    yoroshiku.png Screenshot 2025-03-15 at 11.22.07 PM.png

    General Discussion

  • expand/collapse row inside a marquee (not working)
    daniD dani

    It works, thank you Armin!

    Bug Reports

  • expand/collapse row inside a marquee (not working)
    daniD dani

    OK I'll let you know next release (when is it?)

    Bug Reports

  • expand/collapse row inside a marquee (not working)
    daniD dani

    hi,

    on this page the text in the marquee is set to expand the row below (collapsed).
    https://db-vincze.com/works/

    this worked when i first created it, the client just noticed that it stopped working (all instances on this site).

    i removed and added the function, still not working. no obvious errors (console, etc).

    also, within the marquee element, it's very tricky to open the text editor (double click on the text or text element bottom left several times and randomly it opens).

    Screenshot 2025-02-28 at 7.21.59 AM.png

    Bug Reports

  • youtube autoplay solution
    daniD dani

    It's tricky, but here is a solution.
    This code:

    <iframe width="100%" height="800px" src="https://www.youtube.com/embed/KJ6joZFlQ54?si=Xwz3C03yIxLgEsC-&autoplay=1&mute=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
    

    replace URL with the embed code on youtube (not the share url). Here:
    Screenshot 2024-06-20 at 12.58.49 PM.png

    Working example:
    https://florentinginot.com/en/we-are-all-lichens/

    General Discussion

  • Whitelabeling Lay theme source
    daniD dani

    @Monamos Hire @arminunruh to make a variant LAY theme licensable for your use.

    General Discussion

  • Accordeon-feature or plugin?
    daniD dani

    @dani example:
    http://66.199.141.101/~dbvincze/works/

    General Discussion

  • Accordeon-feature or plugin?
    daniD dani

    try this:

    HTML

    <div class="more">Click here for more info</div>
    <div class="less">Here is the hidden content</div>
    

    Use <div> instead of <p>, so that you can use <p> within the hidden content.

    CSS

    /* open close dots - see JS */
    .more:hover:after { 
        content: " ○○○";
    }
    .more:after {
        content: " ●●●";
    }
    .less { 
      display:none; 
    }
    

    JS

    <script>
    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
        
    /* open close dots */  
        jQuery('.more').click(function(){
            jQuery(this).next().slideToggle();
            jQuery('.less').not(jQuery(this).next()).slideUp();
        });
      
    });
    </script>
    
    General Discussion

  • Mouse hover effect italic
    daniD dani

    Try it with

    transition: all 200ms;

    :D

    General Discussion

  • Q Translate X is DEAD?
    daniD dani

    @Richard I'm trying it out now... thanks

    General Discussion

  • qTranslate-XT (3.10.0), last version does not work anymore ;(
    daniD dani

    @Markus It's no longer supported by WP!

    Bug Reports

  • Q Translate X is DEAD?
    daniD dani

    https://wordpress.org/plugins/qtranslate-x/

    WP is not longer supporting this plugin. I've had some problems with it recently, perhaps that's why.

    General Discussion

  • Editing Page using "Element Grid/Masonry" with text causes endless text doubles
    daniD dani

    Yeah it's an incompatibility with Q-Translate X....

    Bug Reports

  • No Images on tablet and phone
    daniD dani

    This is helpful :D

    https://wordpress.org/plugins/really-simple-ssl/

    Bug Reports

  • Change swiper autoplay transition speed
    daniD dani

    Hi,

    I'm trying to send a new speed variable to the carousel swiper function. The JS is

    var w = jQuery(a).find(".swiper-container"),
                               m = new Swiper(w[0], {
                                   speed: 350,
                                   effect: "slide",
                                   spaceBetween: v,
    

    And I'm adding this in an HTML block on the page

    <script>
    jQuery( document ).ready( function() {
    
       const imageCarousel = jQuery ( '.swiper-container' ),
          swiperInstance = imageCarousel.data( 'm' );
    
       swiperInstance.params.speed = '1000';
    
       swiperInstance.update();
    }); 
    </script>
    

    Error in the console is:

    (index):1352 Uncaught TypeError: Cannot read property 'params' of undefined
        at c.Channel.<anonymous> ((index):1352)
        at p (backbone.min.js?ver=1.4.0:2)
        at f (backbone.min.js?ver=1.4.0:2)
        at c (backbone.min.js?ver=1.4.0:2)
        at c.Channel.n.trigger (backbone.min.js?ver=1.4.0:2)
        at frontend.app.min.js?ver=3.8.5:1
    

    Anyone know how to set a new speed via a script?

    Thanks!

    Addons
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search