Michelle Curran
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Address Encoder] Encode email addresses with an imageThank you Till. If I end up needing to do this, I definitely will. Would the premium version encode an email with an image?
I don’t know the exact answer to your question, but if anyone finds this helpful, this worked for me for correcting the issues relating to the new container class on block group….
The wp-container-id class can be removed by adding this code, which will remove it for every block, then add it back in for every block except the group block:
remove_filter( 'render_block', 'wp_render_layout_support_flag', 10, 2 ); add_filter( 'render_block', function( $block_content, $block ) { if ( $block['blockName'] === 'core/group' ) { return $block_content; } return wp_render_layout_support_flag( $block_content, $block ); }, 10, 2 );
found that here:
https://fullsiteediting.com/lessons/how-to-remove-default-block-styles/#h-how-to-remove-the-inline-styles-on-the-front- This reply was modified 2 years, 11 months ago by Michelle Curran.
@marcdk, this is also causing major problems for me, I cannot find anything in the documentation to figure out how to deal with this, and cannot proceed with the 5.9 upgrade on my client sites until I can figure this out.
The automatic wp-container-id class that is adding to all my group blocks is overriding margins that I have already set for the group blocks in my patterns, and is breaking a good number of them all over the site. My custom theme is already dealing with the layout and margins for my group blocks, I need to disable this, it is uncontrollable with the inclusion of the id in the class!!!
That’s great news Tobias, thank you for the response. For now I will continue with shortcode pattern blocks for each table :). Looking forward to your 2.0 release.
Forum: Fixing WordPress
In reply to: Query Loop Block – Inherit query from templateThank you, @t-p. That documentation that you have directed me to review is for template pages. I am referring to the QUERY LOOP BLOCK. It has a toggle ‘inherit query from template’. I cannot find any information on how that works ‘under the hood’.
I have read this documentation:
https://wptavern.com/query-loop-the-ins-and-outs-of-one-of-wordpress-5-8s-most-powerful-featuresThere is a mention of the ‘inherit query from template’ in both of those, but it doesn’t address the questions that I have. I have re-read that documentation a few times and am still a bit confused by the intent of that toggle.
- This reply was modified 3 years, 4 months ago by Michelle Curran.
- This reply was modified 3 years, 4 months ago by Michelle Curran.
Hi Ryan,
Sorry for the delay. Did you run your test in a Safari browser? It works for me in Chrome and Firefox, but not in Safari. I am attempting to create a screen recording for you so you can see what is happening. It does appear that the block is saving the block name, but it isn’t saving the post and therefore it doesn’t display. I private messaged you on slack (I hope that is ok) with some screenshots and a screen recording.- This reply was modified 3 years, 5 months ago by Michelle Curran.
- This reply was modified 3 years, 5 months ago by Michelle Curran.
- This reply was modified 3 years, 5 months ago by Michelle Curran.
Forum: Plugins
In reply to: [Block Lab] Pantheon Migration IssueI received help on this from Ryan Kienstra on GenesisWP Slack. Leaving this in case it helps somebody else on Pantheon hosting.
After backing up the environment, and making changes to hooks or api, I used terminus and WP-CLI commands for the migration on test and live:
terminus wp [site].[env] -- shell
( new Block_Lab\Admin\Migration\Post_Type( 'block_lab', 'block-lab', 'block_lab', 'genesis_custom_block', 'genesis-custom-blocks', 'genesis_custom_blocks' ) )->migrate_all(); ( new Block_Lab\Admin\Migration\Post_Content( 'block-lab', 'genesis-custom-blocks' ) )->migrate_all();
Each of those commands will show whether it succeeded:
array(2) { 'successCount' => int(2) 'errorCount' => int(0) }
- This reply was modified 3 years, 8 months ago by Michelle Curran.
- This reply was modified 3 years, 8 months ago by Michelle Curran.