Steve Jones
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Conference Schedule] error/warningHi @erichbuhler,
We will look into that error and push out a fix. It look like you have debugging enabled which is outputting that message. If in turn off debugging it should go away.
Thanks!
Forum: Plugins
In reply to: [Spectra - WordPress Gutenberg Blocks] Generate styles on a different pageThis solution no longer works as the functions used are now deprecated. You can now use the Assets API to achieve this.
add_action( 'wp_enqueue_scripts', 'enqueue_scripts_by_post_id' ); function enqueue_scripts_by_post_id() { // Create Instance. Pass the Post ID. $post_assets_instance = new UAGB_Post_Assets( $post_id ); // Enqueue the Assets. $post_assets_instance->enqueue_scripts(); }
https://ultimategutenberg.com/docs/assets-api-third-party-plugins/
- This reply was modified 3 years, 7 months ago by Steve Jones.
Forum: Plugins
In reply to: [WP Conference Schedule] Session Page not FormattingSorry that will not work on all sessions. Try something like this.
.single-wpcs_session .wpcs_session{ padding: 50px; }
Forum: Plugins
In reply to: [WP Conference Schedule] Session Page not FormattingHi @crazycyclist,
It looks like you will need to add some CSS styles to you theme to format the page. You should be able to add this to the Customizer in the CSS section.
.post-1384{ padding: 50px; }
Hope that helps!
Hi @jinsley8, currently there is not a setting to ignore draft posts.
@darkhousedevelopment, The pull requested has been merged in and updated here on the plugin repo.
Thanks,
Steve
Hi @sprialowner, Have you tried updating the page/post after making the code changes? It should then update the counts.
Hi @oldrup,
I’ve create a low priority issue in our GitHub to address the deprecation in future versions of PHP. Thanks for identifying and sharing this warning with us!
You can track progress on this issue on our GitHub.
https://github.com/equalizedigital/accessibility-checker/issues/33Steve
Hi @oldrup,
I can confirm this is a bug. I have created an issue in GitHub for this and we will work on a fix. You can track the progress on our GitHub page.
https://github.com/equalizedigital/accessibility-checker/issues/32
Thanks,
Steve
No problem @oldrup. Happy to help out and great job focusing on make your site more Accessible. ??
They are two different checks. This is the slug for Missing Form Label: missing_form_label
Sorry it looks like I had the wrong filter set. Try this.
add_filter('edac_filter_register_rules','my_rule_filter'); function my_rule_filter($rules){ $rules = edac_remove_element_with_value($rules, 'slug', 'color_contrast_failure'); $rules = edac_remove_element_with_value($rules, 'slug', 'empty_form_label'); $rules = edac_remove_element_with_value($rules, 'slug', 'broken_skip_anchor_link'); return $rules; }
After adding this filter the post will need to be saved again to update the error count of the summary tab.
Do you see any of the excluded rules in the details tab?
Hi @oldrup,
I’ve update the documentation to include the rule parameters such as the slugs you’ll need to filter out specific rules. I also update the documentation to have the updated function prefixes so you’ll want to use the updated example code rather then what you have pasted above. The slug in the case don’t pertain to a specific URL and will filter rules globally. Below is an example on how to filter out the rules you listed.
add_filter('edac_filter_rules','my_rule_filter'); function my_rule_filter($rules){ $rules = edac_remove_element_with_value($rules, 'slug', 'color_contrast_failure'); $rules = edac_remove_element_with_value($rules, 'slug', 'empty_form_label'); $rules = edac_remove_element_with_value($rules, 'slug', 'broken_skip_anchor_link'); return $rules; }
Thanks,
Steve