• B
    bjoernatwork

    You could go the other way around. Check if there is content, if yes show the content, otherwise show grid.

    /* if content is not empty, show it. else show laygrid */
    if(get_the_content() != '' ) {
        the_content();
    } else {
        the_laygrid();
    }
    

    I am just a user. So maybe the dev-team has a better idea for a conditional tag. The other way around would be better for fallback. I wrap my function with a check if laygridder is a active plugin otherwise show the_content (code is here)


    If you have Advanced Custom Fields or similar stuff installed you could also do a conditional field in the backend post editor what editor should be escaped in the frontend.

    posted in General Discussion read more
  • B
    bjoernatwork

    Hey @f-albert-work ,

    same area would be the handling of real h1, h2 elements. I don't see the option to determine if I want a <h1> a <h2> etc. Unlike the regular wordpress editor (picture 1). LayGridder justs adds every headline as <h1>

    1_1553700868825_Bildschirmfoto 2019-03-27 um 16.32.25.png

    Right now I just edit them in the code( picture 2), but that's not the best way, especially for non-developers when I brief my client to change text.

    0_1553700868825_Bildschirmfoto 2019-03-27 um 16.31.55.png

    Here's my proposal. In the type editor give a choice to choose the tag. Fallback would still be <p> for parapraph and <h1> for every headline. But for users who want to can add <h2>, <h3> and more

    0_1553701296207_sfsdfsdfs.png

    Kind regards

    posted in Feature Requests read more
  • B
    bjoernatwork

    Hey @f-albert-work
    it was simple image elements, but it stopped happening right now (no updates made), so I can't reproduce. I will keep a look, but for now it's back to normal.
    Thank you

    posted in General Discussion read more
  • B
    bjoernatwork

    Hey @f-albert-work,
    thank you for your reply.

    That's the URL. The different Port doesn't matter, with all way :8888 I get the same error (see below)

    0_1553597176778_Bildschirmfoto 2019-03-26 um 11.45.34.png

    1_1553597176778_Bildschirmfoto 2019-03-26 um 11.45.43.png

    Best
    Björn

    posted in General Discussion read more
  • B
    bjoernatwork

    I would like to have a opportunity to give text styles ONLY class names and do all the styles in my theme. No text css from the plugin.

    Right now I have to add my fonts to the gridder (which are already in the theme) and do all the styling for h1/h2/h3 manually, even though my theme supports them native. Or am I missing something?

    posted in Feature Requests read more
  • B
    bjoernatwork

    The topic is pretty old, but I created to a account to report this problem too. The WordPress Admin gets a wrong image URL when saved. Only for displaying the images in the admin area. Frontend works fine.

    I'll get this URL structure (just like in the screenshots by @f-albert-work )

    http://localhost:3000/zwangb//localhost:3000/zwangb/wp-content/uploads/2019/03/papier_test_4-1-e1553591426137.jpg 404 (Not Found)

    It all works, it's just a display error but without the images you can't really arrange the images locally.

    posted in General Discussion read more