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

E

ernestobellei

@ernestobellei
About
Posts
9
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Add page loaded flag
    E ernestobellei

    Hi @arminunruh ,

    I don't understand your answer :))
    Is it about the loaded class?

    Best,
    Ernesto

    Feedback

  • Add page loaded flag
    E ernestobellei

    Hi @arminunruh and @mariusjopen,

    Any chance to have this class implemented?
    p.s. thanks for the shortcode fix :))

    Best,
    Ernesto

    Feedback

  • Shortcodes disappear after page resize
    E ernestobellei

    @mariusjopen @arminunruh

    Any news about this fix?

    Best :)
    Ernesto

    Bug Reports

  • Add page loaded flag
    E ernestobellei

    Hi, @arminunruh

    Sorry for the delayed answer but I missed the notification :))

    I wrote a marquee shortcode for WordPress and I would like to init it as soon as the DOM is loaded (even using Ajax). By now I’m using a mutation observer that listens on DOM add/change events and detect whether the shortcode HTML has been loaded, but checking for a class would be a lighter and cleaner solution.

    Having a .loaded class (or data-attribute) would be useful to avoid double check for mobile and desktop layout gridder too.

    Best,
    Ernesto

    Feedback

  • Shortcodes disappear after page resize
    E ernestobellei

    Hi @mariusjopen

    Ok, maybe I found something.
    It works only if you don't have a custom phone layout :)

    I created 4 pages:
    → A page with a DEFAULT wordpress shortcode with a custom phone layout → DOESN'T WORK
    → A page with a DEFAULT wordpress shortcode without a custom phone layout → IT WORKS

    → A page with a MY wordpress shortcode with a custom phone layout → DOESN'T WORK
    → A page with a MY wordpress shortcode without a custom phone layout → IT WORKS

    The problem comes out only when a custom phone layout is active.

    Best :)
    Ernesto

    Bug Reports

  • Shortcodes disappear after page resize
    E ernestobellei

    HI @mariusjopen,

    do you mean the .zip file?

    The problem can be recreated also using a wordpress default shortcode (I inserted a [video] inside the page I sent you).

    Best,
    Ernesto

    Bug Reports

  • Shortcodes disappear after page resize
    E ernestobellei

    Hi @mariusjopen

    It happens also when changing from desktop to mobile.

    case 1: loaded desktop version (it works) → then resize to mobile (it works) → then back again to desktop (stop working)

    case 2: loaded mobile version (it works) → then resize to desktop (it works) → then back again to mobile (stop working)

    I sent you a private message with a link to the page.

    Best!

    Ernesto

    Bug Reports

  • Shortcodes disappear after page resize
    E ernestobellei

    Hi,

    I have some shortcodes on my page which disappear on page resize. (In laytheme only. Gridder plugin is fine :)) )

    Video link →

    It seems to be an error on shortcodes append because (as you can see in the linked video) the #lay-shortcode-container is empty after the first append.

    Thank you in advance,
    Ernesto Bellei

    Bug Reports

  • Add page loaded flag
    E ernestobellei

    Hi,

    It would be useful to have a flag (es a class / meta 'is-loaded') when ajax / DOM loading ends.

    Thanks you,
    Ernesto

    Feedback
  • Login

  • Don't have an account? Register

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