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

    Is there a way to remove the shop info that appears in the colored bar at the very top (actually it would be great to remove the info AND the bar altogether) from all non-shop pages and the home page? I would like it to just show up on the shop base and all shop-related pages only. Thank you for your help!

    #89970

    Hi,

    Open header.php and find this code

    $position = avia_shop_banner();
    avia_banner($position); // avia_banner functions located in functions.php - creates the notification at the top of the site as well as the shopping cart

    Replace it with

    if ( is_shop()) {
    $position = avia_shop_banner();
    avia_banner($position); // avia_banner functions located in functions.php - creates the notification at the top of the site as well as the shopping cart
    }

    Regards,

    Ismael

    #89971

    It worked! Thank you Ismael! I appreciate your help!

    — Cathe

    #89972

    Hi Cathe,

    Glad that I could help. :) Marked this as resolved. :)

    Cheers,

    Ismael

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

The topic ‘Remove top shop info bar from pages’ is closed to new replies.