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

K

kubmin

@kubmin
About
Posts
21
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multilanguage | 'invalid desktop json!'
    K kubmin
    Jul 10, 2018, 12:36 PM

    Hi f.albert!

    I'm running a dev environment with Lay Theme version 2.5.6 in combination with Wordpress version 4.9.7! Hope that helps.

    Bug Reports

  • Multilanguage | 'invalid desktop json!'
    K kubmin
    Jul 9, 2018, 1:44 PM

    Hi there!

    Using the awesome multilanguage for a website is causing some problems which I cannot seem to fix.

    When creating a simple project with one image and/or text, the website is unable to fetch some json. This happens in either the translated page (i.e from GE to GB) or on the 'original' page (i.e from GB to GE).

    On page load, the console logs:
    invalid desktop json!

    Loading the homepage while on the translated site logs the following:

    GET http://localhost/~user/test/en/wp-json/wp/v2/posts/71 401 (Unauthorized)

    Full json response:

    // http://localhost/~user/test/en/wp-json/wp/v2/posts/41
    
    {
      "code": "rest_forbidden",
      "message": "Sorry, you are not allowed to do that.",
      "data": {
        "status": 401
      }
    }
    

    The not translated homepage logs the same.

    Any idea what's causing this? Thanks.

    Best,
    K


    UPDATE #1:

    I found out that the caption below the image is causing the problems. I guess it has something to do with that piece of text (caption) not having a option to translate. For now, deleting the caption seems to help.


    UPDATE #2:

    Got it, you have to click on the flag that you are editing with the gridder. Add the image and add the caption. After that, click on the other flag and start editing the image caption by double clicking. Edit the caption line (even when you want to have the same text, like names of people, places etc). Click ok. Finally, update/publish the page and voila, it works!

    Bug Reports

  • shortcode not found!
    K kubmin
    Apr 17, 2018, 11:50 AM

    @kubmin fixed... old version of php. sorry!

    Bug Reports

  • shortcode not found!
    K kubmin
    Apr 16, 2018, 1:33 PM

    Hi Armin and Marius,

    I am trying to move a lay theme installation from a development url to the live url.

    The installation has a Instagram plugin installed which is displayed by a shortcode on the 'propaganda' page. On the development url, you can see that the shortcode is working fine and the Instagram feed is being displayed. However, after moving the installation to the live url, the console logs shortcode not found!.

    Any idea what could be causing this? I tried reinstalling the plugin, dropping some tables that are used in the database and even tried installing a random other plugin that works with lay theme and a shortcode, such as Contact Form 7. All the plugins using a shortcode logs the same error to the console.

    I hope I've provided enough info, if you need more I'm happy to help of course :-) And again, thanks for the awesome support & theme.

    Best,
    Kubmin.

    Bug Reports

  • Fullscreen Slider MoveTo function no longer works?
    K kubmin
    Apr 16, 2018, 10:01 AM

    @mariusjopen any news?

    Addons

  • Fullscreen Slider MoveTo function no longer works?
    K kubmin
    Apr 9, 2018, 6:44 AM

    Thank you,
    Would love to hear a update on this :)

    Addons

  • Fullscreen Slider MoveTo function no longer works?
    K kubmin
    Apr 6, 2018, 8:04 AM

    Hi Marius,

    Thanks for your response!
    This was just an example (I was trying to see if the user was selecting text, if so, cancel the slide tirgger), the issue is that the FullPage function jQuery.fn.fullpage.moveTo(); does not work anymore when the magnetic slides are set to horizontal. Vertically it seems to be working fine.

    Two examples I tried:

    <div class="test"></div>
    
    jQuery(".test").on("click", function(){
      jQuery.fn.fullpage.moveTo(1);
      console.log("clicked");
    });
    

    or:

    jQuery(document).on("click", ".test", function(event) {
    	jQuery.fn.fullpage.moveTo(1);
    	console.log("clicked");
    });
    

    Both of the codes above only works fine when setting the slides to vertically. when the slides are set to horizontal, it does not work anymore. Did something change in the new release or am I doing something wrong? It used to work before.

    Thanks again!
    Kubmin

    Addons

  • Fullscreen Slider MoveTo function no longer works?
    K kubmin
    Apr 4, 2018, 11:59 AM

    Hi there!

    Having the same problem, switching 'horizontal' to 'vertical' seems to work with my current code. Horizontal does not work.

    Custom HTML at body:

    <script>
    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
    	if(type == "project"){
    		jQuery(function() {
                var isDragging = false;
                jQuery("p")
                .mousedown(function() {
                    isDragging = false;
                })
                .mousemove(function() {
                    isDragging = true;
                })
                .mouseup(function() {
                    var wasDragging = isDragging;
                    isDragging = false;
                    if (wasDragging) {
                        console.log("MOVE yo");
                        jQuery.fn.fullpage.moveTo(1);
                    }
                });
            });
    	}
    });
    </script>
    

    Any idea what could be causing this? Cheers!

    Best,
    Kubmin

    Addons

  • [Fullscreen slider] Selecting text without triggering next slide
    K kubmin
    Jul 13, 2017, 9:19 AM

    Hi there,

    I am using the Fullscreen Slider plugin and I want visitors to be able to select and copy text from a page using the plugin. Selecting text is super easy, but when a user releases the mouse button (mouseup), it triggers the 'Slide on Page click' and moves to the next slide. This would leave the user not being able to copy the text.

    ISSUE: http://borissmeenk.nl/commonplace/lumiere (second slide, text on the left)

    Any ideas on how to let the user copy the text?

    I tried some stuff like giving the text the class 'text' in combination with this jQuery code (to stay on the same slide ) without any luck:

    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
        jQuery( ".text" ).hover(function() {
            console.log('selecting ...');
            jQuery.fn.fullpage.moveTo(0,0);
        });
    });
    

    Would love to hear your ideas!
    Thanks,

    Boris.

    EDIT: which code sets the 'Slide on page Click' to false? I tried:

    jQuery.fn.fullpage.setAllowScrolling(false);
    

    but that doesn't work.. I think I can write a little hack if I know how to turn on and off the 'Slide on page Click' with jQuery.

    General Discussion

  • [Fullscreenslider] start on slide 2
    K kubmin
    Jun 6, 2017, 9:50 AM

    Figured it out 30 minutes later...
    check the slide ID and put it in correctly.

    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
    jQuery.fn.fullpage.silentmoveTo(0,1);
    });

    for example.

    Thanks :)

    General Discussion

  • [Fullscreenslider] start on slide 2
    K kubmin
    Jun 6, 2017, 9:01 AM

    Hi all!

    I have a question regarding the fullscreen slider addon.
    I would like to start (or move to) at the second slide when a page is loaded. Tried out this

    jQuery(document).ready(function(){
        jQuery.fn.fullpage.moveTo(2);
    
    });
    

    piece of code, but it is not working. Any ideas on how to fix this?

    Thanks a lot! Great plugin :)

    General Discussion

  • Disable the sound on a video when your not viewing it
    K kubmin
    May 29, 2017, 7:45 PM

    Okay thanks for your reply, excited for the future ;)

    Cheers,

    Kubmin.

    Addons

  • Disable the sound on a video when your not viewing it
    K kubmin
    May 27, 2017, 8:50 PM

    Any progress on this issue?

    I also am using the fullscreen slider and when the viewer proceeds from slide one to slide two, slide one keeps playing the audio from the video in the first slide.

    Any ideas on how to do this with jQuery?

    Cheers, great plug-in so far!

    Kubmin.

    Addons

  • Shortcode hyperlink
    K kubmin
    Feb 20, 2017, 10:12 AM

    figured it out!

    In case someone else was wondering:

    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
    jQuery( "div class here" ).wrap( "<a href='link here'</a>" );
    jQuery("br").remove();
    });

    General Discussion

  • Shortcode hyperlink
    K kubmin
    Feb 19, 2017, 9:32 AM

    Hi there!

    I have a question regarding shortcodes. I have managed to get a tooltip mouseover by installing a plugin called 'infopopup'. This plugin generates a shortcode which calls some text with a mouseover effect. Now I want to make this piece of shortcode a hyperlink, so that when a user clicks the shortcode a new page within the website will load.

    Any ideas how to do this? I tried embedding the shortcode withing a <a href>, but that did not work.

    Thanks as always for the great support & theme.

    All the best,

    B.

    General Discussion

  • Images appear on link hover II
    K kubmin
    Feb 17, 2017, 12:30 AM

    Did you figure this out? Very interested :)

    General Discussion

  • White background body while loading website
    K kubmin
    Nov 22, 2016, 9:04 AM

    Cheers, thank you!
    The piece of code seemed to work, thanks a lot!

    Boris.

    General Discussion

  • White background body while loading website
    K kubmin
    Nov 18, 2016, 12:52 PM

    Hi there,

    Awesome theme, but I have a question regarding the white body when loading the website for the first time.
    I am working on this website: http://radiation.digital/, when you visit it for the first time the background of the
    Gridder area is white, after a second or so it becomes black, which is the colour that I want. Now my question is:
    How do I get rid of the white background when the page loads? My goal is to make it black. Thanks!

    Kind regards,

    Boris.

    General Discussion

  • Custom div (link) blocking content / captions font size
    K kubmin
    Feb 15, 2016, 1:14 PM

    Hi there!

    Thanks for your reply!
    I don't think I explained it clearly. This is the website I'm talking about: http://borissmeenk.nl/

    In mobile view it shows the index page perfectly, but when I'm navigating to the contact page, it shows a blank page with just the links.

    Any ideas?

    Thanks for your help!

    With kind regards,

    Boris.

    General Discussion

I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com

Before you post:
  1. When using a WordPress Cache plugin, disable it or clear your cache.
  2. Update Lay Theme and all Lay Theme Addons
  3. Disable all Plugins
  4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

This often solves issues you might run into

When you post:
  1. Post a link to where the problem is
  2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
  3. If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
laytheme.com
  • Login

  • Don't have an account? Register

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