tschortsch
Forum Replies Created
-
Forum: Plugins
In reply to: [Bootstrap Blocks] WordPress 7 compatibilityGood news everyone! I released v6.0.1 of the plugin which is fully compatibility with WordPress 7.0.
To achieve this I had to set the minimum required WordPress version of the plugin to 6.8.
Forum: Plugins
In reply to: [Bootstrap Blocks] WordPress 7.0 ready versionSee my answer here: https://ww.wp.xz.cn/support/topic/wordpress-7-compatibility/. I really hope I’ll find the time to update the plugin but I can’t promise anything :/
Forum: Plugins
In reply to: [Bootstrap Blocks] WordPress 7 compatibilityAs I’m not working with WordPress anymore since many many years it gets harder for me to keep up with the changes of the WordPress itself and update the plugin accordingly. If I find the time I’ll try my best to update it but I can’t promise anything.
If there is somebody out there which would be able to help me out with a PR to keep the plugin up to date I would be very happy. Sorry for this (not ideal) answer :/
Forum: Plugins
In reply to: [Bootstrap Blocks] A New Class to Button BlockHi @foldesistudio. You can add custom button styling options with the
wpBootstrapBlocks.button.styleOptionsJavaScript hook (see: https://github.com/liip/bootstrap-blocks-wordpress-plugin#wpbootstrapblocksbuttonstyleoptions).In your case this would look something like this:
function outlinePrimaryStyleOption( styleOptions ) { styleOptions.push( { label: 'Outline primary', value: 'outline-primary', bgColor: '#ff0000', textColor: '#ffffff', } ); return styleOptions; } wp.hooks.addFilter( 'wpBootstrapBlocks.button.styleOptions', 'myplugin/wp-bootstrap-blocks/button/styleOptions', outlinePrimaryStyleOption );Hope this helps!
Forum: Plugins
In reply to: [Bootstrap Blocks] Vertical gutters not applied in backendHi @chrisschrijver. That’s correct, the vertical gutters as well as other styling options are not displayed in the backend. The main reason behind that is that we struggled to adapt the backend styling to work in different WordPress versions. During the 5.x releases almost every minor release had a breaking change in the editor layout which made it really hard to do custom styling for our blocks. That’s why we only styled the most important parts in the backend (eg. rows and cols).
Forum: Reviews
In reply to: [Rokka Integration] Not quite perfectHey @sandrowuermli. We released version 5.1.0 of the plugin which addresses a bug related to the favicons. The site_icon stacks which are used for favicons weren’t created on rokka side which resulted in not displaying the favicons at all. Could you try updating the plugin and sync the stack again in the settings? Maybe your issue was also related to that.
- This reply was modified 3 years, 3 months ago by tschortsch.
Forum: Reviews
In reply to: [Rokka Integration] Not quite perfectHi @sandrowuermli. Thanks for your feedback. Sorry to hear that! We will look into the issue and come back to you as soon as we have more information how to solve it.
Forum: Plugins
In reply to: [Bootstrap Blocks] Column OffsetHi @bajweb. A column offset is not directly supported via the blocks UI but you can always set arbitrary classes in the Advanced section (Advanced > ADDITIONAL CSS CLASS(ES)) of the column block. But for your use case it would probably make more sense to use the alignment options of the row block (which sets the flex classes accordingly).
Forum: Plugins
In reply to: [Bootstrap Blocks] Adding Additional ColumnsHi @avonhaden. Right now it’s sadly not possible to add custom breakpoints. There’s a lot of conditional logic behind those breakpoints (UI- and Styling-wise) which makes it pretty hard to implement such a feature. Sorry that I can’t give you a better answer for that :/
Forum: Plugins
In reply to: [Bootstrap Blocks] Block Naming Change RequestWe just released version 4.2.1 of the plugin with the described change.
Thanks for your kind words. What you probably could do to achieve what you want is overwriting the
button.phptemplate inside your theme and do the requested logic in there (see https://github.com/liip/bootstrap-blocks-wordpress-plugin#templates for documentation)?Forum: Plugins
In reply to: [Bootstrap Blocks] Block Naming Change RequestHi @jonroc804. Thanks for your feedback! We actually also though about naming the blocks differently in the first place but it somehow looked weird 😉 But your request is very valid and useful for the clients so we will rename the blocks in the next release again to
<Blockname> (Bootstrap). Hope that’s fine for you?Forum: Plugins
In reply to: [Bootstrap Blocks] Restrict access to Bootsrap BlocksThe locking feature should be enabled by default for all blocks. So yes, it should be available for the Bootstrap blocks as well.
Forum: Plugins
In reply to: [Bootstrap Blocks] Restrict access to Bootsrap BlocksHi @wpzoneman. Hmm since the whole editor is written in JavaScript and therefore rendered on the client-side it’s probably not that easy to restrict certain options for certain roles. Of course it would be possible to hide some of those options as @comonist34 wrote but security-wise this is not really safe. What should additionally be restricted is the “save” call to the API which is triggered by the editor itself but I think Gutenberg doesn’t offer a simple way to do that.
What could be implemented are block-level permissions with which it would be possible to define which role should see which blocks but this doesn’t really help your use case.Forum: Plugins
In reply to: [Bootstrap Blocks] Support for Order Classes?Hi @justinwyllie. Order classes are not directly supported with an UI by the plugin. But you can always set any other classes (which aren’t supported in the UI) directly in the “Advanced section > Additional CSS class(es)” option of the block itself. By default we add those classes to the block so they will be respected in the frontend.