cazuma
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Customize Navigation Block Hamgurger IconFor those looking for a way to replace the navigation close button icon, using
<svg xmlns(.*?)
in place of<svg width(.*?)
in thepreg_replace
suggested by @sacredclown worked nicely for me.Forum: Plugins
In reply to: [Meta Box] Fields on side bar instead of normal positionOk, dragging didn’t do it, but clicking the up/down arrows did move the panel back and forth between main and side areas. Thanks for the tip!
Forum: Plugins
In reply to: [Meta Box] Fields on side bar instead of normal positionHello,
Thank you for the answer.
Will try disabling all other plugins and see what happens.
But I think you misunderstood what I said. I’ve used ‘context’ => ‘normal’ and the fields are showing on the side, not below the main area.
Thanks again.
Forum: Plugins
In reply to: [SVG Support] SVG in WP block editorHi Benbodhi,
Good to know you have plans for Gutenberg blocks!
Actually, my issue at the moment is that I am developing some blocks myself and would like to apply your plugin’s svg substitution in my custom blocks’ previews in the editor. Is there some jsx function I can put the image markup through that would trigger the conversion in this context?
Thank you for your time.
Forum: Plugins
In reply to: [JC Submenu] Product attribute populated menuOk, I figured it out by myself. After checking “Enable Archives” in the attribute’s options, the corresponding taxonomy became available in the plugin’s options.
Forum: Plugins
In reply to: [Manage Notification E-mails] Emails are still sentsame here (2)
Forum: Plugins
In reply to: [Contact form 7 TO API] Getting radio/checkbox valuesMy checkboxes are returning 1 always, no matter if they are checked or not.
Forum: Plugins
In reply to: [Menu Icons by ThemeIsle] Can Menu Icons inline the SVG?I just managed to do it by myself. Include this code in your theme’s functions.php
add_filter('menu_icons_item_title', 'mytheme_menu_icons_item_title', 10, 4); function mytheme_menu_icons_item_title($title_with_icon, $id, $meta, $title) { if (strrpos($meta['url'], '.svg') !== FALSE && strlen($meta['url']) - strrpos($meta['url'], '.svg') == 4) { $svg = file_get_contents($meta['url']); $svg = substr($svg, strpos($svg, '<svg ')); // remove file headers $title_with_icon = $svg . substr($title_with_icon, strpos($title_with_icon, '<span')); } return $title_with_icon; }
Hope it helps!