Home Forums WoodMart support forum Problem with Promo Banner after the update TO 3.4

Problem with Promo Banner after the update TO 3.4

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #102237

    SamaWeb
    Participant

    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

    #102272

    Hello,

    Now Promo banner works properly now. That was a bug double open link issue and now it has been fixed.

    Best Regards

    #102275

    SamaWeb
    Participant

    so what i need to do now ?

    #102286

    Artem Temos
    Keymaster

    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.

Viewing 4 posts - 1 through 4 (of 4 total)