-
hb
You could set a boolean to show/hide Laygridder in PHP with the following:
$gridder_json = get_post_meta( $id, '_gridder_json', true ); $obj = json_decode($gridder_json); $show_laygridder = (!empty($obj->cont)) ? true : false;
If the variable $show_laygridder is true, show Laygridder:
if($show_laygridder): the_laygrid($id); endif;
It's just a simple solution, it won't catch empty text elements etc.
-
hb
I'm working on some custom elements and having trouble retrieving values from sub-fields of a 'group' field type. They don't seem to save within the editor. Are there any working examples?
I'm using 1.1.5
Thanks!
-
hb
When uploading webfonts via woff is there a way to create font family styles for <strong> and <em> elements within a 'Paragraph' text format? By default the bold and italic elements appear as 'faux-bold' and 'faux-italic'.
I've tried setting bold and italic styles via the 'Character' text format but this leads to conflicts with color values (e.g. <span class="_Italic"> doesn't inherit the color of a parent <a> element).
I can set proper font-style and font-weight linking when I add webfonts via a <link> tag, but if it's possible via woff upload that would be a lot simpler for clients working on the site.
Thanks!
-
hb
Update: it seems the Classic Editor plugin is required for Laygridder to show in place of the default Gutenberg editor. Testing in Wordpress 5.0-beta2-43862.
-
-
hb
I updated to Wordpress 5.0-beta1-43832 and deactivated and reactivated Laygridder. The Gridder editor is now appearing on Posts and Pages (in place of the Gutenberg editor).
On the Laygridder options page there still aren't any location options or the option to hide/show the default editor.
-
hb
I'm testing the Wordpress 5.0 beta release. Is Laygridder compatible with the Gutenberg editor? I've got Laygridder version 1.1.2 installed. I can't find the location options for where Laygridder appears, or the option to hide the default editor.
-
-
hb
I've just upgraded from the beta version to 1.0 and the Laygridder settings pages are no longer available, only the License Key page:
When I try to access the pages directly (e.g. /wp-admin/admin.php?page=laygridder-textformats) it gives the error message 'Sorry, you are not allowed to access this page.'