Problem with Promo Banner after the update TO 3.4
-
Hello there,
I’m using Promo Banner for all my pages and if you check the attached img, its Promo Banner with some writing + button so before the update you can press anywhere on the img and you will be redirect to the page but after the update your have to press on the button only.
any suggestion?
thanks
Hello,
Now Promo banner works properly now. That was a bug double open link issue and now it has been fixed.
Best Regards
so what i need to do now ?
You need to edit the file wp-content\themes\woodmart\inc\shortcodes\promo-banner.php
and change the code
if ( $link && $attributes['url'] && empty( $btn_text ) ) {
to this one
if ( $link && $attributes['url'] ) {
http://prntscr.com/m80rmn
and this part
<div id="<?php echo esc_attr( $id ); ?>" class="promo-banner<?php echo esc_attr( $class ); ?>" <?php if( $link && $attributes['url'] && empty( $btn_text ) ) echo ( $onclick ); ?> >
to this one
<div id="<?php echo esc_attr( $id ); ?>" class="promo-banner<?php echo esc_attr( $class ); ?>" <?php if( $link && $attributes['url'] ) echo ( $onclick ); ?> >
http://prntscr.com/m80rs0
We will return this in our next update. Sorry for the inconvenience.