How do I create a filter to hide the One Click Accessibility plugin button in WordPress?

Get current page url and simply apply display none css on button based on current page inside wp_footer action for woocommerce pages you can use predefined functions like is_cart(),is_checkout()..(see code) just put below code inside your child theme functions.php file function hide_oneclick_toolbar() { if(is_cart() || is_checkout()) { ?> <style>#pojo-a11y-toolbar{display:none!important;}</style> <?php } } add_action(‘wp_footer’,’hide_oneclick_toolbar’); **hide by … Read more

Add credit to get_custom_header in alt

Use this for the alt=”” attribute on the custom header <img> tag … alt=”<?php $attachment_id = get_custom_header()->attachment_id; $alt = get_post_meta( $attachment_id, ‘_wp_attachment_image_alt’, true ); if ( count( $alt ) ) echo $alt; ?>” /> … and then just edit the media attachment and add the alt text.

All Images not calling alt text

You’re not outputting any attributes besides the src and class. Try using the_post_thumbnail() instead. <?php the_post_thumbnail( ‘post-thumbnail’, array( ‘class’ => ‘img-responsive’ ) ); ?> This will include all attributes and supports responsive image markup by default.