Justin McGuire
Forum Replies Created
-
I believe I’ve been able to resolve this issue, thanks!
Forum: Plugins
In reply to: [Members - Membership & User Role Editor Plugin] Plugin ConflictResolved
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Plugin ConflictResolved
Forum: Plugins
In reply to: [Max Mega Menu] Button element “mega-close” issueThe text you show is missing on my live site.
https://imgur.com/a/libZxgJForum: Plugins
In reply to: [Max Mega Menu] Button element “mega-close” issueThanks, I kind of figured it must be an odd Genesis Issue.
I took a screenshot of the Tools page as well as of the Chrome Dev Tools showing the HTML structure being output to the screen on my live site. I did try the “Clear CSS Cache” button on the tools page as well as cleared all the server side caches just to make sure.
https://imgur.com/a/vqqnixnForum: Plugins
In reply to: [Max Mega Menu] Button element “mega-close” issueSome additional info. I was initially doing all my testing using the program Local but now when I push a copy of my site up to my live hosting environment when I inspect the structure of the HTML I don’t see a “<button class=”mega-close”></button>” element at all.
Forum: Plugins
In reply to: [Genesis Simple Sidebars] PHP 8.2 ErrorNick,
This is great news! Thanks for for taking a look and finding a fix so quickly!
Forum: Plugins
In reply to: [Genesis Simple Sidebars] PHP 8.2 Errora:2:{i:0;s:20:”__return_empty_array”;s:18:”individual-teacher”;a:2:{s:4:”name”;s:18:”Individual Teacher”;s:11:”description”;s:0:””;}}
Forum: Plugins
In reply to: [WPS Hide Login] action ‘login_head’ no longer workingThanks this code does work when in my theme’s functions.php file. I have a plugin that is basically doing the same thing code wise but it stops working after activating WPS Hide Login so I’ll have to investigate a bit more.
Thanks for the follow up. When looking at the slider preview generated by the Gutenberg Block everything looks like it was contained in an iframe. After some digging in the plugin I found a filter which appears to be responsible for dropping the styling into the iframe.
add_filter('metaslider_preview_styles', array($this, 'preview_styles'));Tapping into that has allowed me to add my custom styling to the preview iframe and allows the backend Gutenberg block to match the front end now. I think this should resolve my issue unless there is some reason to avoid using that filter.
Forum: Plugins
In reply to: [Genesis Blocks] Unregister SectionWhile you’re bringing that issue to the team you might want to also bring their attention to the issue with the section
Monochrome Title and Text Columns Darknot being removed using thegenesis_blocks_unregister_layout_component()method. Below is the code I was using to find and unregister all the sections before adding in my custom ones but for some reason that one won’t unregister. The only thing I can notice that is unique about it is the key for that section has “(dark)” at the end and it’s the only section / layout that has parenthesis in the key.// Remove sections $sections = genesis_blocks_get_sections(); foreach ($sections as $value) { genesis_blocks_unregister_layout_component( 'section', $value['key'] ); }Forum: Plugins
In reply to: [Genesis Blocks] Unregister SectionAhh thank you for clarifying. Hopefully the team can either expand it to include layouts or provide us with another filter specifically for layouts. Thank you!
Forum: Plugins
In reply to: [Genesis Blocks] Unregister SectionThis seems like it’ll work but I am running into an issue where I can seem to white list the custom layouts I’m loading.
This is what I’ve got in my functions.php file. The custom layouts load fine until I add the filter then poof they get pulled out too.
function vi_custom_layouts() { // Ensure a proper version of Genesis Blocks is active before continuing. if ( ! function_exists( 'genesis_blocks_register_layout_component' ) ) { return; } // Tango genesis_blocks_register_layout_component( [ 'type' => 'layout', 'key' => 'vi_tango_home_layout', 'name' => 'Tango Homepage', 'content' => "", //Some blocks here 'category' => [ 'business', ], 'keywords' => [ 'homepage', 'home', 'landing', ], 'image' => '', // Image here 'collection' => [ 'slug' => 'tango-homepage', 'label' => 'Tango Homepage', ], ] ); } add_action( 'init', 'vi_custom_layouts', 12 ); add_filter( 'genesis_blocks_allowed_layout_components', function( $layouts ) { return [ 'vi_tango_home_layout' ]; } );Forum: Plugins
In reply to: [WooCommerce] wc_get_order issue returns unexpected resultsAny chance someone else has seen this kind of behavior?
Forum: Plugins
In reply to: [Genesis Connect for WooCommerce] Fatal Error@modernnerd No worries, I’ve gone ahead and reverted to the older GC 0.9.9 and everything is working great now. I’ll just keep an eye out for Woo 3.3.x. Thanks!